SpaceJump Posted August 30, 2014 Share Posted August 30, 2014 (edited) 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 August 30, 2014 by SpaceJump (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted August 30, 2014 Share Posted August 30, 2014 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 More sharing options...
SpaceJump Posted August 30, 2014 Author Share Posted August 30, 2014 (edited) I don't remember the category's ID, but its name if that helps. How would I increase available memory resources? Also why did that category disappear from the admin pages? Edited August 30, 2014 by SpaceJump (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted August 30, 2014 Share Posted August 30, 2014 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 More sharing options...
SpaceJump Posted September 1, 2014 Author Share Posted September 1, 2014 Yes, I have access to the database. Link to comment Share on other sites More sharing options...
vekia Posted September 1, 2014 Share Posted September 1, 2014 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 More sharing options...
SpaceJump Posted September 1, 2014 Author Share Posted September 1, 2014 I found and deleted the category before you posted, so I don't remember the nleft and nright values. What are these? Why did this happen anyway? Link to comment Share on other sites More sharing options...
vekia Posted September 2, 2014 Share Posted September 2, 2014 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 More sharing options...
SpaceJump Posted September 3, 2014 Author Share Posted September 3, 2014 Ok, thanks for your answers! I'll to reproduce this error to see if it still can happen. 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