You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 60 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - banner.php Parsing Errors - Dec 6 build... [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
bigbrother
Nuke Cadet
Nuke Cadet


Joined: Dec 08, 2003
Posts: 6


PostPosted: Tue Dec 09, 2003 10:13 am Reply with quoteBack to top

I am getting the following error...

Quote:
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?
Find all posts by bigbrotherView user's profileSend private message
brokenpillar
Nuke Cadet
Nuke Cadet


Joined: Dec 10, 2003
Posts: 7


PostPosted: Wed Dec 10, 2003 8:26 am Reply with quoteBack to top

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...
Find all posts by brokenpillarView user's profileSend private messageSend e-mailVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Wed Dec 10, 2003 8:29 am Reply with quoteBack to top

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]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
bigbrother
Nuke Cadet
Nuke Cadet


Joined: Dec 08, 2003
Posts: 6


PostPosted: Wed Dec 10, 2003 11:28 am Reply with quoteBack to top

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?
Find all posts by bigbrotherView user's profileSend private message
Display posts from previous:      
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.362 Seconds - 250 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::