Last modified: 2010-05-15 15:52:02 UTC
I've been trying to install MediaWiki, working my way through GoDaddy's PHP 4/5 errors and the tables.sql error with the too many characters stuff, and finally got the wiki installed. During the install, however, I got this same error. I refreshed the page, to see what would happen, and it installed without any more problems. I moved the php file it made after the install, then ran the wiki, and it gave me this error again.
Problem is, I can't find anything on here or on Google that has anything to do with this error, and I know next-to-nothing about this kind of thing, I've been learning as I went along.
I redownloaded the wiki software and copied the new GlobalFunctions.php over the one that's giving the error, but as you can see, nothing changed. I tried to check someone else's GlobalFunctions.php, but there is no line 2126 in theirs, the file ends around line 2020.
So, any help would be greatly appreciated. I don't know what to attach, as I don't imagine attaching my GlobalFunctions would be much help, considering it's identical to the one in the 1.10.0 install file.
Help me, Obi-Wiki Kenobi. You're my only hope.
It sounds like the autoloader is malfunctioning. Are you absolutely certain the file is being executed as PHP5, not PHP4?
Yes. It's a GoDaddy site, so it was having the problem with it launching as PHP4, but I added the .htaccess file last night and corrected that, and it launched fine as a PHP5 file earlier today. Everything ran smoothly until the end of the install, when it gave me the parser error. Then it finished installing fine on the second try, and now it's error-city.
Okay, it must have been a bad file or something. I completely started from scratch, dropped my databases and started over, and did a full re-upload and reinstall, and now it works fine.