Jump to content

Shop doesn't load after adding a pic to a category


Recommended Posts

After adding a picture to a category, the admin ui froze and now the shop doesn't load at all. Also that category disappeared.

 

I turned on the error messages and this is what comes up:

 

 

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 261900 bytes) in /mnt/webb/e1/27/54038827/htdocs/classes/ObjectModel.php on line 138

 

Any idea what I can do?

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

something is wrong there with configuration of category i suppose

error you see it's related to not enough resources to finish your query

 

try to increase available memory resources (if it is possible) 

 

do you remember category ID you changed?

Link to comment
Share on other sites

it's a kind of mystery why this happened, i bet that some problem with resources and this just crashed database structure for this category (this is why i asked about id)

 

have you got an access to some database manager like phpmyadmin ?

Link to comment
Share on other sites

so, go to ps_category_lang table and search for category you changed, you will see there cateogry id number

then go to ps_category table and search for this id

 

compare nleft nright values for this id with others, are the values different? is this difference HUGE ?

Link to comment
Share on other sites

it can be related to some server issue, for exmaple

you changing stuff in back office, for example, you upload photos to category

upload usually takes some time, within this time server breaks connection

database wasn't changed properly

 

cases like that can generated issues in database consistency :/

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...