Karcsixyz Posted June 16, 2014 Share Posted June 16, 2014 Hello. Please help me. I use prestashop 1.5.2 and after payment confirmation throws me the following (payment fails) Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.More information about this error may be available in the server error log. and after switching to news PHP throws me the following: Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 523800 bytes) in /hosting/xxxxxxxx/eshop/classes/Configuration.php on line 169 allocation was increased but still consumes all memory. Please urgently help me.. Sorry about my English. Link to comment Share on other sites More sharing options...
bellini13 Posted June 16, 2014 Share Posted June 16, 2014 What is your current memory allocation? Link to comment Share on other sites More sharing options...
Karcsixyz Posted June 17, 2014 Author Share Posted June 17, 2014 PHP 5.2 Link to comment Share on other sites More sharing options...
tuk66 Posted June 17, 2014 Share Posted June 17, 2014 128M should be enough just for payment confirmation. Are you using something special? Link to comment Share on other sites More sharing options...
Karcsixyz Posted June 17, 2014 Author Share Posted June 17, 2014 No. I do not use anything special. only bankwire, cheque, GoPay Link to comment Share on other sites More sharing options...
tuk66 Posted June 17, 2014 Share Posted June 17, 2014 Does the error appear for all payment modules, always? Link to comment Share on other sites More sharing options...
Karcsixyz Posted June 17, 2014 Author Share Posted June 17, 2014 Yes appears still for all payment modules. Link to comment Share on other sites More sharing options...
vekia Posted June 17, 2014 Share Posted June 17, 2014 how many products & attributes your shop uses? how large is your customers database? how many orders? Link to comment Share on other sites More sharing options...
Karcsixyz Posted June 17, 2014 Author Share Posted June 17, 2014 products of approximately 70-100 page has not yet been running, customers and orders not only test Link to comment Share on other sites More sharing options...
bellini13 Posted June 17, 2014 Share Posted June 17, 2014 PHP 5.2 is not how much memory you have allocated, it is the version of PHP you are using. If we assume you have 128mb allocated and you are getting a fatal error due to lack of memory, then you need to increase your memory allocation... try 256mb Link to comment Share on other sites More sharing options...
tuk66 Posted June 17, 2014 Share Posted June 17, 2014 Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 523800 bytes) in /hosting/xxxxxxxx/eshop/classes/Configuration.php on line 169 One more look. The line 169 contains: elseif (Configuration::hasKey($key, $id_lang)) Look at ps_configuration and ps_configuration_lang tables for abnormalities. There should be up to 1000 records in these tables and no extra large content in the value field. Link to comment Share on other sites More sharing options...
Karcsixyz Posted June 17, 2014 Author Share Posted June 17, 2014 This is OK or abnormal extra large? 37NULLNULL PS_PRODUCT_PICTURE_MAX_SIZE 8388608 117NULLNULL PS_IMG_UPDATE_TIME 1402322718 Link to comment Share on other sites More sharing options...
tuk66 Posted June 17, 2014 Share Posted June 17, 2014 TrySELECT LENGTH(value) FROM `ps_configuration` WHERE value IS NOT NULL ORDER BY LENGTH(value) DESC and SELECT LENGTH(value) FROM `ps_configuration_lang` WHERE value IS NOT NULL ORDER BY LENGTH(value) DESC Link to comment Share on other sites More sharing options...
Karcsixyz Posted June 17, 2014 Author Share Posted June 17, 2014 I am a beginner. Please help me, because I do not know how to do. 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