Site maintenance: Sun 15 Nov, from 20:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / PayPal Express Checkout support / Step 3 brings me to blank page

Step 3 brings me to blank page

Locked

Started by chris32882 on 8 Nov 2008, 7:28 PM · Views: 3,824

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
8 Nov 2008, 7:28 PM
#1
chris32882 avatar

chris32882

Zen Follower

Join Date:
Oct 2008
Location:
Hornell, NY
Posts:
330
Plugin Contributions:
0

Step 3 brings me to blank page

When I recently tested to checkout after I added a few items to shopping cart, selected what shipping I want, and then hit next to go to step 3 to this page http://themccormickshop.com/index.php?main_page=checkout_shipping, its blank, I only have paypal express enabled

Have you visited the (un-official) Zen Cart IRC channel yet?
irc.freenode.net ##zencart

8 Nov 2008, 8:41 PM
#2
marg avatar

marg

Totally Zenned

Join Date:
Mar 2004
Posts:
642
Plugin Contributions:
0

Re: Step 3 brings me to blank page

http://www.zen-cart.com/forum/showthread.php?t=84613

Install this and it will tell you what the error is.
Write the error here and let's see if we can help.
Marg

8 Nov 2008, 9:59 PM
#3
chris32882 avatar

chris32882

Zen Follower

Join Date:
Oct 2008
Location:
Hornell, NY
Posts:
330
Plugin Contributions:
0

Re: Step 3 brings me to blank page

Marg:

http://www.zen-cart.com/forum/showthread.php?t=84613

Install this and it will tell you what the error is.
Write the error here and let's see if we can help.
Marg

Thanks for the info this is what I got!

[08-Nov-2008 15:57:28] PHP Warning:  Wrong parameter count for define() in /home/tms/public_html/includes/languages/english/cherry_zen/meta_tags.php on line 17
[08-Nov-2008 15:57:28] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/tms/public_html/includes/languages/english/modules/shipping/table.php:57) in /home/tms/public_html/includes/functions/functions_general.php on line 44

Have you visited the (un-official) Zen Cart IRC channel yet?
irc.freenode.net ##zencart

9 Nov 2008, 7:17 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: Step 3 brings me to blank page

chris32882:

[08-Nov-2008 15:57:28] PHP Warning: Wrong parameter count for define() in /home/tms/public_html**/includes/languages/english/cherry_zen/meta_tags.php** on** line 17**

You've made a typo on the stated line number of the file mentioned in the error message.

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

9 Nov 2008, 7:32 AM
#5
chris32882 avatar

chris32882

Zen Follower

Join Date:
Oct 2008
Location:
Hornell, NY
Posts:
330
Plugin Contributions:
0

Re: Step 3 brings me to blank page

DrByte:

You've made a typo on the stated line number of the file mentioned in the error message.

The funny thing is, I haven't edited meta_tags.php since 2 weeks ago. But I did edit table.php hrmm I dunno

Have you visited the (un-official) Zen Cart IRC channel yet?
irc.freenode.net ##zencart

9 Nov 2008, 7:40 AM
#6
marg avatar

marg

Totally Zenned

Join Date:
Mar 2004
Posts:
642
Plugin Contributions:
0

Re: Step 3 brings me to blank page

What's on lines 15, 16, 17, 18, & 19 in the file:
includes/languages/english/cherry_zen/meta_tags.php?

10 Nov 2008, 4:41 AM
#7
chris32882 avatar

chris32882

Zen Follower

Join Date:
Oct 2008
Location:
Hornell, NY
Posts:
330
Plugin Contributions:
0

Re: Step 3 brings me to blank page

Marg:

What's on lines 15, 16, 17, 18, & 19 in the file:
includes/languages/english/cherry_zen/meta_tags.php?

Just this :

// Custom Keywords
define('');

// Home Page Only:

Have you visited the (un-official) Zen Cart IRC channel yet?
irc.freenode.net ##zencart

10 Nov 2008, 10:06 AM
#8
marg avatar

marg

Totally Zenned

Join Date:
Mar 2004
Posts:
642
Plugin Contributions:
0

Re: Step 3 brings me to blank page

// Custom Keywords
define('CUSTOM_KEYWORDS', '');

Should look like that

10 Nov 2008, 5:46 PM
#9
chris32882 avatar

chris32882

Zen Follower

Join Date:
Oct 2008
Location:
Hornell, NY
Posts:
330
Plugin Contributions:
0

Re: Step 3 brings me to blank page

Marg:

// Custom Keywords
define('CUSTOM_KEYWORDS', '');

Should look like that

I changed it, still getting blank page

Have you visited the (un-official) Zen Cart IRC channel yet?
irc.freenode.net ##zencart

10 Nov 2008, 5:54 PM
#10
marg avatar

marg

Totally Zenned

Join Date:
Mar 2004
Posts:
642
Plugin Contributions:
0

Re: Step 3 brings me to blank page

Chances are that you've done the same thing with other defines. Check to make sure they are just as the one above is. The define ('CUSTOMWHATEVER','')

<?php
/**
 * @package languageDefines
 * @copyright Copyright 2003-2007 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license [URL]http://www.zen-cart.com/license/2_0.txt[/URL] GNU Public License V2.0
 * @version $Id: meta_tags.php 6668 2007-08-16 10:05:09Z drbyte $
 */
// page title
define('TITLE', '');
// Site Tagline
define('SITE_TAGLINE', '');
// Custom Keywords
define('CUSTOM_KEYWORDS', '');
// Home Page Only:
  define('HOME_PAGE_META_DESCRIPTION', '');
  define('HOME_PAGE_META_KEYWORDS', '');
  // NOTE: If HOME_PAGE_TITLE is left blank (default) then TITLE and SITE_TAGLINE will be used instead.
  define('HOME_PAGE_TITLE', ''); // usually best left blank

// EZ-Pages meta-tags.  Follow this pattern for all ez-pages for which you desire custom metatags. Replace the # with ezpage id.
// If you wish to use defaults for any of the 3 items for a given page, simply do not define it. 
// (ie: the Title tag is best not set, so that site-wide defaults can be used.)
// repeat pattern as necessary
  define('META_TAG_DESCRIPTION_EZPAGE_#','');
  define('META_TAG_KEYWORDS_EZPAGE_#','');
  define('META_TAG_TITLE_EZPAGE_#', '');
// Per-Page meta-tags. Follow this pattern for individual pages you wish to override. This is useful mainly for additional pages.
// replace "page_name" with the UPPERCASE name of your main_page= value, such as ABOUT_US or SHIPPINGINFO etc.
// repeat pattern as necessary
  define('META_TAG_DESCRIPTION_page_name','');
  define('META_TAG_KEYWORDS_PAGE_page_name','');
  define('META_TAG_TITLE_PAGE_page_name', '');
// Review Page can have a lead in:
  define('META_TAGS_REVIEW', 'Reviews: ');
// separators for meta tag definitions
// Define Primary Section Output
  define('PRIMARY_SECTION', ' : ');
// Define Secondary Section Output
  define('SECONDARY_SECTION', ' - ');
// Define Tertiary Section Output
  define('TERTIARY_SECTION', ', ');
// Define divider ... usually just a space or a comma plus a space
  define('METATAGS_DIVIDER', ' ');
// Define which pages to tell robots/spiders not to index
// This is generally used for account-management pages or typical SSL pages, and usually doesn't need to be touched.
  define('ROBOTS_PAGES_TO_SKIP','login,logoff,create_account,account,account_edit,account_history,account_history_info,account_newsletters,account_notifications,account_password,address_book,advanced_search,advanced_search_result,checkout_success,checkout_process,checkout_shipping,checkout_payment,checkout_confirmation,cookie_usage,create_account_success,contact_us,download,download_timeout,customers_authorization,down_for_maintenance,password_forgotten,time_out,unsubscribe,info_shopping_cart,popup_image,popup_image_additional,product_reviews_write,ssl_check');

// favicon setting
// There is usually NO need to enable this unless you need to specify a path and/or a different filename
//  define('FAVICON','favicon.ico');
?>

10 Nov 2008, 8:08 PM
#11
chris32882 avatar

chris32882

Zen Follower

Join Date:
Oct 2008
Location:
Hornell, NY
Posts:
330
Plugin Contributions:
0

Re: Step 3 brings me to blank page

Marg:

Chances are that you've done the same thing with other defines. Check to make sure they are just as the one above is. The define ('CUSTOMWHATEVER','')

<?php /** * @package languageDefines * @copyright Copyright 2003-2007 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license [URL]http://www.zen-cart.com/license/2_0.txt[/URL] GNU Public License V2.0 * @version $Id: meta_tags.php 6668 2007-08-16 10:05:09Z drbyte $ */ // page title define('TITLE', ''); // Site Tagline define('SITE_TAGLINE', ''); // Custom Keywords define('CUSTOM_KEYWORDS', ''); // Home Page Only: define('HOME_PAGE_META_DESCRIPTION', ''); define('HOME_PAGE_META_KEYWORDS', ''); // NOTE: If HOME_PAGE_TITLE is left blank (default) then TITLE and SITE_TAGLINE will be used instead. define('HOME_PAGE_TITLE', ''); // usually best left blank // EZ-Pages meta-tags. Follow this pattern for all ez-pages for which you desire custom metatags. Replace the # with ezpage id. // If you wish to use defaults for any of the 3 items for a given page, simply do not define it. // (ie: the Title tag is best not set, so that site-wide defaults can be used.) // repeat pattern as necessary define('META_TAG_DESCRIPTION_EZPAGE_#',''); define('META_TAG_KEYWORDS_EZPAGE_#',''); define('META_TAG_TITLE_EZPAGE_#', ''); // Per-Page meta-tags. Follow this pattern for individual pages you wish to override. This is useful mainly for additional pages. // replace "page_name" with the UPPERCASE name of your main_page= value, such as ABOUT_US or SHIPPINGINFO etc. // repeat pattern as necessary define('META_TAG_DESCRIPTION_page_name',''); define('META_TAG_KEYWORDS_PAGE_page_name',''); define('META_TAG_TITLE_PAGE_page_name', ''); // Review Page can have a lead in: define('META_TAGS_REVIEW', 'Reviews: '); // separators for meta tag definitions // Define Primary Section Output define('PRIMARY_SECTION', ' : '); // Define Secondary Section Output define('SECONDARY_SECTION', ' - '); // Define Tertiary Section Output define('TERTIARY_SECTION', ', '); // Define divider ... usually just a space or a comma plus a space define('METATAGS_DIVIDER', ' '); // Define which pages to tell robots/spiders not to index // This is generally used for account-management pages or typical SSL pages, and usually doesn't need to be touched. define('ROBOTS_PAGES_TO_SKIP','login,logoff,create_account,account,account_edit,account_history,account_history_info,account_newsletters,account_notifications,account_password,address_book,advanced_search,advanced_search_result,checkout_success,checkout_process,checkout_shipping,checkout_payment,checkout_confirmation,cookie_usage,create_account_success,contact_us,download,download_timeout,customers_authorization,down_for_maintenance,password_forgotten,time_out,unsubscribe,info_shopping_cart,popup_image,popup_image_additional,product_reviews_write,ssl_check'); // favicon setting // There is usually NO need to enable this unless you need to specify a path and/or a different filename // define('FAVICON','favicon.ico'); ?>


Nope checked the file twice everything looks fine, I am going to run the error php again

Have you visited the (un-official) Zen Cart IRC channel yet?
irc.freenode.net ##zencart

11 Nov 2008, 7:28 AM
#12
chris32882 avatar

chris32882

Zen Follower

Join Date:
Oct 2008
Location:
Hornell, NY
Posts:
330
Plugin Contributions:
0

Re: Step 3 brings me to blank page

This is the current error I get now:

[11-Nov-2008 01:27:53] PHP Warning:  Cannot modify header information - headers already sent by 
(output started at /home/tms/public_html/includes/languages/english/modules/shipping/table2.php:57) 
in /home/tms/public_html/includes/functions/functions_general.php on line 44

any ideas?

Have you visited the (un-official) Zen Cart IRC channel yet?
irc.freenode.net ##zencart

11 Nov 2008, 7:30 AM
#13
drbyte avatar

drbyte

Sensei

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

Re: Step 3 brings me to blank page

Same cause as before.
I searched the FAQ area for "headers already sent" and found this article which addresses the error message you are reporting: 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.

11 Nov 2008, 8:55 AM
#14
chris32882 avatar

chris32882

Zen Follower

Join Date:
Oct 2008
Location:
Hornell, NY
Posts:
330
Plugin Contributions:
0

Re: Step 3 brings me to blank page

DrByte:

Same cause as before.
I searched the FAQ area for "headers already sent" and found this article which addresses the error message you are reporting: https://www.zen-cart.com/tutorials/index.php?article=87

It is weird, how something so simple can cause a headache :frusty:

there is 2 line breaks at the end of tables.php file, it fixed the problem.

Thanks again DrByte you ROCK! :cool:

Have you visited the (un-official) Zen Cart IRC channel yet?
irc.freenode.net ##zencart