PDA

View Full Version : Fatal error: Maximum execution


cfortune
March 22nd, 2005, 04:22 PM
/squirrelcart/index.php?ups_track=form and /index.php?ups_rates=form
Fatal error: Maximum execution time of 30 seconds exceeded in /home/candrop2/public_html/squirrelcart/functions/xml_post_sc.func.php on line 32

CURL, OpenSSL, mCrypt all installed, with PHP support. PHP Info (http://www.canadiandropshipping.com/hello.php3)

/index.php?check_requirements=1
PHP version is OK
MySQL version is OK
Server Information
PHP Version: 4.3.10
MySQL Version: 4.0.23-standard
CURL Version: libcurl/7.13.1 OpenSSL/0.9.7a zlib/1.2.0.7

Where can I manually edit the UPS account info?

Jamie
March 22nd, 2005, 04:43 PM
Hi cfortune,

Manually editing the UPS information won't resolve this. If any of your account information is wrong for some reason, UPS would not time out. It would return an error, which the cart would display. Here is the best way to get to the bottom of it.

1. Test CURL with OpenSSL
Having CURL and OpenSSL show up in the requirements is good, but it doesn't necessarily indicate they are working properly. Open the diag_curl.php file in your browser. It should be at a path as follows:
http://YourWebSite.com/squirrelcart/diag_curl.php

Test the first link. If you get output back, then CURL is working via http. Test the second link. If you get output back, then CURL is working via https (using OpenSSL). If either of these tests fail, then the problem is with CURL/OpenSSL, and your host should be able to fix it for you.

2. Diag mode
If your CURL test is OK, then enable diag mode. You can do this in store settings, or in the "Admin Options" box in the storefront after logging in as admin. With diag mode enabled, make your rate request. You should get a popup window showing the XML data sent to UPS, and the response received back. Judging by the symptoms you described, I'd be suprised if you get any response back.