I tried to update the USPS shipping module and, after I removed the old module, the whole right column for installing/removing modules disappeared. There is nothing on the right side after the "action" arrow.
Any suggestions?
Thanks
I tried to update the USPS shipping module and, after I removed the old module, the whole right column for installing/removing modules disappeared. There is nothing on the right side after the "action" arrow.
Any suggestions?
Thanks
sorry for the typo in the header --- please edit
There are two files:
/includes/modules/shipping/usps.php (code file)
/includes/languages/englishmodules/shipping/usps.php (language file)
1 make sure you loaded the files to the right directories
2 make sure you do not have a backup or renamed file that might be loading in the auto-loading directory
Good renamed file:
/includes/modules/shipping/usps.php_OLD
Bad renamed file:
/includes/modules/shipping/usps.php.bak
/includes/modules/shipping/uspsOLD.php
/includes/modules/shipping/usps_OLD.php
/includes/modules/shipping/usps.bak.php
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Thanks, Linda - I have figured it out. It was because of extra files in the /shipping directory (I renamed old files to keep them there).
Now the installation works fine, but I have issues of compatibility with 1.3.7:
1) going to the 1st checkout step, i.e. index.php?main_page=checkout_shipping returns server 500 error.
2) quick quote popup window is empty.
Is there a version compatible with 1.3.7? I have PHP 5.3.23
Thank you!
Last edited by andy1234; 9 Aug 2013 at 12:55 AM.
I have not tried this with v1.3.7 and not sure if I even have that out, outdated, buggy and insecure version installed anywhere that it actually is working ...
I will have to look around and see what I find ...
In your Zen Cart Admin ... if you go to Tools ... Server Info ... what do you see between the Menu bar up to and including the reference to your PHP version?
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Server Host: xxx.com (xxx.xxx.xxx.xxx) Database Host: localhost (127.0.0.1) Server OS: Linux 2.6.18-92.1.13.el5 Database: MySQL 5.5.30-cll Server Date: 08/08/2013 21:06:03 Database Date: 08/08/2013 21:06:03 Server Up Time: 21:06:03 up 178 days, 15:31, 1 user, load average: 0.04, 0.02, 0.00
PHP Version: 5.3.23 (Zend: 2.3.0)HTTP Server: Apache
Zen Cart 1.3.7
Database Patch Level: 1.3.7
v1.3.7 [2007-04-11 18:51:25] (Fresh Installation)
This is the previous USPS version which has been working fine:
/**
* USPS Module for Zen Cart v1.3.x - v1.6
* RateV3 Updates to: January 27, 2013 Version G for CURL
*
* @package shippingMethod
* @copyright Copyright 2003-2013 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: usps.php 18348G 2013-01-27 01:27:00Z ajeh $
*/
The is a new USPS July 28, 2013 J5 version that has been released ...
http://www.zen-cart.com/downloads.php?do=file&id=1292
I am not sure what you may need to adapt in the file, if anything ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Yes, I am trying the same version of Jul 28. Some more details:
1) If i use an international shipping address, it works fine.
2) if I switch to an US address, it generates error 500 on
index.php?main_page=checkout_shipping
and doesn't show anything in the shipping estimate pop-up window.
Any suggestions?
Thanks!
You may need to edit the file:
/includes/modules/shipping/usps.php
and change this line:
to read:Code:class usps extends base {
I do not believe you have to change this line:Code:class usps {
but if you do, try using:Code:function __construct() { // for older php < 5.1.0 change to usps() instead of __construct()
Code:function usps() { // for older php < 5.1.0 change to usps() instead of __construct()
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Bookmarks