Skamadix Posted February 5, 2016 Share Posted February 5, 2016 The convert application for IPB 4 is throwing this error on the final conversion step (after entering DB credentials) Class 'IPS\convert\Software\Forums\Xenforo' not found After looking through some of the other converter files, it seems all of the other sources use "namespace IPS\convert\Software\Core;" however Xenforo is the only one that uses the "namespace IPS\convert\Software\Forums;" Not sure if the above has anything to do with this, especially since, as we see above, it is actually calling the correct path. Link to comment Share on other sites More sharing options...
Skamadix Posted February 5, 2016 Author Share Posted February 5, 2016 SOLVED: I had to rename all the XenForo.php files to Xenforo.php I assume the same issue will happen with MyBB.php (it will need to be renamed to Mybb.php) Link to comment Share on other sites More sharing options...
AndyF Posted February 5, 2016 Share Posted February 5, 2016 Thank you for bringing this to our attention. I've left a note for a developer. Link to comment Share on other sites More sharing options...
Skamadix Posted February 5, 2016 Author Share Posted February 5, 2016 Another note: sources\Software\Core\Xenf(F)oro.php line 1437: Should be "'members_pass_salt' => $salt," NOT "'password' => $salt," I assume... Link to comment Share on other sites More sharing options...
Stuart Silvester Posted February 5, 2016 Share Posted February 5, 2016 51 minutes ago, Charles Iszard_77085 said: Another note: sources\Software\Core\Xenf(F)oro.php line 1437: Should be "'members_pass_salt' => $salt," NOT "'password' => $salt," I assume... Hi, I don't see the code you are referencing, we assign the hash/salt here on line 718.. 'password' => $hash, 'conv_password_extra' => $salt, Link to comment Share on other sites More sharing options...
Skamadix Posted February 5, 2016 Author Share Posted February 5, 2016 7 minutes ago, Stuart Silvester said: Hi, I don't see the code you are referencing, we assign the hash/salt here on line 718.. 'password' => $hash, 'conv_password_extra' => $salt, Are we referencing the same file? Version 4.1.2 File: sources\Software\Core\Xenf(F)oro.php My Line 718 is actually blank. Line 719 is "$post = preg_replace( '#\(.+?)\[/media\]#i', 'http://www.youtube.com/watch?v=$1', $post );" Line 1435 originally reads "'password' => $hash," and the IPB 4 DB does not have a password field, just the members_pass_salt Link to comment Share on other sites More sharing options...
Stuart Silvester Posted February 5, 2016 Share Posted February 5, 2016 16 minutes ago, Charles Iszard_77085 said: Are we referencing the same file? Version 4.1.2 File: sources\Software\Core\Xenf(F)oro.php My Line 718 is actually blank. Line 719 is "$post = preg_replace( '#\(.+?)\[/media\]#i', 'http://www.youtube.com/watch?v=$1', $post );" Line 1435 originally reads "'password' => $hash," and the IPB 4 DB does not have a password field, just the members_pass_salt Please submit a ticket and we'll take a look for you. Link to comment Share on other sites More sharing options...
Skamadix Posted February 5, 2016 Author Share Posted February 5, 2016 1 minute ago, Stuart Silvester said: Please submit a ticket and we'll take a look for you. There is no issue - I was just reporting the changes to the code I needed to make to get the script working. Thank you very much for being so proactive about this though Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.