M. Smith Posted April 30, 2013 Share Posted April 30, 2013 My server (1and1.com) just upgraded from MYSQL 4 to 5 (mandatory), and now my shop is not working. I have an older and newer version of CC and both are giving me a blank screen. Any thoughts? Melinda :-D Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 30, 2013 Share Posted April 30, 2013 There will be errors logged somewhere. Have the folks at 1and1 look at them. CC is compatible with MySQL 5. Quote Link to comment Share on other sites More sharing options...
M. Smith Posted May 1, 2013 Author Share Posted May 1, 2013 1and1 is telling me that the CC script is not compatible with php 5.4. They have no error logs, but I'm now getting this: MySQL Error Occured Error Message: 1016: Can't open file: 'CubeCart_sessions.MYI'. (errno: 130) SQL: SELECT sessId FROM CubeCart_sessions WHERE sessId='' Quote Link to comment Share on other sites More sharing options...
M. Smith Posted May 1, 2013 Author Share Posted May 1, 2013 I also tried a fresh install on a test site and got the same blank screen after installation. Quote Link to comment Share on other sites More sharing options...
bsmither Posted May 1, 2013 Share Posted May 1, 2013 CubeCart uses either Zend Guard or ionCube to decode the license enforcement protocols. There is no Zend Guard plug-in for PHP 5.4 as yet. But the ionCube v4.2 Loader says it is compatible with PHP 5.4. In the file /includes/global.inc.php, check to see if $glob['encoder'] is equal to 'ioncube'. With PHP 5.4, this is probably your only choice. Then make sure 1and1 has the latest ionCube Loader installed for your use. I am confident that all other code in CubeCart has no problems with PHP 5.4. Be sure to mention to 1and1 that there has been a mysql malfunction. If you have phpMyAdmin (a utility in your hosted space control panel to manage your databases), use it to verify the integrity of the CubeCart database. You may need to execute a REPAIR operation on it. Quote Link to comment Share on other sites More sharing options...
M. Smith Posted May 1, 2013 Author Share Posted May 1, 2013 Yes, $glob['encoder'] is equal to 'ioncube' but my php.ini file has this line: zend_extension = /homepages/38/d121554869/htdocs/battlemart/store/ioncube/ioncube_loader_lin_5.2.so Should I change that to 'loader_lin_4.2.so'? There is a 'ioncube_loader_lin_4.2.so' file in my ioncube directory. Quote Link to comment Share on other sites More sharing options...
bsmither Posted May 1, 2013 Share Posted May 1, 2013 Please change that line in your php.ini file to match the filename you see in the ioncube directory. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.