News:

AbanteCart v1.4.2 is released.

Main Menu

Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

Help! Problem after automatic upgrade to 1.1.2

Started by fv4s4e, December 07, 2012, 05:42:20 AM

Previous topic - Next topic

fv4s4e

Hello - did the automatic upgrade the other day and only just noticed that the site is now not working properly..

When you add an item to basket, I get a white page:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 13056 bytes) in /home/v06snif/public_html/core/lib/image.php on line 59

It looks as if it does actually add the product to the basket - you just can't see the basket for some reason..  Any ideas anyone?

Many thanks
Ian


abantecart

Please check you php.ini inside abantecart.

make sure memory_limit is set 64M;

memory_limit = 64M;
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

zealwebtech

dear frnds,
i am getting the error

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2329 bytes) in /home/xxxxxxx/public_html/core/lib/image.php on line 59

please help.
my php.ini file is as below:

output_buffering = 4096;
magic_quotes_gpc = Off;
register_globals = Off;
default_charset   = UTF-8;
memory_limit = 128M;
max_execution_time = 18000;
upload_max_filesize = 100M;
safe_mode = Off;
mysql.connect_timeout = 20;
session.use_cookies = On;
session.use_trans_sid = Off;
session.gc_maxlifetime = 12000000;
apc.enabled = 0;

plz help.


Basara

Hello, zealwebtech
This is related to your server configurations. Some hosting provider do not allow to edit this so please contact with your hosting support for help

zealwebtech

Hi Basara,
Thank you for your reply.
I have Linux VPS on cPanel if you suggest the changes or what exactly i have to check with DC.

Regards,
Ravi

zealwebtech

Dear Admin/Experts,

looking for the solution and kind reply.


llegrand

are you really working on version 1.1.2??  that is very old.   the most current version is 1.2.3
You can see your version at the bottom (footer area) of your admin panel

Let us know what version have and what you are trying to upgrade to -  that will help us get you better answers.

But here's where you need to start with your hosting company -  check to be sure these are enabled

http://www.abantecart.com/ecommerce-documentation/user-manual/installation

and ask them if you can increase your php.ini memory limit -  or is it restricted at the server level.

Lee

zealwebtech

Dear llegrand,
my case is not the upgrade. I have downloaded latest version of abantecart and trying to install it. But its showing memory exhaust error.

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 9316 bytes) in /home/xxxxx/public_html/core/lib/image.php on line 59

llegrand

ok,  that info helps us understand better.

So it seems you are attempting a manual install (ftp files, etc)  and are running into this issue.

I have two suggestions:

1.  If you have Softaculous on a cPanel on your account,  try installing using the method and see if you have the same issues -  you can always uninstall it if you wish.

2   And I would present the minimum requirements to your host to insure that the server settings are not overriding any of the account settings.  I am assuming you are on a shared hosting account server. 

Lee

webdevmerc

Did you get all the green check marks when you were starting the installation from the webpage part?

zealwebtech

Hi Ilegrand,
Thanks for reply.
I am not having softaculous on my cpanel. So i had downloaded the cart frm website uploaded it on my server on a domain noidahaat.com and installed it.

For your info. I am not using shared hosting i have VPS of 3 GM RAM in it.
Do you suggest me to remove this and try again?
Also i would like to inform i had installed on the same server with other domain earlier when i was making my mind to go with abantecart or opencart and i choosen this one.

Plz advise.

zealwebtech

Hi ,
While instalation i got all green and ol frm the system only then i moved for installation.

zealwebtech

Hi Experts,
I was installing it again and i got that output buffer is not ok its showing red color but i am able to install the cart with same memory allocation error.

webdevmerc

Quote from: zealwebtech on August 06, 2015, 06:58:13 PM
Hi Experts,
I was installing it again and i got that output buffer is not ok its showing red color but i am able to install the cart with same memory allocation error.

This probably won't help you since you are on VPS and I am on shared hosting, but I had the output buffer red check problem.  I edited my local .htaccess file and added this and the red error message went away...Worth a try I guess.  When you have initial install problems in general, it may cause future errors so it's good to nip these early ones first as they may cause other issues that are not so obvious.

Add to .htaccess:
<IfModule mod_suphp.c>
suPHP_ConfigPath /home/<YOUR DIR>/public_html
</IfModule>

Found from google searches and here as an example:
https://www.namecheap.com/support/knowledgebase/article.aspx/9310/2219/suphp-directive-for-phpini-on-shared-servers

Forum Rules Code of conduct
AbanteCart.com 2010 -