Prestashop 1.6.1.11 (500) Internal server (association) byte error exhausted

I had a question posted on Prestashop forums for some time regarding a problem that I am not sure how to solve. I will send the link below to the original question, any help I can get on this issue would be greatly appreciated.

The initial question from the Prestashop forum.


Prestashop 1.6.1.11: every time I access certain products and try to change their associations, I get an error message;

(500 internal server errors)

A server error occurred while loading the tabs: some tabs could not be loaded. Please try refreshing the page again. If you are still experiencing this problem, check your server’s logs or contact them. your hosting provider for help.

I followed a few steps to try to identify the error, as shown below in my code snippet, as a result of which I was able to return several details regarding the error.

<php

// I enabled dev mode via config/defines.inc.php
if (!defined('_PS_MODE_DEV_')) {
define('_PS_MODE_DEV_', true);
}

?>

Re-tracking the steps I tried to reproduce.

That was my result ...

Fatal error: allowable memory size of 134217728 bytes has been exhausted (tried to allocate 8192 bytes) in /classes/cache/CacheFs.php on line 69

I took several steps forward in the hope of fixing this problem, but to no avail. I will list the steps I tried to do below:

  • Adjusted my php.ini to allow a full memory limit, I will post a full copy below. (memory_limit = 128M)
  • -, "xCache" , . .
  • . ( )


, , , . , , , .

, -B

; Adapter/Adapter_EntityMapper.php on line 98.

+6
2

128M, 1024M, ( , 128M ).

; . , , comius vicus . Entity-Relationship-Attribute , .

, PHP:

ProductA: {
    Name: "Phone charger",
    Details: {
         Accessories: {
             ProductB: {
                 Name: "Phone charger cable",
                 Details: {
                     Accessories: {
                         ProductA: {
                             Name: "Phone charger",
                             Details: {
                                 ...

, , , ?

+3

, , :

  • / , _PS_MODE_DEV_ true config/define.inc.php

define('_PS_MODE_DEV_', true);

  1. PrestaShop 1.6.
  2. " ", , "".
  3. " "
0

Source: https://habr.com/ru/post/1016065/


All Articles