skinnybloke Posted September 6 Share Posted September 6 (edited) My Prestashop v9.0 website has just moved from CentOS 8 to Almalux 8. I get a white screen when I go to the first checkout page. When I turn on debug I get the following error: Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 20480 bytes) in /home/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php on line 291 Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 40960 bytes) in Unknown on line 0 I do not get this error on my v9.0 staging site. I cannot see any difference between the two. Anybody got any suggestions? Edited September 8 by skinnybloke Issue solved (see edit history) Link to comment Share on other sites More sharing options...
Prestashop Addict Posted September 8 Share Posted September 8 Please can you specify PHP version? Is it a fresh install? Link to comment Share on other sites More sharing options...
Knowband Plugins Posted September 8 Share Posted September 8 As per the error, Issue with the PHP memory allowed. Go to Backoffice -> Advanced Parameter -> Information & check the memory Limit of the server. Need to increase the same from the hosting. Check with the hosting to increase the same. Even if the memory limits are the same on both the servers, issues can appear based on the data size, modules etc. Link to comment Share on other sites More sharing options...
skinnybloke Posted September 8 Author Share Posted September 8 2 hours ago, Prestashop Addict said: Please can you specify PHP version? Is it a fresh install? The PHP version is v8.4.11 The website has migrated from CentOS 7/8 to Almalinux. The staging site, which is identical, works OK Link to comment Share on other sites More sharing options...
skinnybloke Posted September 8 Author Share Posted September 8 2 hours ago, Knowband Plugins said: As per the error, Issue with the PHP memory allowed. Go to Backoffice -> Advanced Parameter -> Information & check the memory Limit of the server. Need to increase the same from the hosting. Check with the hosting to increase the same. Even if the memory limits are the same on both the servers, issues can appear based on the data size, modules etc. The memory limit shows as 1G in the back office, php.ini and the MultiPHP INI Editor in WHM Link to comment Share on other sites More sharing options...
ComGrafPL Posted September 8 Share Posted September 8 Lower PHP version and check it. Link to comment Share on other sites More sharing options...
skinnybloke Posted September 8 Author Share Posted September 8 Thanks for your help, everyone. I've managed to sort it. I had accidentally uploaded an override template to the parent theme instead of the child theme on the live site. I had loaded the template to the correct theme on the staging site and this is why that had worked. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now