Forums / Upgrading from 1.3.x to 1.3.9 / blank page after upgrading - checkout_process page

blank page after upgrading - checkout_process page

Locked

Views: 13,647

Results 1 to 20 of 37
This thread is locked. New replies are disabled.
21 Dec 2007, 1:53 AM
#1
askmefor avatar

askmefor

New Zenner

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

blank page after upgrading - checkout_process page

I've updated to ver 1.38, updated database as well1.38...

after I click on confirm order (Step 3 of the check out process) it shows totally Blank Page (index.php?main_page=checkout_process)
not sure what to do in this case... really apreciate your help.
kind regards

21 Dec 2007, 2:10 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: blank page after upgrading - checkout_process page

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

21 Dec 2007, 5:56 AM
#3
askmefor avatar

askmefor

New Zenner

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

Re: blank page after upgrading - checkout_process page

Thank you once again.
after adding a file according to above tutorial, it show heaps of notices, i dont know how to get rid of these.... I've checked the main papes which are included and they do not have any extra spaces at the end,,, and similar things.. please help (http://shop.imranseries.com)
thanks

21 Dec 2007, 6:33 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: blank page after upgrading - checkout_process page

That extra file you added containing STRICT_ERROR_REPORTING turns on all alerts, errors, warnings, and fatal error notices to assist in finding out where your mistake is.

If you remove the file you uploaded from that FAQ, what happens next?

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

21 Dec 2007, 6:37 AM
#5
askmefor avatar

askmefor

New Zenner

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

Re: blank page after upgrading - checkout_process page

askmefor:

Thank you once again.
after adding a file according to above tutorial, it show heaps of notices, i dont know how to get rid of these.... I've checked the main papes which are included and they do not have any extra spaces at the end,,, and similar things.. please help (http://shop.imranseries.com)
thanks
Notice: Trying to get property of non-object in E:\Websites\shop.imranseries.com\includes\classes\order.php on line 337

Notice: Trying to get property of non-object in E:\Websites\shop.imranseries.com\includes\classes\order.php on line 338

Notice: Undefined property: queryFactoryResult::$fields in E:\Websites\shop.imranseries.com\includes\classes\order.php on line 339

Notice: Undefined property: queryFactoryResult::$fields in E:\Websites\shop.imranseries.com\includes\classes\order.php on line 397

Notice: Trying to get property of non-object in E:\Websites\shop.imranseries.com\includes\templates\template_default\templates\tpl_checkout_confirmation_default.php on line 36

Notice: Undefined index: customer_id in E:\Websites\shop.imranseries.com\includes\templates\iC_AthemeV1.3\common\tpl_header.php on line 52

<snip> Moderator note: repeated entries removed for brevity

21 Dec 2007, 6:56 AM
#6
drbyte avatar

drbyte

Sensei

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

Re: blank page after upgrading - checkout_process page

... again, if you remove the extra file which has turned on strict error reporting, what changes in how the pages load?

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

21 Dec 2007, 6:58 AM
#7
askmefor avatar

askmefor

New Zenner

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

Re: blank page after upgrading - checkout_process page

Which extra file you are talking about?

21 Dec 2007, 6:59 AM
#8
drbyte avatar

drbyte

Sensei

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

Re: blank page after upgrading - checkout_process page

And ... what happens if you change the file's contents to say this:```

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



This sort of thing is often just a failed upload or an improperly merged file or two, etc.

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

21 Dec 2007, 7:00 AM
#9
drbyte avatar

drbyte

Sensei

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

Re: blank page after upgrading - checkout_process page

askmefor:

after adding a file according to above tutorial, it show heaps of notices, i dont know how to get rid of these.... I've checked the main papes which are included and they do not have any extra spaces at the end,,, and similar things.. please help (http://shop.imranseries.com)
thanks

DrByte:

... again, if you remove the extra file which has turned on strict error reporting, what changes in how the pages load?

askmefor:

Which extra file you are talking about?
... the one you said you uploaded according to the FAQ.

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

21 Dec 2007, 7:00 AM
#10
askmefor avatar

askmefor

New Zenner

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

Re: blank page after upgrading - checkout_process page

If i remove that file it again shows blank page at checkout_process...

21 Dec 2007, 7:05 AM
#11
askmefor avatar

askmefor

New Zenner

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

Re: blank page after upgrading - checkout_process page

askmefor:

If i remove that file it again shows blank page at checkout_process...

I have changed the page as you mentioned. just to turn on the error and notices on main_page=checkout_process
it gives all those notices

21 Dec 2007, 7:06 AM
#12
drbyte avatar

drbyte

Sensei

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

Re: blank page after upgrading - checkout_process page

askmefor:

I have changed the page as you mentioned. just to turn on the error and notices on main_page=checkout_process
it gives all those notices

What is the browser URL when it's showing all those notices? is it still checkout_process?

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

21 Dec 2007, 7:08 AM
#13
askmefor avatar

askmefor

New Zenner

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

Re: blank page after upgrading - checkout_process page

DrByte:

And ... what happens if you change the file's contents to say this:```

<?php if ($_GET['main_page'] == 'checkout_process') define('STRICT_ERROR_REPORTING', true); ?>
> 
> 
> 
> This sort of thing is often just a failed upload or an improperly merged file or two, etc.

I am not sure which file to look into, as these notices has nothing to do with any of the associated files as I've just added some template files, rest is all standard installation.. and it doesnt matter if I change any template. As I've tested this with different templates including default template. but only "main_page=checkout_process" shows blank if I remove error reporting otherwise it show all those notices.
21 Dec 2007, 7:10 AM
#14
askmefor avatar

askmefor

New Zenner

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

Re: blank page after upgrading - checkout_process page

DrByte:

What is the browser URL when it's showing all those notices? is it still checkout_process?

yes it is same index.php?main_page=checkout_process

21 Dec 2007, 7:11 AM
#15
drbyte avatar

drbyte

Sensei

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

Re: blank page after upgrading - checkout_process page

askmefor:

I am not sure which file to look into, as these notices has nothing to do with any of the associated files as I've just added some template files, rest is all standard installation..

The whole idea of what I'm trying to do is help you find which file is the problem.

Most of the "Notice: xxxxxxxxxxxxxxxx" messages you're seeing can be ignored.
It's the "Fatal Error: xxxxxxxx" messages that must be dealt with. And you should only see one fatal error, and it should show up on the page that is coming up blank.

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

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

drbyte

Sensei

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

Re: blank page after upgrading - checkout_process page

You said you upgraded to 1.3.8. Was it 1.3.8 or 1.3.8a?
What version were you upgrading from?
What addons/contributions are installed on your site?
Which payment modules do you have enabled?
Which payment module are you using to do these test checkouts?

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

21 Dec 2007, 7:17 AM
#17
askmefor avatar

askmefor

New Zenner

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

Re: blank page after upgrading - checkout_process page

DrByte:

The whole idea of what I'm trying to do is help you find which file is the problem.

Most of the "Notice: xxxxxxxxxxxxxxxx" messages you're seeing can be ignored.
It's the "Fatal Error: xxxxxxxx" messages that must be dealt with. And you should only see one fatal error, and it should show up on the page that is coming up blank.

Oh I've just noticed a fatal at the end of all these notices
Fatal error: Unsupported operand types in \includes\classes\class.smtp.php on line 118.
I've open this file. it has got an empty line at the end which i've removed, but still it didnt solve out the problem.

21 Dec 2007, 7:19 AM
#18
drbyte avatar

drbyte

Sensei

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

Re: blank page after upgrading - checkout_process page

askmefor:

Oh I've just noticed a fatal at the end of all these notices
Fatal error: Unsupported operand types in \includes\classes\class.smtp.php on line 118.
I've open this file. it has got an empty line at the end which i've removed, but still it didnt solve out the problem.

That's a bug that was fixed in 1.3.8a:
http://www.zen-cart.com/forum/showthread.php?p=473780#post473780

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

21 Dec 2007, 7:22 AM
#19
askmefor avatar

askmefor

New Zenner

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

Re: blank page after upgrading - checkout_process page

DrByte:

You said you upgraded to 1.3.8. Was it 1.3.8 or 1.3.8a?
What version were you upgrading from?
What addons/contributions are installed on your site?
Which payment modules do you have enabled?
Which payment module are you using to do these test checkouts?

Following is the information I got from admin
Zen Cart 1.3.8
Database Patch Level: 1.3.8
v1.3.8 [2007-12-20 23:50:12] (Version Update 1.3.7->1.3.8)
v1.3.7 [2007-10-24 21:18:28] (Version Update 1.3.6->1.3.7)
v1.3.6 [2007-10-24 21:18:27] (Version Update 1.3.5->1.3.6)
v1.3.5 [2007-10-24 21:18:25] (Version Update 1.3.0.2->1.3.5)
v1.3.0.2 [2006-08-25 23:32:57] (Version Update 1.3.0.1->1.3.0.2)
v1.3.0.1 [2006-08-25 23:32:57] (Version Update 1.3.0->1.3.0.1)
v1.3.0 [2006-08-25 23:32:57] (Version Update 1.2.7->1.3.0)
v1.2.7 [2006-03-20 23:23:54] (Fresh Installation)

I dont have any contribution installted on this.
I've COD, Freecharger, Moneyorder and Paypal enabled.
All these tests are running for freecharger and these are for downloads where i was facing issues in my pervious version.(which was corrupting downloaded files)

21 Dec 2007, 8:36 AM
#20
thewetfish avatar

thewetfish

New Zenner

Join Date:
May 2006
Location:
Wisconsin
Posts:
48
Plugin Contributions:
0

Re: blank page after upgrading - checkout_process page

I am also having the same problem on the same page. I will reinstall hopefully soon, or tomorrow after some needed sleep. If I figure anything out I can post an update.

Matt