Issue Going Up To Php7.1

Hi,

I am on 4.5.2SP2 running on centos 6.9 with PHP 7.0 with no issues. If I attempt to enable PHP 7.1 my server seems to go into a resource loop when I attempt to login to the carts admin panel. I have disabled all the plugins and cleared he cache but I am still unable to log back in to the carts admin.

Can anyone help?

Thanks

Stay on 7.0 is my advise.

I have reverted to 7.0

I am wondering what is wrong as I can not find anything in the logs to suggest the issue.

Are there any relevant errors in your php error_log file?

Did you try deleting your var/cache directory manually (or changing its name)?

It doesn't matter. CSC is not compatible with 7.1 yet and/or 7.1 has bugs. I posted one of the issues in another thread some time back.

We are running our dev server on centos 7, php 7.1.

No issues realized with the mentioned cs-cart version.

The server logs can get you closer to the issue.

We're on 4.5.2 with 7.1 and no issues thus far.

There seems to be mixed reports of 7.1 working and not working. Maybe it has something to do with the handler.?

The most common issue with 7.1 that I've see so far is that data types are much more strict. I.e. in pre-71. if you used a string in an equation like $x = 7 + 'y', $x would be equal to zero with no error or warning. In 7.1, this will generate a warning but it will still treat the non numeric value as a zero.

I am facing similar problem. Website & admin panel is working fine on php 7, as soon i change it to php 7.1, the website still works fine but when i try to open the admin panel it shows white blank page.

Kindly help.

I am facing similar problem. Website & admin panel is working fine on php 7, as soon i change it to php 7.1, the website still works fine but when i try to open the admin panel it shows white blank page.

Kindly help.

What CS-Cart version do you use?

What CS-Cart version do you use?

CS-CART V4.5.2

CS-CART V4.5.2

In the config.local.php file replace

ini_set('display_errors', 0);

with

ini_set('display_errors', 1);
define('DEVELOPMENT', true);

Then go to the admin panel. Error message should be displayed in the browser

I am getting the below mentioned error :-

Fatal error: Uncaught Error: Call to undefined function mb_strtolower() in /home/xxxxxx/public_html/var/cache/templates/backend/10e9f8e466c6391c4e4364a7ca1b01c77a3a07ab.tygh.styles.tpl.php:40 Stack trace: #0 /home/xxxxxx/public_html/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(188): content_5944ed802687a2_21439490(Object(Smarty_Internal_Template)) #1 /home/xxxxxx/public_html/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(304): Smarty_Internal_TemplateBase->fetch(Object(Smarty_Internal_Template), NULL, NULL, NULL, false, false, true) #2 /home/xxxxxx/public_html/var/cache/templates/backend/99ebbc2feda4011d59cc2ac7e51b32b4a2fa3b54.tygh.styles.tpl.php(42): Smarty_Internal_Template->getSubTemplate('views/statuses/...', NULL, NULL, 0, NULL, Array, 0) #3 /home/xxxxxx/public_html/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(188): content_5944ed80200b74_31625174(Object(Smarty_Internal_Template)) #4 /home/xxxxxx/public_html/app/lib/ve in /home/xxxxxx/public_html/var/cache/templates/backend/10e9f8e466c6391c4e4364a7ca1b01c77a3a07ab.tygh.styles.tpl.php on line 40

In the config.local.php file replace

ini_set('display_errors', 0);

with

ini_set('display_errors', 1);
define('DEVELOPMENT', true);

Then go to the admin panel. Error message should be displayed in the browser

I am getting the below mentioned error :-

Fatal error: Uncaught Error: Call to undefined function mb_strtolower() in

Please contact your hosting provider and inform him about this issue. It should be fixed on the server side

Please contact your hosting provider and inform him about this issue. It should be fixed on the server side

Thanks soo much ecom. :) It has been fixed from servers end.

You are welcome!

You are welcome!

I had to go back to 7.0 because some orders pages were not loading properly. :(

I had to go back to 7.0 because some orders pages were not loading properly. :(

Thank you keeping us updated. Looks like 7.1 is not fully supported yet