Zen Cart Logo
Forums / Basic Configuration / my banners STOPPED working

my banners STOPPED working

Locked

Views: 1,110

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
3 Apr 2009, 2:14 AM
#1
fberardi avatar

fberardi

New Zenner

Join Date:
Apr 2009
Posts:
4
Plugin Contributions:
0

my banners STOPPED working

I had banners in the side boxes that were set up in the banner manager. They worked fine for awhile but now do not go to the URLs defined. They go to a blank page with a link back to my site like:
http://briancollinsracing.com/store/index.php?main_page=redirect&action=banner&goto=10 :no:

INSTEAD of the defined URL:
http://machinetechracing.com/files/index.php?id=1

3 Apr 2009, 4:14 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: my banners STOPPED working

You might get the Debug Tool from the Free Add-Ons and see what errors are generated ...

3 Apr 2009, 5:33 AM
#3
fberardi avatar

fberardi

New Zenner

Join Date:
Apr 2009
Posts:
4
Plugin Contributions:
0

Re: my banners STOPPED working

This is the error that gets generated by this utility when I attempt to click on the link in the sidebar:

[02-Apr-2009 23:28:58] PHP Warning: Cannot modify header information - headers already sent by (output started at /home1/custome10/public_html/mysite/store/includes/languages/english.php:1401) in /home1/custome10/public_html/mysite/store/includes/init_includes/init_templates.php on line 78

3 Apr 2009, 5:41 AM
#4
fberardi avatar

fberardi

New Zenner

Join Date:
Apr 2009
Posts:
4
Plugin Contributions:
0

Re: my banners STOPPED working

Not sure what I did to english.php BUT replacing it with the original, fixes the problem. :clap:

3 Apr 2009, 5:52 AM
#5
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,183
Plugin Contributions:
0

Re: my banners STOPPED working

Fb,
Thanks for posting your fix. Glad Ajeh got you up and running again...

3 Apr 2009, 3:30 PM
#6
fberardi avatar

fberardi

New Zenner

Join Date:
Apr 2009
Posts:
4
Plugin Contributions:
0

Re: my banners STOPPED working

AND thanks to all of you!

Here is what I found caused the error:

I tried to change the footer to link to my website. The instructions at https://www.zen-cart.com/tutorials/index.php?article=131 are not exactly helpful.

The instructions say to change the text:
'Copyright © 200* <a href="http://www.zen-cart.com"

Problem was created when I looked at the text and triec to figure out what to do with the extra "dots" and "single quotes" that were there....actual text is:
' <a href="' . zen_href_link(FILENAME_DEFAULT) . '" target="_blank">' . STORE_NAME . '</a>.

My attempts to edit it ended up with:

<a href="http://mysite.com" target="_blank">mysite.com</a>.
and THAT freaked out PHP.

Not sure of the correct syntax to edit the footer!!

3 Apr 2009, 4:04 PM
#7
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,183
Plugin Contributions:
0

Re: my banners STOPPED working

Fb,
LOL, We have all been in your shoes at least once.

Matter of fact, I still make mistakes... :yes: