News:

AbanteCart v1.4.2 is released.

Main Menu

Design/Content Failure to edit or add

Started by montgo, November 02, 2013, 10:16:27 AM

Previous topic - Next topic

montgo

Can I try once more to resolve this problem please?

The whole of Admin is functioning perfectly with the exception of Design/Content. It crashed as I was trying to add another page and has not functioned since. Current pages  are displayed correctly but both the Edit and New selections result in a blank page.

Previously, a fatal error occurred with either selection:

Allowed memory size of 67108864 bytes exhausted (tried to allocate 33205 bytes) in /home/e29jave/public_html/cart/core/lib/content_manager.php on line 492

I was advised to increase the php memory to 128m which I did but without any change to the result.

I tried replacing the following files with the originals:

cart/core/lib/content_manager.php
admin/controller/pages/design/content.php
admin/view/default/template/pages/design/content_form.tpl
admin/view/default/template/pages/design/content_layout.tpl
admin/view/default/template/pages/design/content_list.tpl

Now the error message has disappeared but leaves a blank screen instead. It remains impossible to either add a new page or edit an existing one.

I would appreciate some assistance in resolving this issue.  Thanks.

abantecart



abolabo


could you send to me sql backup with 2 tables: contents and content_descriptions?

montgo


abolabo

sorry for delay.
i noted that you have different content_id for privacy in tables. Inside "content" table it's a "2", but in "content_description" it's a "5" :o
Can you describe how to replicate this data? i need steps with details.

montgo

Many thanks for the info and I see the discrepancy. "Privacy" was the file I was trying to edit when Content crashed so that must be another clue. I can see 3 files in Content in Admin now and they correspond exactly to the table entries in both content and content_description.

I know close to zero about databases so would you recommend I just delete both the Privacy entries in content and content_description to see if that fixes it?

abolabo

yes... delete or ..you can just update content_id in content_description table.
But question "how you did that?" is still open:)

montgo

Many thanks - deletion fixed it but sorry, I can't help with the 'why'. All I remember is trying to edit the 'privacy' file that already existed - it was clearly operator error :)

junkyard

Not sure it was "operator error". You can fix "Allowed memory size" errors with following fix from abantecart:
http://forum.abantecart.com/index.php/topic,980.msg5907.html#msg5907

But the subsequent mess that you got in tables "content" and "content_description" could be linked to another related bug:
http://forum.abantecart.com/index.php/topic,1616.0.html

Forum Rules Code of conduct
AbanteCart.com 2010 -