Zen Cart Logo
Forums / General Questions / 57 items in cart and getting error message Please Help!

57 items in cart and getting error message Please Help!

Locked

Views: 1,115

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
2 Apr 2008, 11:08 PM
#1
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

57 items in cart and getting error message Please Help!

Hello,

ver 1.3.7
I have 57 items in my cart and am trying to place an order. Whenever I get to the checkout_payment screen I am getting this error message:

Fatal error: Maximum execution time of 30 seconds exceeded in /home2/silvtcom/public_html/includes/classes/db/mysql/query_factory.php on line 177

Many of the items have 1 attribute. Any ideas on how to fix?

Thank you!

Shrimp-Gumbo

2 Apr 2008, 11:09 PM
#2
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

Re: 57 items in cart and getting error message Please Help!

I was able to get to checkout_payment 1st time I belive but entered a coupon code and hasn't worked since then.

2 Apr 2008, 11:25 PM
#3
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

Re: 57 items in cart and getting error message Please Help!

Now getting this message:
Fatal error: Maximum execution time of 30 seconds exceeded in /home2/silvtcom/public_html/includes/modules/order_total/ot_coupon.php on line 271

2 Apr 2008, 11:26 PM
#4
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: 57 items in cart and getting error message Please Help!

What's happening is the 30 sec. time limit is being reached before the process can be completed.

If PHP is being run as CGI then you can create your own 'php.ini' file, if you haven't already, and add this line:

max_execution_time = 60

Adjust to suit.

PS: Admin > Tools > Server Info will tell you if PHP is run as CGI. Look at this setting: Server API - will be Apache or CGI

2 Apr 2008, 11:28 PM
#5
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: 57 items in cart and getting error message Please Help!

It is as cgi ,

what payment method are you using?

I just made a test of 62 seperate items, with no slowdowns and no errors

2 Apr 2008, 11:34 PM
#6
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

Re: 57 items in cart and getting error message Please Help!

I really hadn't choosen a payment method yet. I got to the screen and entered the coupon code and submitted so it would bring back the new amount.

3 Apr 2008, 12:02 AM
#7
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

Re: 57 items in cart and getting error message Please Help!

Fixed with new PHP.ini

Much thanks to Merlin and Website Rob!
:clap::clap::clap: