Author Topic: Appeare error when translate the contents to another language  (Read 10954 times)

Offline Somaputra

  • Newbie
  • *
  • Posts: 5
  • Karma: +1/-0
    • View Profile
    • http://lapak.somaputra.com
Appeare error when translate the contents to another language
« on: August 13, 2013, 01:28:58 PM »
I try to install abantecart 1.1.6, one error appear when translate the contens to another language (new language), in previous version this case not occure, Are you get problem like me ? how to solve this problem?. Thanx


the error was appear is :

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 32761 bytes) in /home/sr/public_html/k/core/lib/content_manager.php on line 492

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4359
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Appeare error when translate the contents to another language
« Reply #1 on: August 13, 2013, 08:21:03 PM »
This looks like PHP ran out of memory. Try to add memory.

If you have access to your php.ini, increase the max memory size.
Or  in your .htaccess
php_value memory_limit 128M
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 Somaputra

  • Newbie
  • *
  • Posts: 5
  • Karma: +1/-0
    • View Profile
    • http://lapak.somaputra.com
Re: Appeare error when translate the contents to another language
« Reply #2 on: August 24, 2013, 12:47:44 AM »
   Hi,
  I've increased it to 128M, but error remain appear with deffrence messege :

  Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 43405 bytes) in /home/sr/public_html/k/core/lib/content_manager.php on line 492


  And I tried to increase to 256M, error remain occured with new message :
 
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 66313 bytes) in /home/sr/public_html/k/core/lib/content_manager.php on line 492
 

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4359
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Appeare error when translate the contents to another language
« Reply #3 on: August 24, 2013, 02:01:12 PM »
What step of installation get's this problem? This is very strange.
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 Somaputra

  • Newbie
  • *
  • Posts: 5
  • Karma: +1/-0
    • View Profile
    • http://lapak.somaputra.com
Re: Appeare error when translate the contents to another language
« Reply #4 on: August 27, 2013, 12:18:31 PM »
I installed version1.1.6 with softaculous, than created new  language (Indonesia Language) , than translated the front store display untill step everythings was normal, than when  i'll translated the content, this error occured.

Offline kitttttt

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Appeare error when translate the contents to another language
« Reply #5 on: October 30, 2013, 01:21:08 AM »
I having the same problem and I have tried the recommendation from Abantecart, it doesnt work.
do you found any solution?

Offline ardianbv

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Appeare error when translate the contents to another language
« Reply #6 on: November 12, 2013, 11:16:13 PM »
Me too...

Any solution?

Offline scents

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Appeare error when translate the contents to another language
« Reply #7 on: December 22, 2013, 04:09:04 AM »
I'm getting this same error when trying to insert a new page in the content manager. Please help.

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4359
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Appeare error when translate the contents to another language
« Reply #8 on: December 22, 2013, 12:56:57 PM »
Sorry for the delay with this reply.

Where was a fix to this that will be available along with 1.1.8 release.
You can apply it beforehand.

Locate file public_html/core/lib/content_manager.php about line 492
Replace:
Code: [Select]
if($par_id == $parent_id){
with
Code: [Select]
if($par_id == $parent_id && $content['content_id'] ){
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 DavidLIR

  • Jr. Member
  • **
  • Posts: 86
  • Karma: +7/-0
    • View Profile
    • Love is Real
Re: Appeare error when translate the contents to another language
« Reply #9 on: December 22, 2013, 11:52:55 PM »
I tried this as well...will it fix translation into any language?  will let you know how it works
Love is Real....All Else is Illusion

Offline chybrat

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Appeare error when translate the contents to another language
« Reply #10 on: December 23, 2013, 02:11:10 PM »
I am getting this when trying to log in:

Fatal error: Allowed memory size of 100663296 bytes exhausted (tried to allocate 17045 bytes) in /home/public_html/shop/core/lib/content_manager.php on line 492

Please advise?
« Last Edit: December 23, 2013, 02:14:11 PM by chybrat »

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4359
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Appeare error when translate the contents to another language
« Reply #11 on: December 23, 2013, 10:31:20 PM »
Did you apply the fix in "December 22, 2013, 12:56:57 PM" post?
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 scents

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Appeare error when translate the contents to another language
« Reply #12 on: December 24, 2013, 06:52:10 AM »
I'm new to AbanteCart, can someone advise me where to go in the admin: Locate file public_html/core/lib/content_manager.php about line 492. so I can apply the fix?

Offline eCommerce Core

  • Administrator
  • Hero Member
  • *****
  • Posts: 1602
  • Karma: +93/-1
    • View Profile
Re: Appeare error when translate the contents to another language
« Reply #13 on: December 24, 2013, 07:21:10 AM »
Try core/lib/content_manager.php starting from your web directory or abantecart directory
“If you’re in the luckiest one per cent of humanity, you owe it to the rest of humanity to think about the other 99 per cent.”
― Warren Buffett

 

Powered by SMFPacks Social Login Mod