Page MenuHomePhabricator

Class 'Parser' not found on line 2126 GlobalFunctions.php
Closed, DeclinedPublic

Description

Author: thesmid

Description:
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.


Version: 1.10.x
Severity: normal
OS: Linux
Platform: PC
URL: http://www.larfed.com/wiki/index.php

Details

Reference
bz10386

Event Timeline

bzimport raised the priority of this task from to High.Nov 21 2014, 9:52 PM
bzimport set Reference to bz10386.
bzimport added a subscriber: Unknown Object (MLST).

ayg wrote:

It sounds like the autoloader is malfunctioning. Are you absolutely certain the file is being executed as PHP5, not PHP4?

thesmid wrote:

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.

thesmid wrote:

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.

Thanks.