Geotex Posted May 22, 2016 Share Posted May 22, 2016 I just did a long-overdue (cpanel) upgrade tonight from php 5.3 to php 5.5. Crashed the frontend on several carts. here is the log from one, checking others for similar or additional errors. [22-May-2016 02:51:15 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo.so: undefined symbol: zval_property_ctor in Unknown on line 0 [22-May-2016 02:51:15 UTC] PHP Warning: PHP Startup: pdo_sqlite: Unable to initialize module Module compiled with module API=20090626 PHP compiled with module API=20121212 These options need to match in Unknown on line 0 [22-May-2016 02:51:15 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/sqlite.so: undefined symbol: zval_property_ctor in Unknown on line 0 [22-May-2016 02:51:15 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/imagick.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0 [22-May-2016 02:51:15 UTC] PHP Warning: PHP Startup: pdo_mysql: Unable to initialize module Module compiled with module API=20090626 PHP compiled with module API=20121212 These options need to match in Unknown on line 0 [22-May-2016 02:51:15 UTC] PHP Fatal error: Call to undefined function mb_strtolower() in /home/elsab/public_html/classes/seo.class.php on line 979 step one was to do a force reinstall of the latest version of CubeCart (6.0.11). Also checked for /usr/local/lib/php/extensions/no-debug-non-zts-20090626/sqlite.so, it is present. George Quote Link to comment Share on other sites More sharing options...
Geotex Posted May 22, 2016 Author Share Posted May 22, 2016 one cart only shows error [22-May-2016 03:36:20 UTC] PHP Fatal error: Call to undefined function mb_strtolower() in /home/defender/public_html/cart/classes/seo.class.php on line 979 and my primary test cart [22-May-2016 04:23:21 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/sqlite.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/sqlite.so: undefined symbol: zval_property_ctor in Unknown on line 0 [22-May-2016 04:23:21 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/imagick.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0 [22-May-2016 04:23:21 UTC] PHP Warning: PHP Startup: pdo_mysql: Unable to initialize module Module compiled with module API=20090626 PHP compiled with module API=20121212 These options need to match in Unknown on line 0 [21-May-2016 23:23:21 America/Chicago] PHP Notice: `trusted` is not allowed as a key in 'CubeCart_ccss_ip_addresses' table! in /home/dogcarts/public_html/classes/db/database.class.php on line 858 [21-May-2016 23:23:21 America/Chicago] PHP Fatal error: Call to undefined function mb_strtolower() in /home/dogcarts/public_html/classes/seo.class.php on line 979 Although the errors vary, there seems to be only 1 fatal error. The other notices are warnings and probably would not break the front end. These three carts all have the same fatal error: PHP Fatal error: Call to undefined function mb_strtolower() in /home/dogcarts/public_html/classes/seo.class.php on line 979 this error is associated with the CubeCart Security Suite plugin, as it disappears when that plugin is deactivated. [21-May-2016 23:23:21 America/Chicago] PHP Notice: `trusted` is not allowed as a key in 'CubeCart_ccss_ip_addresses' table! in /home/dogcarts/public_html/classes/db/database.class.php on line 858 Quote Link to comment Share on other sites More sharing options...
bsmither Posted May 22, 2016 Share Posted May 22, 2016 In Cpanel, there may be a way for the account holder to configure the running PHP. As such, you need to enable the mbstring extension. A couple of "not allowed as a key" is because PHP is failing to load the appropriate extensions -- mysqli in particular. All the others -- mismatched compile versions of extensions versus the main PHP executable -- will need to have new versions of the extensions downloaded and installed. Maybe re-compiled. I do not know how to do that. An internet search for "Unable to load dynamic library" compiled may lead you to some advice. Quote Link to comment Share on other sites More sharing options...
Geotex Posted May 22, 2016 Author Share Posted May 22, 2016 Hi The recompile on the versions is underway. The server tech people are doing that, so maybe some resolve there. I just did a fresh install on a site, still won't run the front end. Admin on all the carts runs fine. It appears that tech has done some updates, as now down to one error, unfortunately fatal: [22-May-2016 06:15:08 Europe/London] PHP Fatal error: Call to undefined function mb_strtolower() in /home/peggypp/public_html/classes/seo.class.php on line 979 Quote Link to comment Share on other sites More sharing options...
bsmither Posted May 22, 2016 Share Posted May 22, 2016 In the PHP configuration file, PHP.INI (not part of CubeCart), in the Dynamic Extensions section, this line must be un-commented: extension=php_mbstring.so That is, there is no semi-colon in front of it. In your errors, I also saw a reference to imagick.so. Be sure to have the server people install the latest versions of this ImageMagick package for PHP. CubeCart doesn't use ImageMagick, but maybe a plugin might. Don't enable that extension if any application on your site doesn't need it. Quote Link to comment Share on other sites More sharing options...
Geotex Posted May 22, 2016 Author Share Posted May 22, 2016 Thank you for all the assistance and input, When I did the upgrade through cPanel, some php options were missed. By fully rebuilding Apache and PHP with Mbstring,, php.ini was cleaned up and now only references currently installed modules. This cleared up the issues, and CubeCart is functioning fully as expected. 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.