-
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?
-
Re: Getting Blank Page On Checkout
-
Re: Getting Blank Page On Checkout
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.
-
Re: Getting Blank Page On Checkout
I checked the payment_checkout file and the new and old are the same size.
That hasn't changed.
-
Re: Getting Blank Page On Checkout
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?
-
Re: Getting Blank Page On Checkout
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/...ckout_shipping
Click on continue to goto page with taxes etc.,
At this point I get the blank page:
http://www.stuffupforgrab.com/store/...eckout_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.
-
Re: Getting Blank Page On Checkout
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 ...
-
Re: Getting Blank Page On Checkout
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.
-
Re: Getting Blank Page On Checkout
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.
-
Re: Getting Blank Page On Checkout
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.
-
Re: Getting Blank Page On Checkout
Okay.
What addons/contributions do you have installed on the site?
What *exact* steps did you follow to do your upgrade?
-
Re: Getting Blank Page On Checkout
I used these instructions for upgrade:
http://www.zen-cart.com/wiki/index.p...tion_-_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.
-
Re: Getting Blank Page On Checkout
Quote:
Originally Posted by
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 ...
-
Re: Getting Blank Page On Checkout
I already mentioned in a previous reply that I only use Paypal Express Checkout
-
Re: Getting Blank Page On Checkout
Please upload a new file to your site, as follows:
name: /includes/local/configure.php (yes, create the "local" folder if needed)
contents:
Code:
<?php
if ($_GET['main_page'] == 'checkout_payment') define ('STRICT_ERROR_REPORTING', true);
?>
What happens when you go to the payment page now?
-
Re: Getting Blank Page On Checkout
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
-
Re: Getting Blank Page On Checkout
It seems you've made a typo. There were no \ marks in the suggested code.
Please try it again.
-
Re: Getting Blank Page On Checkout
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
}
-
Re: Getting Blank Page On Checkout
Quote:
Originally Posted by
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.
-
Re: Getting Blank Page On Checkout
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.
-
Re: Getting Blank Page On Checkout
just incase anyone else is experiencing this error (l was), l followed the instructions given, and got the following fatal error:
Fatal error: Call to undefined method ot_insurance::get_order_total() in /home/xxxx/public_html/products/includes/classes/order_total.php on line 181
l then looked for and found an old shipping insurance module in admin that l was no longer using, turned it off, and voila, everything worked again.
-
Re: Getting Blank Page On Checkout
Quote:
Originally Posted by
breck
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.
Try using notepad and using "Auto" mode for upload. Looks like the RTF editor you are using is adding the formatting code to the text
-
Re: Getting Blank Page On Checkout
Well after putting it off for a while, I attempted it again and still got the blank pages. So I said screw it and started from scratch. One thing I did notice is that the Canadapost shipping module had to by upgraded for the new version.
I am thinking that this module was causing the blank screens in the checkout process. Could this be the issue?
-
Re: Getting Blank Page On Checkout
A blank page on checkout is likely a php error but ZC is supressing the error. You need to get this to find out what the error is.
-
Re: Getting Blank Page On Checkout
Hey everyone,
I've getting the same problem, only mine is on the checkout_success page. I've replaced the tpl_checkout_success_default.php in the /includes/templates/template_default/templates directory, and have also uploaded it into my custom template directory at /includes/templates/getskinsnow/templates
I've also uploaded a fresh new copy of the /includes/languages/english/html_includes/define_checkout_success.php file.
nothing seems to resolve this.
ALSO, I've changed to the Classic Green template, and other "stock templates" that come w/ the default install, and the problems occurs there as well - so perhaps, is this issue on the Checkout Confirmation page? I can't see how, since if it were a custom template issue, it wouldn't be happening on the classic template too.
HELP! DrByte, you said something about this being an "email issue" and a patch was available? I've got the lastest version installed, 1.3.8a.
Fred
-
Re: Getting Blank Page On Checkout
I never figured it out either and gave up. I used my old version up until 2 weeks ago and then did a fresh install. Very time consuming since you have to rebuild the entire site. It has to be some kind of bug if several people have the same issue.
-
Re: Getting Blank Page On Checkout
breck,
hate to hear that .. I've also replaced the header in the /modules/pages/checkout_success.
I've installed the debug utility, and nothing is being written into /cache/ and yes, my permissions are correct.
hope someone can shed some light on this ASAP.
Fred
-
Re: Getting Blank Page On Checkout
Yea - I was disappointed on not finding out what the culprit was.
My initial site wasn't to large but was still time consuming starting from scratch.
My site now is getting bigger and growing, and if the next update causes the same issues, I won't be updating. Don't have the patience to go through it all again.
-
Re: Getting Blank Page On Checkout
breck's issue is file corruption, caused by the server or the ftp software, or something akin thereto. An entirely isolated case as far as I can tell ... the only report of such things after over a million downloads of Zen Cart.
Fred, your issue is not the same as breck's ... unless of course you're seeing the same extra junk in the files after uploading them to your server. So, rather than confuse issues, it's better to take your discussion to one of the other places where you've double-posted the identical question.
-
Re: Getting Blank Page On Checkout
Quote:
Originally Posted by
fmckinnon
HELP! DrByte, you said something about this being an "email issue" and a patch was available?
I'm not sure where/what you're referring to.
-
Re: Getting Blank Page On Checkout
When going through check out process, we eventually get blank white page.
I believe it comes after choosing payment and shipping options, then the blank page comes. We posted the pages we were getting that were blank.
-
Re: Getting Blank Page On Checkout
Quote:
Originally Posted by
breck
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
}
Quote:
Originally Posted by
DrByte
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.
Quote:
Originally Posted by
qhome
Try using notepad and using "Auto" mode for upload. Looks like the RTF editor you are using is adding the formatting code to the text
Further confirmation that your editor is what's causing your problems:
http://www.zen-cart.com/forum/showthread.php?t=53327
-
Re: Getting Blank Page On Checkout
hey - FYI, I backed up my entire folder, wiped it clean, and re-installed a fresh copy of the entire shopping cart ... used the same database, and same configure.php files, ran the update command ... everything is working now. The only contributino I've yet to add back in is the Magne ticOne Export tools, which I'll attempt to install/use today.
-
Re: Getting Blank Page On Checkout
I had the same issue on two stores. Run the debugger:
http://70.87.93.162/~broadcas//catalog/
Look that files and replacement them with new files.
My errors were located in these error logs below. I replaced them and started working again. I also never touched or modified those files, which is a mystery.
[04-Apr-2008 13:34:22] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/broadcas/public_html/catalog/includes/languages/english.php:1401) in /home/broadcas/public_html/catalog/includes/init_includes/init_templates.php on line 78
[04-Apr-2008 13:34:22] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/broadcas/public_html/catalog/includes/languages/english.php:1401) in /home/broadcas/public_html/catalog/includes/functions/functions_general.php on line 44
-
Re: Getting Blank Page On Checkout
Quote:
Originally Posted by
johnb10175
I had the same issue on two stores. Run the debugger:
http://70.87.93.162/~broadcas//catalog/
Look that files and replacement them with new files.
My errors were located in these error logs below. I replaced them and started working again. I also never touched or modified those files, which is a mystery.
[04-Apr-2008 13:34:22] PHP Warning: Cannot modify header information -
headers already sent by (output started at /home/broadcas/public_html/catalog
/includes/languages/english.php:1401) in /home/broadcas/public_html/catalog/includes/init_includes/init_templates.php on line 78
[04-Apr-2008 13:34:22] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/broadcas/public_html/catalog/includes/languages/english.php:1401) in /home/broadcas/public_html/catalog/includes/functions/functions_general.php on line 44
Related FAQ: https://www.zen-cart.com/tutorials/index.php?article=87
-
Re: Getting Blank Page On Checkout after editing files with RTF editor
I hope this helps someone else --- I just upgraded from 1.3.7 to 1.3.8
On checkout, on step 2 (checkout payment page), I would get a blank page.
I did the debugger and the error read:
PHP Fatal error: Call to undefined function: get_order_total() in shop/includes/classes/order_total.php on line 181
Someone in this thread mentioned an old shipping insurance mod they had deactivated. I had the Optional Shipping Insurance mod installed and I deactivated it, which fixed the problem. There is an upgrade for it, meant to work in 1.3.8, but I haven't installed it yet.
:hug:
-
Re: Getting Blank Page On Checkout after editing files with RTF editor
I was using a stock install with no additional mods.
Still happened and no fix that I could figure out, so eventually had to re-install the entire site from scratch to get around the problem.