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