Forums / Upgrading to 1.5.x / blank page when clicking checkout or paypal button in shopping cart

blank page when clicking checkout or paypal button in shopping cart

Started by darkangel on 16 Jun 2015, 5:08 AM · Views: 8,616

Results 1 to 11 of 11
16 Jun 2015, 5:08 AM
#1
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

blank page when clicking checkout or paypal button in shopping cart

Just upgraded from 1.3.9h to 1.5.4

the image shows that the little arrows are gone from the last two entries.

and

when going to the shopping cart then clicking either the paypal or checkout button goes to a totally blank page.

this is in the log:

[15-Jun-2015 23:45:51 America/Chicago] PHP Warning: include_once(includes/modules/shipping/ups.php): failed to open stream: No such file or directory in /includes/classes/shipping.php on line 58
[15-Jun-2015 23:45:51 America/Chicago] PHP Warning: include_once(): Failed opening 'includes/modules/shipping/ups.php' for inclusion (include_path='.:/opt/php53/lib/php') in /includes/classes/shipping.php on line 58
[15-Jun-2015 23:45:51 America/Chicago] PHP Fatal error: Class 'ups' not found in /includes/classes/shipping.php on line 59

I verified that the shipping.php was in the folder and still uploaded a fresh one
I looked at the file and could not see 'ups' anywhere near those lines
In the modules/shipping folder there is no ups.php but it is not in the 1.5.4 zip either

Responsive template from this site, no template monster

[Attachment no longer available]

Server Information
Server Host: gator4093.hostgator.com (192.185.4.105) Database Host: localhost (127.0.0.1)
Server OS: Linux 3.12.35.1418868451 Database: MySQL 5.5.42-37.1
Server Date: 06/15/2015 23:56:25 Database Date: 06/15/2015 23:56:25
Server Up Time: 23:56:25 up 5 days, 16:59, 0 users, load average: 0.03, 0.01, 0.00 HTTP Server: Apache
PHP Version: 5.3.29 (Zend: 2.3.0) PHP Memory Limit: 256M PHP Safe Mode: Off
PHP File Uploads: On Max Size: 64M POST Max Size: 64M
Database Data Size: 2,166 kB Database Index Size: 954 kB
              [\[IMG\]http://www.designerperfumesnob.com/31coda$/images/logo.gif\[/IMG\]](http://www.zen-cart.com)     **Zen Cart 1.5.4**

 **Database Patch Level:  1.5.4**

v1.5.4 [2015-06-13 22:12:51] (Version Update 1.5.3->1.5.4)
v1.5.3 [2015-06-13 22:12:51] (Version Update 1.5.2->1.5.3)
v1.5.2 [2015-06-13 22:12:51] (Version Update 1.5.1->1.5.2)
v1.5.1 [2015-06-13 22:12:51] (Version Update 1.5.0->1.5.1)
v1.5.0 [2015-06-13 22:12:51] (Version Update 1.3.9->1.5.0)
v1.3.9h [2011-03-15 05:08:33] (Fresh Installation)

How to delete images from my quota...there is no delete button showing from my account here.

16 Jun 2015, 6:09 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: blank page when clicking checkout or paypal button in shopping cart

As you upgraded - were you using ups before???

You can get it here
https://www.zen-cart.com/downloads.php?do=file&id=1293

Zen-Venom Get Bitten

16 Jun 2015, 6:16 AM
#3
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,816
Plugin Contributions:
4

Re: blank page when clicking checkout or paypal button in shopping cart

DarkAngel:

Just upgraded from 1.3.9h to 1.5.4 ...
I've seen this happen sometimes when rebuilding a site and accidentally forgetting to record and remove modules before an upgrade (or forgetting to bring the modules over to the new site). Did you record your shipping and payment modules settings and remove those modules before upgrading?

The error message indicates the Zen Cart database believes you have a UPS shipping module installed (at /includes/modules/shipping/ups.php), however the file(s) for the UPS shipping module are missing.

The easiest solution is usually to bring over the missing files (either from the old site or preferrably by downloading the full set of files for the module - typically at least one module file and one language file).

Another potential solution if no longer using UPS for shipping is visit the Zen Cart admin page for shipping modules (and let it rebuild the list of installed / enabled shipping modules).

I'd also recommend going through all shipping and payment modules (via the Zen Cart administrative page)... Write down the settings for each... And then remove them... Download and install new versions as applicable... Then reapply the settings...

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

16 Jun 2015, 7:11 AM
#4
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: blank page when clicking checkout or paypal button in shopping cart

kobra:

As you upgraded - were you using ups before???

You can get it here
https://www.zen-cart.com/downloads.php?do=file&id=1293

I will ask the owner but I don't think so. she is a drop shipper and I believe the contact does the shipping then sends her and customer the information.

Thanks

16 Jun 2015, 7:16 AM
#5
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: blank page when clicking checkout or paypal button in shopping cart

lhungil:

I've seen this happen sometimes when rebuilding a site and accidentally forgetting to record and remove modules before an upgrade (or forgetting to bring the modules over to the new site). Did you record your shipping and payment modules settings and remove those modules before upgrading?

The error message indicates the Zen Cart database believes you have a UPS shipping module installed (at /includes/modules/shipping/ups.php), however the file(s) for the UPS shipping module are missing.

The easiest solution is usually to bring over the missing files (either from the old site or preferrably by downloading the full set of files for the module - typically at least one module file and one language file).

Another potential solution if no longer using UPS for shipping is visit the Zen Cart admin page for shipping modules (and let it rebuild the list of installed / enabled shipping modules).

I'd also recommend going through all shipping and payment modules (via the Zen Cart administrative page)... Write down the settings for each... And then remove them... Download and install new versions as applicable... Then reapply the settings...

I don't think she had anything but the free shipping mod turned on. I did check her old directories that I downloaded prior to starting this mess and yess there are several shipping files that are in her old folder so will transfer them now. thanks

16 Jun 2015, 8:22 AM
#6
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: blank page when clicking checkout or paypal button in shopping cart

OK added the fedx, ups and usps language/shipping files and now shopping cart behaves as it should and goes through the confirm/checkout process.

The only thing that is is still doing in the shopping cart as well as a few other places is when clicking an empty shopping cart you are greeted with the ---I think, button code names

**Your Shopping Bag is empty. **TEXT_NO_PRODUCTS TEXT_NO_PRODUCTS


I am getting this here and on reviews page when they submit a review I get a sold out image plus text like that above and then if we allow the review it is totally empty.

Should I start a different thread for these issues?

am an idiot and forgot the link if you wish to take a look

http://www.designerperfumesnob.com

16 Jun 2015, 2:33 PM
#7
lruskauff avatar

lruskauff

Totally Zenned

Join Date:
Sep 2008
Location:
WA
Posts:
559
Plugin Contributions:
0

Re: blank page when clicking checkout or paypal button in shopping cart

Hi

I looked at your site on my iPad and I had another issue that you might not have discovered. I could not add to my shopping cart. The button is dimmed. I don't know if it wants me to create an account or what? Also, the main page area is blank and I always have to scroll to see anything.

Linda

16 Jun 2015, 3:35 PM
#8
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: blank page when clicking checkout or paypal button in shopping cart

DarkAngel:

OK added the fedx, ups and usps language/shipping files and now shopping cart behaves as it should and goes through the confirm/checkout process.

The only thing that is is still doing in the shopping cart as well as a few other places is when clicking an empty shopping cart you are greeted with the ---I think, button code names

**Your Shopping Bag is empty.
**TEXT_NO_PRODUCTS
TEXT_NO_PRODUCTS |


I am getting this here and on reviews page when they submit a review I get a sold out image plus text like that above and then if we allow the review it is totally empty.

Should I start a different thread for these issues?

am an idiot and forgot the link if you wish to take a look

http://www.designerperfumesnob.com

Missing language defines for those constants.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

16 Jun 2015, 3:43 PM
#9
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: blank page when clicking checkout or paypal button in shopping cart

lruskauff:

Hi

I looked at your site on my iPad and I had another issue that you might not have discovered. I could not add to my shopping cart. The button is dimmed. I don't know if it wants me to create an account or what? Also, the main page area is blank and I always have to scroll to see anything.

Linda

Regardless of landscpe or portrait orientation?

Template appears to be responsive sheffield blue, is it version 2 or the original?

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

16 Jun 2015, 7:48 PM
#10
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,816
Plugin Contributions:
4

Re: blank page when clicking checkout or paypal button in shopping cart

DarkAngel:

OK added the fedx, ups and usps language/shipping files and now shopping cart behaves as it should and goes through the confirm/checkout process....
If those shipping modules are no longer being used, you can now remove them via the Zen Cart administrative interface (modules -> shipping).

DarkAngel:

... TEXT_NO_PRODUCTS ...
As noted this is a missing language define.

The Zen Cart "out of box" files containing TEXT_NO_PRODUCTS are "/includes/languages/<your languages>/index.php", "/includes/languages/<your languages>/advanced_search.php", and "/includes/languages/<your languages>/advanced_search_results.php". I typically do not directly edit these files (but one can) and instead use the "override" mechanism...

You can create specific alterations to the "default" language files by placing a copy in an "override" folder (use the same name as your theme). You can then make any the necessary changes in the copy. For example: "/includes/languages/<your languages>/blue-dps/index.php", "/includes/languages/<your languages>/blue-dps/advanced_search.php", and "/includes/languages/<your languages>/blue-dps/advanced_search_results.php".

Your call on which way to manage the changes... But either way those are the files I would start by checking (one can grab clean copies from the Zen Cart distribution to compare against).

mc12345678:

.. Template appears to be responsive sheffield blue, is it version 2 or the original?
Good question (which version of the theme is it based upon?). And did you make sure to rename all of the theme override folders when you changed the theme name to "blue-dps"?

I know a few things changed regarding how templates need to be coded between Zen Cart 1.3.x and the latest version of Zen Cart. Have you tried switching to "classic" to see if the problems exist there? (If I had to guess I would guess the text, css, and image related "issues" are related to the template and/or modifications made to the template).

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

16 Jun 2015, 10:35 PM
#11
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: blank page when clicking checkout or paypal button in shopping cart

LOL I wish it were my site cause I would find another less possessed template. granted this is not the updated version of the template cause the owner thinks this one is prettier...it is but besides that it has been issue after issue from the get go.

when I go to the store on my android and finally got her to agree to make the logo smaller to fit screen, I now see the product pages are squished together. and do not fit screen...the buttons were working and now they do not...again.

I think I need to go and take out all her edited files and replace with original template files again and start over.

on the main page there are text and images that are huge but as she wishes and when you scroll you scroll to kingdom com cause lesss is more is not a concept here.

Sorry am frustrated with this template -- it has taken me two month to upgrade her and now even more time wasted....she is not going to like the idea but oh well.

thank you both for your help and i will find out what happened to the define files...they used to be in there.