Jump to content

1.6.1.11 (500) Internal server error (Associations)


Recommended Posts

Morning all,

 

I have hit an error within Prestashop 1.6.1.11: Everytime I access certain products and try to edit thier associations I receive an error notice;

 

 

(500 Internal Server Error)
A server error occurred while loading the tabs: some tabs could not be loaded.
Please try again by refreshing the page.
If you are still encountering this problem, please check your server logs or contact your hosting provider for assistance.

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

 

/* Re-tracing the steps to reccur the error. This was my result... */
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 8192 bytes) in /classes/cache/CacheFs.php on line 69

 

Has anyone encountered this issue or does anyone know why this has occured or how to resolve it at all, I have ammended php.ini aready and contacted my host but all was un eventful. for reference I'll quote my php.ini

/* Custom PHP.INI sitting in root DIR. */
memory_limit = 128M
max_execution_time = 1280
max_input_time = -1
post_max_size = 15M
upload_max_filesize = 128M
max_input_vars = 10000
suhosin.get.max_vars = 10000
suhosin.post.max_vars = 10000
extension=pdo.so
extension=pdo_sqlite.so
extension=pdo_mysql.so
extension=sqlite.so

Thanks in advance,

 

Regards,

-B :ph34r:

 

Edit:

 

I took a few steps forward in hopes of correcting this issue but all to no avail. I'll list the steps I've attempted below;

 - Adjusted my php.ini to allow the full memory limit, I'll post a full copy of which below. `(memory_limit = 128M)`
 - Contacted my hosting provider to have the 'xCache' caching module installed on my sever in hopes of worming my around the default caching solution. However this is not possile at this time.
 - Turned off cache and cleared existing cache. (Same result)
 - Checked for recently installed module issues. (None found)

 

Edit:

 

After further digging and after disabling caching, my error location has changed to;

Adapter/Adapter_EntityMapper.php on line 98.
Edited by Beaniie (see edit history)
Link to comment
Share on other sites

You should increase the «memory_limit» parameter. If i understand well the server already uses 134Mo when crashes.

I have no idea of what would be a normal memory consumption in prestashop BO (?).

 

I have already tried the following increases 128M, 256M, 512M, 1024M, no progress, sadly.

Edited by Beaniie (see edit history)
Link to comment
Share on other sites

I had the same issue. It was a directory in modules/inixframe.

Do you have this directory? If so contact Presta-Apps Solutions  and ask them to provide you with an up-to-date version, which fixed my issues.

 

Or you can install their dashboard module, and see if that module will update the inixframe directory:

Presta Apps Dashboard v3.0.1 - by Presta-Apps Solutions

Inixweb Framework | Email: [email protected]

Link to comment
Share on other sites

I had the same issue. It was a directory in modules/inixframe.

 

Do you have this directory? If so contact Presta-Apps Solutions  and ask them to provide you with an up-to-date version, which fixed my issues.

 

Or you can install their dashboard module, and see if that module will update the inixframe directory:

 

Presta Apps Dashboard v3.0.1 - by Presta-Apps Solutions

Inixweb Framework | Email: [email protected]

 

I don't have inixframe within my module directory, so I'm pretty sure it's not a related issue, I am however starting to think the issue is related to the number of categories that are listed within my installation.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...