Forums / General Questions / Page not loading when I include cpath in the URL

Page not loading when I include cpath in the URL

Locked
Results 1 to 5 of 5
This thread is locked. New replies are disabled.
07 Jun 2009, 16:56
#1
prodigious avatar

prodigious

New Zenner

Join Date:
Feb 2006
Posts:
20
Plugin Contributions:
0

Page not loading when I include cpath in the URL

Hello everyone,

So suddenly my shopping cart does this odd thing where this URL : http://walkydogusa.com/cart/index.php?main_page=index&cPath=1 gives the
dreaded blank white page, but this URL: http://walkydogusa.com/cart/index.php still works fine, and the rest of the cart seems to work fine through the checkout
process as well.

Thing is, I didn't edit anything and neither did my client, so we're not sure why this suddenly became an issue. Any thoughts on this?


Thanks,
Mike
07 Jun 2009, 17:10
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Posts:
19,793
Plugin Contributions:
2

Re: Page not loading when I include cpath in the URL

I'd install the utility mentioned here and see what it says:

https://www.zen-cart.com/tutorials/index.php?article=82

When I look at the source of your blank page, I see this:

1
2

I've seen that once before, and it may have had something to do with the description being pasted from Word.
07 Jun 2009, 17:29
#3
prodigious avatar

prodigious

New Zenner

Join Date:
Feb 2006
Posts:
20
Plugin Contributions:
0

Re: Page not loading when I include cpath in the URL

Thanks for the quick reply!

Here's what I get with that program:


[07-Jun-2009 12:25:21] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/walkyd/public_html/cart/includes/languages/english/index.php:61) in /home/walkyd/public_html/cart/includes/functions/functions_general.php on line 44


So do you think there's an issue with either of these files? I checked and the /english/index.php hasn't been edited since 3/1/09, and functions_general.php hasn't been edited since 9/28/07.
07 Jun 2009, 17:36
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: Page not loading when I include cpath in the URL

prodigious:

[07-Jun-2009 12:25:21] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/walkyd/public_html/cart/includes/languages/english/index.php:61) in ...

Searching the FAQ area for "headers already sent" brings up this article: https://www.zen-cart.com/tutorials/index.php?article=87
You'll need to fix the error in your english/index.php file
07 Jun 2009, 17:42
#5
prodigious avatar

prodigious

New Zenner

Join Date:
Feb 2006
Posts:
20
Plugin Contributions:
0

Re: Page not loading when I include cpath in the URL

Thanks - it was two extra spaces in index.php. Although, it begs the question, how did this just suddenly happen with no one editing that file since March?