Hello. Whereever I click on my forums, i keep getting an error similar to this:
QuoteFatal error: Cannot redeclare isnotminusone() (previously declared in /home/kitten/public_html/forums/Sources/Load.php:1028) in /home/kitten/public_html/forums/Sources/Load.php on line 1076
It's never happened before, i do not know why it is happening now.
Please help as soon as possible, if you want to see all the error messages, let me know through email (
[email protected]) and I will send you them.
Thank you in advance.
Hi Wiz
Version please and what is showing on your line 1076 of load.php?
I am running version 1.1 rc1. Please note that this is only one of the error messages. They differ depending on which page you go to. Give me a few minutes to get the code...
...
Have you thought of uninstalling Simpledownload ?
It's not SimpleDownload that is the problem. I did not now until now that the problem was sitewide, not just on the downloads page.
Man this stinks, look like my trial version for Dreamweaver just ended. Anyone know another free code program that counts the lines of code? Thanks.
Any suggestions? This is destroying my entire forums...
http://ConTEXT.cx
Seems like you installed the mod twice.
Umm, why does everything think this is cause by the SimpleDownloads mod?
Thank you for a link to the ConTEXT program, it's one of the best code editors i've seen that is free.
This is what line 1076 says:
// subfunction, just returns true if the given parameter is not equal -1
function isnotminusone($entry) {
return $entry != -1;
}
// subfunction, just returns true if the given parameter is not equal -1
function isnotminusone($entry) {
return $entry != -1;
}
to
// subfunction, just returns true if the given parameter is not equal -1
//function isnotminusone($entry) {
// return $entry != -1;
//}
Try that :)
Also everyone thinks its a mod, because SMF doesn't have "redeclare" errors by default, and thats just php complaining that the same thing is being tried twice and it doesn't like it.
I can't possibly tell you how much I thank you. This has been really stressful for me, and I'm glad that you were able to help me fix the problem. :D