AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: Somaputra on August 13, 2013, 01:28:58 PM

Title: Appeare error when translate the contents to another language
Post by: Somaputra 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
Title: Re: Appeare error when translate the contents to another language
Post by: abantecart 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
Title: Re: Appeare error when translate the contents to another language
Post by: Somaputra 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
 
Title: Re: Appeare error when translate the contents to another language
Post by: abantecart on August 24, 2013, 02:01:12 PM
What step of installation get's this problem? This is very strange.
Title: Re: Appeare error when translate the contents to another language
Post by: Somaputra 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.
Title: Re: Appeare error when translate the contents to another language
Post by: kitttttt 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?
Title: Re: Appeare error when translate the contents to another language
Post by: ardianbv on November 12, 2013, 11:16:13 PM
Me too...

Any solution?
Title: Re: Appeare error when translate the contents to another language
Post by: scents 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.
Title: Re: Appeare error when translate the contents to another language
Post by: abantecart 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'] ){
Title: Re: Appeare error when translate the contents to another language
Post by: DavidLIR 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
Title: Re: Appeare error when translate the contents to another language
Post by: chybrat 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?
Title: Re: Appeare error when translate the contents to another language
Post by: abantecart on December 23, 2013, 10:31:20 PM
Did you apply the fix in "December 22, 2013, 12:56:57 PM" post?
Title: Re: Appeare error when translate the contents to another language
Post by: scents 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?
Title: Re: Appeare error when translate the contents to another language
Post by: eCommerce Core on December 24, 2013, 07:21:10 AM
Try core/lib/content_manager.php starting from your web directory or abantecart directory