Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in banners.php on line 105
I can make it go away by turning banners off but I don't think that is a good option... Can anyone maybe shed some light?
brokenpillar Nuke Cadet
Joined: Dec 10, 2003
Posts: 7
Posted:
Wed Dec 10, 2003 8:26 am
I've seen somehting similar on my site, and that line number probably isn't the last place you'll see it. What you can do is open banners.php and go to line 105 (or whatever line it is complaining about) and replace
Quote:
Header("Location: $row['clickurl']");
with
Quote:
Header("Location: $row[clickurl]");
The single quotes need to be taken out for some reason...
Zhen-Xjell Nuke Cops Founder
Joined: Nov 14, 2002
Posts: 5939
Posted:
Wed Dec 10, 2003 8:29 am
Yes that's correct. The bundle will be upgraded to the Nuke Cops site in the next month or two.
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
bigbrother Nuke Cadet
Joined: Dec 08, 2003
Posts: 6
Posted:
Wed Dec 10, 2003 11:28 am
That seems to be easy enough... in searching through banners.php there are multiple occurences. I suspect I will need to correct all of them.
What about the others like 'bid' 'imageurl' 'alttext'? Should those have the quotes removed as well?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum