Everything works except USPS
I've installed a USPS module, plugged in all the info they ask for. When you try to checkout in the cart it goes to a blank white page. I've uninstalled and tried it again and it the cart works with UPS or free shipping, not with USPS. I've uninstalled the files and tried a different USPS module and get the same white page.
PLEASE HELP.
Using a template, I've used it before without any issue.
Re: Everything works except USPS
Sounds like a bad file upload ...
Peek in the /logs directory, what debug logs show when you have USPS installed?
Do you have any errors in the Zen Cart Admin for the Modules ... Shipping?
What are your settings in the Configuration ... Shipping/Packaging ...
What happens if you go to your Zen Cart Admin and go to Tools ... Developers Tool Kit ...
In the bottom input box enter:
usps.php
Then, select Catalog ... click SEARCH ...
What comes up on the lines for:
* @version $Id: usps.php
Re: Everything works except USPS
Quote:
Originally Posted by
Ajeh
Sounds like a bad file upload ...
Peek in the /logs directory, what debug logs show when you have USPS installed?
Do you have any errors in the Zen Cart Admin for the Modules ... Shipping?
What are your settings in the Configuration ... Shipping/Packaging ...
What happens if you go to your Zen Cart Admin and go to Tools ... Developers Tool Kit ...
In the bottom input box enter:
usps.php
Then, select Catalog ... click SEARCH ...
What comes up on the lines for:
* @version $Id: usps.php
The shipping/packing looks like this:
Country of Origin United States
Postal Code 93065 Info
Enter the Maximum Package Weight you will ship 50 Info
Package Tare Small to Medium - added percentage:weight 0:0 Info
Larger packages - added packaging percentage:weight 10:0 Info
Display Number of Boxes and Weight Status 0 Info
Order Free Shipping 0 Weight Status 0 Info
Shipping Estimator Display Settings for Shopping Cart 1 Info
Display Order Comments on Admin Invoice 1 Info
Display Order Comments on Admin Packing Slip 1
Right now the module is deactivated because leaving it on causes the blank page so the Developers Tool Kit displays:
Line #12 : * @version $Id: usps.php 2014-03-07 ajeh Version K3 $
Re: Everything works except USPS
What happens if you test cURL by running on your server"
/includes/extras/curltester.php
do you get any errors?
Do you get any errors in the Modules ... Shipping ... when you look at that page in your Admin?
Did you find any debug logs in the /logs directory?
Re: Everything works except USPS
Quote:
Originally Posted by
Ajeh
What happens if you test cURL by running on your server"
/includes/extras/curltester.php
do you get any errors?
Do you get any errors in the Modules ... Shipping ... when you look at that page in your Admin?
Did you find any debug logs in the /logs directory?
going to myurl/includes/extras/curltester.php gives me a 403-Forbidden error
When I go to Modules / Shipping there are no errors as long as the USPS isn't activated.
The error log has 21 different items many many times (repeats, a total of 9995 of them though all related.
All of them basically start with - [21-Mar-2014 16:10:31 America/Chicago] PHP Warning: date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in BLAH BLAH
Re: Everything works except USPS
Let's start with a fix for that error:
http://www.zen-cart.com/showthread.p...timezone-patch
Then, delete all the error log files in /logs and try again and see what issues come up in the /log directory ...
Re: Everything works except USPS
Quote:
Originally Posted by
Ajeh
Excellent, fixing the timezone issue fixed it. USPS now works as it should. The only issue I see in the error log is:
[26-Mar-2014 22:53:00 America/Chicago] PHP Warning: Invalid argument supplied for foreach() in /home/xxxxxx/public_html/includes/modules/pages/checkout_shipping/header_php.php on line 191
Any idea what this is?
Re: Everything works except USPS
What version of php are you on? You can see it in the Tools ... Server Info ...
Re: Everything works except USPS
Quote:
Originally Posted by
Ajeh
What version of php are you on? You can see it in the Tools ... Server Info ...
PHP Version: 5.3.28 (Zend: 2.3.0)
Re: Everything works except USPS
Could you look in your directory /logs and see what the debug logs are when you hit the blank page?