Forums / Upgrading from 1.3.x to 1.3.9 / Getting Blank Page On Checkout after editing files with RTF editor

Getting Blank Page On Checkout after editing files with RTF editor

Locked

Views: 14,390

Results 1 to 20 of 37
This thread is locked. New replies are disabled.
20 Dec 2007, 9:37 PM
#1
breck avatar

breck

Zen Follower

Join Date:
Sep 2007
Posts:
106
Plugin Contributions:
0

Getting Blank Page On Checkout after editing files with RTF editor

I upgraded and worked out a few things that needed changing to look like previous store.

I attempted to make a purchase to test the site.
I selected an item, clicked checkout, shipping options come up.
Left the default shipping selection as is and clicked on 'Continue Checkout' which should calculate taxes and such, but page comes up blank at this point.

Any ideas what I need to check out to get past this point?

22 Dec 2007, 3:57 PM
#3
breck avatar

breck

Zen Follower

Join Date:
Sep 2007
Posts:
106
Plugin Contributions:
0

Re: Getting Blank Page On Checkout after editing files with RTF editor

From reading other posts, I am not the only one with this problem.
I tried what others have suggested with no success.
This was an upgrade and I don't want to start all over with a new install.

22 Dec 2007, 3:59 PM
#4
breck avatar

breck

Zen Follower

Join Date:
Sep 2007
Posts:
106
Plugin Contributions:
0

Re: Getting Blank Page On Checkout after editing files with RTF editor

I checked the payment_checkout file and the new and old are the same size.
That hasn't changed.

22 Dec 2007, 4:27 PM
#5
ajeh avatar

ajeh

Oba-san

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

Re: Getting Blank Page On Checkout after editing files with RTF editor

Usually a blank page is the result of a bad, missing or otherwise corrupt file ...

To help rule out the template, switch to the Classic Template ...

Other things could cause this, perhaps an URL to your site would help us see the problem ...

What version Zen Cart did you upgrade from?

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!

22 Dec 2007, 4:45 PM
#6
breck avatar

breck

Zen Follower

Join Date:
Sep 2007
Posts:
106
Plugin Contributions:
0

Re: Getting Blank Page On Checkout after editing files with RTF editor

I tried changing the templates and get the same blank page on both.

http://www.stuffupforgrab.com

Good to the shipping selection:
http://www.stuffupforgrab.com/store/index.php?main_page=checkout_shipping

Click on continue to goto page with taxes etc.,
At this point I get the blank page:
http://www.stuffupforgrab.com/store/index.php?main_page=checkout_payment

I upgraded from 1.3.7 to 1.3.8

I switched my site back to 1.3.8, so you can see for yourself.

Something else I noticed is that 1.3.7 and 1.3.8 give different quotes for shipping prices.

22 Dec 2007, 4:50 PM
#7
ajeh avatar

ajeh

Oba-san

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

Re: Getting Blank Page On Checkout after editing files with RTF editor

I am getting a lot of blank pages on your site ...

Are you calling images, banners, stats or something from other sites?

Sounds like you may have some bad files loaded throughout your site ...

A bad FTP of file(s) can cause these problems ...

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!

22 Dec 2007, 5:01 PM
#8
breck avatar

breck

Zen Follower

Join Date:
Sep 2007
Posts:
106
Plugin Contributions:
0

Re: Getting Blank Page On Checkout after editing files with RTF editor

I only get the one blank page. Everything else is ok here.
I don't access other sites other than the shipping modules Canadapost and Canpar.

22 Dec 2007, 5:26 PM
#9
drbyte avatar

drbyte

Sensei

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

Re: Getting Blank Page On Checkout after editing files with RTF editor

Which payment modules do you have installed? Which ones are enabled?
What happens if you turn them all off and then try turning them on one-by-one and testing again (just refreshing the blank checkout_payment page)?

Might try similarly with tax rates.

Also, when you upgraded, did you use v1.3.8 or v1.3.8a? Be sure to use 1.3.8a when you do it again.

Furthermore, it is wise to always do your upgrades in a test area, not on your live site.

.
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.

22 Dec 2007, 5:38 PM
#10
breck avatar

breck

Zen Follower

Join Date:
Sep 2007
Posts:
106
Plugin Contributions:
0

Re: Getting Blank Page On Checkout after editing files with RTF editor

Using Paypal Express Checkout. I removed it and put COD.
Got the same blank page.

This is a copy of my 1.3.7 site (test site - upgraded to 1.3.8a)

I deleted all the tax setup and still blank page.

22 Dec 2007, 5:44 PM
#11
drbyte avatar

drbyte

Sensei

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

Re: Getting Blank Page On Checkout after editing files with RTF editor

Okay.
What addons/contributions do you have installed on the site?
What exact steps did you follow to do your upgrade?

.
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.

22 Dec 2007, 6:55 PM
#12
breck avatar

breck

Zen Follower

Join Date:
Sep 2007
Posts:
106
Plugin Contributions:
0

Re: Getting Blank Page On Checkout after editing files with RTF editor

I used these instructions for upgrade:
http://www.zen-cart.com/wiki/index.php/Installation_-_Upgrade

The only thing I have added is the 'blue sky' template.
Maybe Canpar mod if it wasn't in original download.

I also removed the canpar and kept canadapost, still blank screen.

I will try uploading all the files again, but don't see the point since it was tried by others already with no success.

23 Dec 2007, 7:21 AM
#13
drbyte avatar

drbyte

Sensei

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

Re: Getting Blank Page On Checkout after editing files with RTF editor

breck:

but don't see the point since it was tried by others already with no success.Each case is unique.
Your situation is apparently related to the checkout_payment page.

Most of the others I've seen are related to the checkout_process or checkout_success page ... and that's a result of an email problem, for which a fix has been published.

Since yours is failing on the payment screen, it's important to know which payment modules you have enabled. But, you keep talking about shipping modules instead ...

.
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.

23 Dec 2007, 7:35 AM
#14
breck avatar

breck

Zen Follower

Join Date:
Sep 2007
Posts:
106
Plugin Contributions:
0

Re: Getting Blank Page On Checkout after editing files with RTF editor

I already mentioned in a previous reply that I only use Paypal Express Checkout

23 Dec 2007, 1:10 PM
#15
drbyte avatar

drbyte

Sensei

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

Re: Getting Blank Page On Checkout after editing files with RTF editor

Please upload a new file to your site, as follows:

name: /includes/local/configure.php (yes, create the "local" folder if needed)
contents:```

<?php if ($_GET['main_page'] == 'checkout_payment') define ('STRICT_ERROR_REPORTING', true); ?>

.
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.

23 Dec 2007, 4:10 PM
#16
breck avatar

breck

Zen Follower

Join Date:
Sep 2007
Posts:
106
Plugin Contributions:
0

Re: Getting Blank Page On Checkout after editing files with RTF editor

I tried the above and can't view any page of site.
Get the following instead:

Warning: Unexpected character in input: '' (ASCII=92) state=1 in /home4/stuffupf/public_html/store/includes/local/configure.php on line 2

Parse error: syntax error, unexpected T_STRING in /home4/stuffupf/public_html/store/includes/local/configure.php on line 2

23 Dec 2007, 6:52 PM
#17
drbyte avatar

drbyte

Sensei

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

Re: Getting Blank Page On Checkout after editing files with RTF editor

It seems you've made a typo. There were no \ marks in the suggested code.
Please try it again.

.
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.

23 Dec 2007, 9:38 PM
#18
breck avatar

breck

Zen Follower

Join Date:
Sep 2007
Posts:
106
Plugin Contributions:
0

Re: Getting Blank Page On Checkout after editing files with RTF editor

Don't see how it's a typo. I copied and pasted what you put.

I tried 3 times with the same error.
On the fourth attempt, the error never came up.

On clicking on Continue Checkout, still get the blank page.

I opened the includes/local/config.php

And it contains the following now if it helps:

{\rtf1\ansi\ansicpg1252\deff0\deflang4105{\fonttbl{\f0\fswiss\fcharset0 Arial;}}
{*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\f0\fs20 <?php\par if ($_GET['main_page'] == 'checkout_payment') define ('STRICT_ERROR_REPORTING', true);\par ?>\par
}

24 Dec 2007, 6:52 AM
#19
drbyte avatar

drbyte

Sensei

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

Re: Getting Blank Page On Checkout after editing files with RTF editor

breck:

And it contains the following now if it helps:

{\rtf1\ansi\ansicpg1252\deff0\deflang4105{\fonttbl{\f0\fswiss\fcharset0 Arial;}}
{*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\f0\fs20
<?php\par if ($_GET['main_page'] == 'checkout_payment') define ('STRICT_ERROR_REPORTING', true);\par ?>\par
}

Where the heck is all that junk coming from? That's what I was referring to when I said "typo". You'll notice that what you quoted as being in the file is not what I had suggested you put in the file.

What software are you using to edit PHP files?
What software are you using for uploading and downloading files to/from your server?
If it's a microsoft product, dump it and use something reliable.

Perhaps you've got corrupted PHP files on your server as a result of using unreliable tools to do your file uploads ... hence the blank page during checkout.

.
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.

24 Dec 2007, 12:53 PM
#20
breck avatar

breck

Zen Follower

Join Date:
Sep 2007
Posts:
106
Plugin Contributions:
0

Re: Getting Blank Page On Checkout after editing files with RTF editor

I put exactly what you gave me and uploaded it with SmartFTP.

I give up. Going back to my 1.3.7.
Don't have the patience.