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, 53 guest(s) and 2 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Parse error after installing Navtap... [ ]
 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
XtremeMotocross
Lieutenant
Lieutenant


Joined: Aug 06, 2003
Posts: 217

Location: USA

PostPosted: Tue Sep 02, 2003 5:00 pm Reply with quoteBack to top

Ok,

I got navtap working on my xtrememotocross site, but i tried to put it on my godsmacked site and i get this parse error

Fatal error: Cannot redeclare translate() (previously declared in /www/x/xtrememotox/htdocs/godsmacked/language/lang-english.php:26) in /www/x/xtrememotox/htdocs/godsmacked/language/lang-english.php on line 26

This is what is line 26 and on looks like...line 26 is the function tanslate...i just took that out to see if that was the actualy problem but then it goes to a problem in the mainfile.php so i put it back in...any ideas why this is happening...all i did was add the contents of the lang-english from the navtap to my lang-english file, i uploaded the images and the navtap.php in the includes directory...

/*****************************************************/
/* Function to translate Datestrings */
/*****************************************************/

function translate($phrase) {
switch($phrase) {
case "xdatestring": $tmp = "%A, %B %d @ %T %Z"; break;
case "linksdatestring": $tmp = "%d-%b-%Y"; break;
case "xdatestring2": $tmp = "%A, %B %d"; break;
default: $tmp = "$phrase"; break;
}
return $tmp;
}

thanks for any help [/quote]

_________________
XM
Find all posts by XtremeMotocrossView user's profileSend private messageVisit poster's websiteAIM Address
XtremeMotocross
Lieutenant
Lieutenant


Joined: Aug 06, 2003
Posts: 217

Location: USA

PostPosted: Tue Sep 02, 2003 11:27 pm Reply with quoteBack to top

fixed it Embarassed

sorry for the unnecessary post

_________________
XM
Find all posts by XtremeMotocrossView user's profileSend private messageVisit poster's websiteAIM Address
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Wed Sep 03, 2003 3:31 pm Reply with quoteBack to top

Hi, what was the fix?

_________________
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
XtremeMotocross
Lieutenant
Lieutenant


Joined: Aug 06, 2003
Posts: 217

Location: USA

PostPosted: Wed Sep 03, 2003 3:33 pm Reply with quoteBack to top

somehow (i do not know) the mainfile.php got all screwed up...i just reuploaded my backup and all was ok. I then reuploaded everything for the navtap and got it working...i guess it was just an error on my part Embarassed

_________________
XM
Find all posts by XtremeMotocrossView user's profileSend private messageVisit poster's websiteAIM Address
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.172 Seconds - 327 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::