Zen Cart Logo
Forums / Addon Shipping Modules / Go to checkout button leads to blank page

Go to checkout button leads to blank page

Views: 1,244

Results 1 to 13 of 13
5 Aug 2013, 8:30 PM
#1
rnrn avatar

rnrn

New Zenner

Join Date:
Feb 2011
Location:
North Florida
Posts:
36
Plugin Contributions:
0

Go to checkout button leads to blank page

New problem that just recently started. We've been using zen for years. Yes, we're using an old version. We're in the process of trying to update and move to a new server but it's taking longer than expected.

Anyway, things have been working fine and today a customer calls stating he can't checkout. Further investigation reveals when the Go to checkout button is clicked it goes to a blank white page. Paypal and Google Checkout buttons still work but we also use offline credit card processing. Any ideas on what's going on. We haven't done anything to the zen or database files that should have caused this.

5 Aug 2013, 8:42 PM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,794
Plugin Contributions:
15

Re: Go to checkout button leads to blank page

with a version that old (over 7 years) the first thought is that you have been hacked. Especially with the problem being the chekout button.

You need to perform the steps at http://www.zen-cart.com/wiki/index.php/Recovering_From_Hacks and give us your link in the form of yoursiteDOTcom so that search engines don't pick it up while there's a problem.

5 Aug 2013, 10:32 PM
#3
rnrn avatar

rnrn

New Zenner

Join Date:
Feb 2011
Location:
North Florida
Posts:
36
Plugin Contributions:
0

Re: Go to checkout button leads to blank page

wwwDOTtechdivinglimitedDOTcom

I think we'll just have to step up the update rather than go through those steps. Hopefully that will fix the problem.

Thanks!

6 Aug 2013, 5:28 PM
#4
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,794
Plugin Contributions:
15

Re: Go to checkout button leads to blank page

RNRN:

I think we'll just have to step up the update rather than go through those steps. Hopefully that will fix the problem.You will need to either run through the steps OR make absolutely sure that every file you bring over from the old site is checked against an original.
Many "continuing problems" have been the result of an upgrade without checking what is being brought out of the old site.

Might be best to just load 1.5.1, create a new template, and update the database. Kind of a "Start Over." See http://www.zen-cart.com/entry.php?3-How-do-I-rebuild-my-site-on-the-new-version-instead-of-upgrading

6 Aug 2013, 5:36 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Go to checkout button leads to blank page

RNRN:

Further investigation reveals when the Go to checkout button is clicked it goes to a blank white page.
A blank page is a result of a PHP error. Thus this is the starting point to work from: http://www.zen-cart.com/content.php?124-blank-page

6 Aug 2013, 5:42 PM
#6
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,794
Plugin Contributions:
15

Re: Go to checkout button leads to blank page

Curious, as I get to the login so it is checking for that.

6 Aug 2013, 8:57 PM
#7
rnrn avatar

rnrn

New Zenner

Join Date:
Feb 2011
Location:
North Florida
Posts:
36
Plugin Contributions:
0

Re: Go to checkout button leads to blank page

dbltoe:

You will need to either run through the steps OR make absolutely sure that every file you bring over from the old site is checked against an original.
Many "continuing problems" have been the result of an upgrade without checking what is being brought out of the old site.

Might be best to just load 1.5.1, create a new template, and update the database. Kind of a "Start Over." See http://www.zen-cart.com/entry.php?3-How-do-I-rebuild-my-site-on-the-new-version-instead-of-upgrading

Great article! This helps a lot with the process that we're going through now. The question I have is how do I do this:

c) upgrade the database to the new version
The zc_install script is used to do this in an automated way. Just a couple clicks to take care of keeping all your data intact and bringing its data structure up-to-date to work with the new version.

I have installed a test site and am in the process of making it look like the old site. How do I install the old database in just a couple of clicks?

7 Aug 2013, 1:42 AM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Go to checkout button leads to blank page

RNRN:

I have installed a test site and am in the process of making it look like the old site. How do I install the old database in just a couple of clicks?

To replace your test site's database with the contents of the "old" (aka your "live") database, you make a backup of the "old" database and restore it to your "new"/test database, usually using phpMyAdmin.
Same process as described here really: http://www.zen-cart.com/content.php?142-i-want-to-move-my-zen-cart-installation-to-another-host-or-a-different-server

7 Aug 2013, 3:15 AM
#9
rnrn avatar

rnrn

New Zenner

Join Date:
Feb 2011
Location:
North Florida
Posts:
36
Plugin Contributions:
0

Re: Go to checkout button leads to blank page

Thanks. I copied the old database to the new location but none of the products, customers, orders, etc are showing up. Do I need to upload the old zen files over the new ones? We believe our site may have been hacked so we're trying to avoid using the old zen files.

7 Aug 2013, 3:23 AM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Go to checkout button leads to blank page

You probably skipped the instruction that said to make sure you use the same DB_PREFIX (database tablename prefix) in your NEW site that you're currently using in your OLD site.
Thus, you've now got two sets of tables in your database: one with your new prefix, and one with your old prefix.

So, edit your NEW site's 2 configure.php files and set the DB_PREFIX to be the same as the DB_PREFIX in your old site's configure.php files.

7 Aug 2013, 7:59 PM
#11
rnrn avatar

rnrn

New Zenner

Join Date:
Feb 2011
Location:
North Florida
Posts:
36
Plugin Contributions:
0

Re: Go to checkout button leads to blank page

DrByte:

You probably skipped the instruction that said to make sure you use the same DB_PREFIX (database tablename prefix) in your NEW site that you're currently using in your OLD site.
Thus, you've now got two sets of tables in your database: one with your new prefix, and one with your old prefix.

So, edit your NEW site's 2 configure.php files and set the DB_PREFIX to be the same as the DB_PREFIX in your old site's configure.php files.

I wish it was that simple. They are the same. Actually, both are blank, meaning ' '

This is how I set it up.

7 Aug 2013, 9:12 PM
#12
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Go to checkout button leads to blank page

Well I don't know what to tell you then, since the DB_XXXXXX credentials are what tells your site where the database data is located. If you imported good data and it's not showing up, then you've got something wrong with your DB_XXXXX credentials .... else you didn't import good data.

7 Aug 2013, 10:28 PM
#13
rnrn avatar

rnrn

New Zenner

Join Date:
Feb 2011
Location:
North Florida
Posts:
36
Plugin Contributions:
0

Re: Go to checkout button leads to blank page

I'll check with NetSol. The database is large enough they had to do the transfer. There could have been an issue when they did the transfer.

Thanks for your help!