Forums / General Questions / blank main_page=checkout_process

blank main_page=checkout_process

Locked

Views: 3,892

Results 1 to 18 of 18
This thread is locked. New replies are disabled.
30 Jun 2010, 10:51 PM
#1
darla avatar

darla

New Zenner

Join Date:
Jun 2010
Posts:
42
Plugin Contributions:
0

blank main_page=checkout_process

Go through the checkout process, hit CONFIRM ORDER button, always goes to dead end blank page (main_page=checkout_process). Just setting up shop- it never worked. Store not live yet.

Link to take a look: http://naturalshave.com/store/index.php?main_page=products_all

Using v1.3.9b, downloaded 3 weeks ago, using FirstData LinkPoint Payment processing module, fully compliant and set up-LIVE production, PEM download, using test credit card from First Data (they say it's not them causing the blank page). Tried a real credit card too. Still the blank page.

New Sidebox module installed

Checked english.php and code is correct (@setlocale(LC_TIME,).

Checked host running mySQL5.0.9.0 and SSL is enabled.

I'm at the end. Can someone let me know what steps to take to make the check out work? Many thanks for your time.

1 Jul 2010, 1:30 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: blank main_page=checkout_process

Upgrade to v1.3.9d is a good idea ...

It sounds like you have a bad or corrupt file on the server ...

Peek in the /cache directory and see what the debug logs tell you whem you get the blank white page ...

Most likely, this is space(s) or blank line(s) after the closing php bracket ?> of one of your files ...

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!]
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!

1 Jul 2010, 2:12 AM
#3
darla avatar

darla

New Zenner

Join Date:
Jun 2010
Posts:
42
Plugin Contributions:
0

Re: blank main_page=checkout_process

Thank you for your help. I had just changed the LinkPoint payment module to TEST successful. Then ran the test credit card and shocked - the CONFIRM ORDER page showed up! Peeked at the page code: <body id="checkoutsuccessBody"> <div id="mainWrapper"> etc.

Then I repeated setting to LIVE production and got the blank page again. Peeked at the code - there was none but: <body></body>

Don't know where to look for this cache directory info. I tried looking in my host account and found this errors: [Wed Jun 30 09:21:36 2010] [error] [client 24.215.178.137] File does not exist: /home/naturals/public_html/store/admin

I thought it was because I followed security directions on changing my admin folder name. But could that have something to do with the issue?

Can you instruct me where to find the cache directory. And what file needs to be corrected? Thanks.

1 Jul 2010, 6:48 AM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: blank main_page=checkout_process

You should have, off your Zen Cart root directory a directory called /cache ... it would be at the same level as the /admin

In v1.3.9+, debug logs are generated and placed there when errors happen and often this is helpful in determining errors to correct the problem ...

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!]
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!

1 Jul 2010, 4:13 PM
#5
darla avatar

darla

New Zenner

Join Date:
Jun 2010
Posts:
42
Plugin Contributions:
0

Re: blank main_page=checkout_process

Thank you again. Found this error repeated over and over: [28-Jun-2010 21:15:40] PHP Fatal error: Cannot redeclare class lphp in /home/naturals/public_html/store/includes/modules/payment/linkpoint_api/class.linkpoint_api.php on line 25

Opened that file. Line 25 (BBEdit) is a comment. So scrolled down to end. Saw ?> on the last line. It's in a color, greenish grey. No space or extra line after. However there is one blank line space above, before the closing brace }

I tried removing the space above - tested and still got a blank page at CONFIRM ORDER. Restored the file then again looked at cache. Saw this entry: [01-Jul-2010 10:02:30] PHP Fatal error: Cannot redeclare class lphp in /home/naturals/public_html/store/includes/modules/payment/linkpoint_api/class.linkpoint_api.php on line 49.
Opened the file again and saw this code on lines marked 47 through 51:

class lphp

{

var $debugging;

Grateful for any direction.

1 Jul 2010, 5:32 PM
#6
darla avatar

darla

New Zenner

Join Date:
Jun 2010
Posts:
42
Plugin Contributions:
0

Re: blank main_page=checkout_process

Here's an idea. Currently I'm working on two Zen sites. Would you expect any problems if I grabbed a copy the the file, class.linkpoint_api.php , from the working site and copied it to the problem site?

Don't know if there are any alterations in place that may prevent this from working. Both sites use link point credit card but they are different clients.

2 Jul 2010, 5:54 AM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: blank main_page=checkout_process

Are both sites the same version of Zen Cart?

What version are you using?

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!]
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!

2 Jul 2010, 8:18 AM
#8
darla avatar

darla

New Zenner

Join Date:
Jun 2010
Posts:
42
Plugin Contributions:
0

Re: blank main_page=checkout_process

Yes both are v1.3.9b They were downloaded less then a week apart. My concern is if there was any client specific data dropped into the code by the Zen functions or by the activation of the LinkPoint module. If not then do you think it should be tried?

Were you able to cypher any solutions from the cache data I supplied?

Always grateful for your help.

2 Jul 2010, 1:44 PM
#9
drbyte avatar

drbyte

Sensei

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

Re: blank main_page=checkout_process

Darla:

My concern is if there was any client specific data dropped into the code by the Zen functions or by the activation of the LinkPoint module.
Out-of-the-box, Zen Cart doesn't store any client-specific data in any ".php" files, other than the "configure.php" files which tell the software how to connect to the database where all the shop's sensitive data is stored.
I can't speak to whether any addons you might install might do differently though.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

2 Jul 2010, 4:10 PM
#10
darla avatar

darla

New Zenner

Join Date:
Jun 2010
Posts:
42
Plugin Contributions:
0

Re: blank main_page=checkout_process

This is a heart breaker. I swapped class.linkpoint_api.php files between the working site and the problem site. Tested. Still came up with a blank page.

Checked cache again: [02-Jul-2010 10:00:02] PHP Fatal error: Cannot redeclare class lphp in /home/naturals/public_html/store/includes/modules/payment/linkpoint_api/class.linkpoint_api.php on line 49

See previous post for copy of line 49.

Does this mean the trouble is not with that specific file? I'm stumped and looking for direction.

2 Jul 2010, 4:21 PM
#11
drbyte avatar

drbyte

Sensei

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

Re: blank main_page=checkout_process

Darla:

Does this mean the trouble is not with that specific file?
Correct.

Fastest way to identify what's wrong is to compare all the files on that site against either the files from the working site or from the original Zen Cart zip.
Ref: http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Diagnosing_Obscure_Issues
Identify all "extra" and "missing" files first, dealing with whatever anomalies you find.
(It's not uncommon for people to rename "abc.php" to "abc.old.php" and end up with similar serious problems because Zen Cart often loads all files ending in ".php". In such cases renaming the file to "abc.old" would have been a smarter choice.)
If the missing/extra check doesn't reveal the problem, then look at "changed" files to see what content differences are causing it.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

3 Jul 2010, 12:39 AM
#12
darla avatar

darla

New Zenner

Join Date:
Jun 2010
Posts:
42
Plugin Contributions:
0

Re: blank main_page=checkout_process

Ajeh, I'm stumped. I dread downloading and starting again. Too much work. Is there anyone that can puzzle this through. I'll gladly compensate. My client is losing patience. Is there an additional resource I can tap? Or have you any direction for me to try?

Always thankful for help.

3 Jul 2010, 1:14 AM
#13
darla avatar

darla

New Zenner

Join Date:
Jun 2010
Posts:
42
Plugin Contributions:
0

Re: blank main_page=checkout_process

Thanks Sensei. I'll follow your directions. I'm on a Mac and just downloaded a similar comparison program, Differencia, now trying to learn how to use it.

Is it possible to know which files might directly impact class.linkpoint_api.php (the file named in the cache) or the actual blank file main_page=checkout_process ? Then just compare those few?

In what folder would I find main_page=checkout_process ?

3 Jul 2010, 2:52 AM
#14
drbyte avatar

drbyte

Sensei

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

Re: blank main_page=checkout_process

If it were that easy I would have suggested that sooner :blush:

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

6 Jul 2010, 4:17 PM
#15
darla avatar

darla

New Zenner

Join Date:
Jun 2010
Posts:
42
Plugin Contributions:
0

Re: blank main_page=checkout_process

Differencia does not work with php files so now I'm on to a new software called FileMerge which comes with Apple's Developer Tools, Changes App. It's supposed to detect even one space difference. We'll see.

6 Jul 2010, 11:10 PM
#16
drbyte avatar

drbyte

Sensei

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

Re: blank main_page=checkout_process

I've heard good things about FileMerge. And, it's free.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

7 Jul 2010, 2:27 AM
#17
darla avatar

darla

New Zenner

Join Date:
Jun 2010
Posts:
42
Plugin Contributions:
0

Re: blank main_page=checkout_process

Would never have guessed but here's the solution. I actually selected Kaleidoscope to compare files. It was intuitive and easy. The 30 day demo was free. I compared dozens of files and found only one small thing to change. When uploaded it made no difference.

Desperate I called a very smart code writer for help. We puzzled together and found the problem was the info passed from the supporting files for the credit card necessary to process – namely shipping and tax. Re-wrote both areas. Nothing still. Then a shameful moment of brilliance - ORDER TOTAL MODULES / shipping / ot_shipping !!!!!! I set the module to false - thinking there's no free shipping here. I should have checked TRUE then, Allow free shipping? FALSE.

It works now!

Thank you for your help. Hallelujah! Free at last!:clap:Free at last!

7 Jul 2010, 3:45 AM
#18
drbyte avatar

drbyte

Sensei

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

Re: blank main_page=checkout_process

LOL ... yes, it's important to make sure the OT modules are active :)

NOTE: Be sure to give some thought to undoing whatever code you rewrote, unless you're sure of what it's doing.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.