Author Topic: Design/Content Failure to edit or add  (Read 7479 times)

Offline montgo

  • Newbie
  • *
  • Posts: 30
  • Karma: +2/-0
    • View Profile
Design/Content Failure to edit or add
« on: November 02, 2013, 10:16:27 AM »
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.

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Design/Content Failure to edit or add
« Reply #1 on: November 02, 2013, 11:49:15 AM »
What version of AbanteCart do you use?
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline montgo

  • Newbie
  • *
  • Posts: 30
  • Karma: +2/-0
    • View Profile
Re: Design/Content Failure to edit or add
« Reply #2 on: November 03, 2013, 02:41:59 AM »
V 1.1.7 html5

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2048
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Design/Content Failure to edit or add
« Reply #3 on: November 04, 2013, 05:49:18 AM »

could you send to me sql backup with 2 tables: contents and content_descriptions?
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline montgo

  • Newbie
  • *
  • Posts: 30
  • Karma: +2/-0
    • View Profile
Re: Design/Content Failure to edit or add
« Reply #4 on: November 05, 2013, 02:28:15 AM »
Requested files attached.

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2048
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Design/Content Failure to edit or add
« Reply #5 on: November 12, 2013, 06:50:52 AM »
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.
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline montgo

  • Newbie
  • *
  • Posts: 30
  • Karma: +2/-0
    • View Profile
Re: Design/Content Failure to edit or add
« Reply #6 on: November 12, 2013, 07:22:48 AM »
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?

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2048
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Design/Content Failure to edit or add
« Reply #7 on: November 12, 2013, 07:38:43 AM »
yes... delete or ..you can just update content_id in content_description table.
But question "how you did that?" is still open:)
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline montgo

  • Newbie
  • *
  • Posts: 30
  • Karma: +2/-0
    • View Profile
Re: Design/Content Failure to edit or add
« Reply #8 on: November 12, 2013, 08:35:53 AM »
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 :)

Offline junkyard

  • Full Member
  • ***
  • Posts: 127
  • Karma: +25/-0
    • View Profile
Re: Design/Content Failure to edit or add
« Reply #9 on: January 17, 2014, 02:33:03 PM »
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

 

Powered by SMFPacks Social Login Mod