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 21 to 37 of 37
This thread is locked. New replies are disabled.
11 Jan 2008, 11:05 PM
#21
scrapgabbie avatar

scrapgabbie

Inactive

Join Date:
Jan 2004
Posts:
57
Plugin Contributions:
1

Getting Blank Page On Checkout after editing files with RTF editor

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.

5 Feb 2008, 3:14 PM
#22
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

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

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

20 Mar 2008, 1:09 AM
#23
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

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?

1 Apr 2008, 1:53 AM
#25
fmckinnon avatar

fmckinnon

New Zenner

Join Date:
Jul 2006
Posts:
84
Plugin Contributions:
0

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

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

1 Apr 2008, 2:00 AM
#26
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 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.

1 Apr 2008, 2:06 AM
#27
fmckinnon avatar

fmckinnon

New Zenner

Join Date:
Jul 2006
Posts:
84
Plugin Contributions:
0

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

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

1 Apr 2008, 2:10 AM
#28
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

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.

1 Apr 2008, 4:46 AM
#29
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'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.

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

1 Apr 2008, 4:53 AM
#30
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

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.

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

1 Apr 2008, 11:43 AM
#31
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

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.

2 Apr 2008, 10:25 PM
#32
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:

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
}

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.

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

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

4 Apr 2008, 2:39 PM
#33
fmckinnon avatar

fmckinnon

New Zenner

Join Date:
Jul 2006
Posts:
84
Plugin Contributions:
0

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

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.

4 Apr 2008, 6:57 PM
#34
johnb10175 avatar

johnb10175

New Zenner

Join Date:
Oct 2007
Posts:
2
Plugin Contributions:
0

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

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

5 Apr 2008, 3:57 AM
#35
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

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 44Related FAQ: https://www.zen-cart.com/tutorials/index.php?article=87

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

25 May 2008, 5:22 PM
#36
traypup avatar

traypup

New Zenner

Join Date:
May 2007
Posts:
56
Plugin Contributions:
0

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:

25 May 2008, 5:32 PM
#37
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 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.