» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 70
0 members and 70 guests
No Members online
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
Tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Oral Chelation - initial cleansing of your veins & arteries

Register Now! Contact Us

About this Page
This is a discussion on Fatal error: Cannot redeclare translate() within the Purged Topics forums, part of the NM Staff category; Hello again! I am using the Member List module that comes with PHP-Nuke 6.0 and am recieving this ...


Go Back   Nukemods Forum » NM Staff » Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-18-2003, 08:15 AM
Junior Member
 
Join Date: Mar 2003
Posts: 7
Fatal error: Cannot redeclare translate()
Hello again!

I am using the Member List module that comes with PHP-Nuke 6.0 and am recieving this error message when you click on a name in the list...

"Fatal error: Cannot redeclare translate() (previously declared in /home/web/o-company/language/lang-english.php:166) in /home/web/o-company/modules/Your_Account/language/lang-english.php on line 168"

The line of code referenced in the first half of the message (o-company/language/lang-english.php:166) is shown below:

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;
}

The second half of the message (o-company/modules/Your_Account/language/lang-english.php on line 168) appears to be referring to this variable:

define("_EDITUSER","Edit User");

Any idea why it would be failing on this for a redeclare?

Thanks!
Dman
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fatal error MrMakealotofsmoke Nuke 7.x - General 15 02-05-2006 02:41 AM
Fatal error: Cannot redeclare translate after patch 7.8 ijob Nuke 7.x - General 0 10-16-2005 02:08 PM
fatal error ??? Samsung Nuke 6.5 to 6.9 - General 1 02-05-2005 05:22 AM
Fatal Error... skeezmo Nuke 6.5 to 6.9 - General 5 12-03-2004 10:02 PM
Fatal error SureFire Purged Topics 0 06-11-2003 06:08 AM


All times are GMT -5. The time now is 08:03 AM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31