XMB Forum Software

[Resolved] Array.lang.php

OORick - 12-7-2013 at 09:18 AM

Full Board URL: http://www.oowrestling.com/OOForums/
XMB Version: 1.9.11

Attempting to upgrade to 1.9.11, I got the following error:

"A needed file is missing for date translation: ../lang/Array.lang.php. Upgrade halted to prevent damage.

Fatal error: fixBirthdays() stopped the upgrade because language "Array" was missing. in /home/onlineon/public_html/OOForums/upgrade/upgrade.lib.php on line 1936"

Any help?


Rick

lottos - 12-8-2013 at 03:59 AM

Quote: Originally posted by OORick  
Full Board URL: http://www.oowrestling.com/OOForums/
XMB Version: 1.9.11

Attempting to upgrade to 1.9.11


From what?

If you want more info on an upgrade:
http://docs.xmbforum2.com/Webmasters/Upgrades

If you want to upgrade from a version lower then v1.5:
http://docs.xmbforum2.com/Programmers/Old_Schema_Info

OORick - 12-8-2013 at 11:34 PM

I'm upgrading from 1.8 Partagium.

Mouser - 12-9-2013 at 06:26 PM

That is odd.

That probably means that someone has a language file set in their profile called "Array" - which is an error of course.

You can try to search the database (xmb_members table) to see if there is someone like that, and then correct it.

Two things you can do;

Fix it for now;
I assume you have the English.lang.php uploaded to the /lang/ folder?
Upload the file again, but now name it "Array.lang.php"
That should fix that.

Fix it, for now and in the future;
If you can still access your "Admin Panel" --> "Upgrade" , run this:
Code:
UPDATE $table_members SET langfile='English' WHERE langfile = 'Array';

If not, run it in phpmyadmin where you replace "$table_" with the Table Prefix configured in your config.php (by default: xmb_ )

lottos - 12-17-2013 at 08:23 PM

Appears they reverted back to 1.8

Closed.