News:

AbanteCart v1.4.2 is released.

Main Menu

Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

PHP 8.1 compatibility

Started by HADY, January 24, 2022, 04:24:56 AM

Previous topic - Next topic

HADY

Hello,

I would like to ask if AbanteCart v1.3.2 compatible with PHP 8.1. Am asking because i gave it a try, the admin page working fine but the website interface appeared just like a blank page.


Thank you...
Thank you In Advanced
Regards
HADY


HADY

Thank you In Advanced
Regards
HADY

HADY

 Hello,


I did used php 8.0, it is working but when i click on settings in Admin webpage it is becoming blank page. I started to use 7.4 and everything working well.

What should be done in this case to use 8.0 ??

Thank you...
Thank you In Advanced
Regards
HADY

Basara

Hello.
You can check the AbanteCart error log to find out.
It can be some 3rd party extension or your modifications

HADY

#5
Quote from: Basara on January 26, 2022, 07:27:07 AM
Hello.
You can check the AbanteCart error log to find out.
It can be some 3rd party extension or your modifications

Hello,

According to AbanteCart error log recordes it is related to safe_mode:

in my php.ini my safe_mode is Off and on cPanel it was enabled, I tried many methods on cPanel and php.ini but no positive results.


the error log details as here;
2022-01-27 10:22:21 - Unknown Error: AbanteCart core v.1.3.2 Call to undefined function set_time_limit() in <b>/public_html/admin/controller/responses/common/resource_library.php</b> on line <b>22</b>

I turned Off ModSecurity from cPanel and php.ini and Enabled them in both then cleaned the website and browser cache but nothing did changed.


What is the solution please?

Thank you...
Thank you In Advanced
Regards
HADY

abolabo

Quote from: HADY on January 27, 2022, 02:27:18 AM
Quote from: Basara on January 26, 2022, 07:27:07 AM
Hello.
You can check the AbanteCart error log to find out.
It can be some 3rd party extension or your modifications

Hello,

According to AbanteCart error log recordes it is related to safe_mode:

in my php.ini my safe_mode is Off and on cPanel it was enabled, I tried many methods on cPanel and php.ini but no positive results.


the error log details as here;
2022-01-27 10:22:21 - Unknown Error: AbanteCart core v.1.3.2 Call to undefined function set_time_limit() in <b>/public_html/admin/controller/responses/common/resource_library.php</b> on line <b>22</b>

I turned Off ModSecurity from cPanel and php.ini and Enabled them in both then cleaned the website and browser cache but nothing did changed.


What is the solution please?

Thank you...

php8 supports this function.
You can check if this function presents in the disable_functions directive inside phpinfo() output (see admin->system->settings->system->button PHPINFO)
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

HADY

Quote from: abolabo on January 27, 2022, 07:06:52 AM


php8 supports this function.
You can check if this function presents in the disable_functions directive inside phpinfo() output (see admin->system->settings->system->button PHPINFO)

On php 8.0 impossible to access  (admin->system->settings->system->button PHPINFO), is there any other way to check if that function included or not ??

Thank you In Advanced
Regards
HADY

Basara

Quote from: HADY on January 27, 2022, 07:36:55 AM
On php 8.0 impossible to access  (admin->system->settings->system->button PHPINFO), is there any other way to check if that function included or not ??

Hello. You can ask your hosting support.

abolabo

Quote from: HADY on January 27, 2022, 07:36:55 AM
Quote from: abolabo on January 27, 2022, 07:06:52 AM


php8 supports this function.
You can check if this function presents in the disable_functions directive inside phpinfo() output (see admin->system->settings->system->button PHPINFO)

On php 8.0 impossible to access  (admin->system->settings->system->button PHPINFO), is there any other way to check if that function included or not ??

looks like phpinfo() forbidden too.
Ask techsupport of provider about their paranoid mode :-)
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

Forum Rules Code of conduct
AbanteCart.com 2010 -