Post by vbeatz » Sat May 19, 2012 11:16 am

Hello,

Having trouble to enter the site (http://www.weartheluxury.com), because if the error message:

Notice: Undefined index: en in /home/wearthel/public_html/index.php on line 178Notice: Undefined index: en in /home/wearthel/public_html/index.php on line 179Notice: Undefined index: en in /home/wearthel/public_html/index.php on line 182Notice: Undefined index: en in /home/wearthel/public_html/index.php on line 183Notice: Error: Could not load language ! in /home/wearthel/public_html/system/library/language.php on line 39

This happened right after I have tried to add another language. There is no access to admin controls eighther.
Please help to fix this error and install new language.

Thanx a lot...

______________________________________
vbeatz.com


Newbie

Posts

Joined
Sat May 19, 2012 11:05 am

Post by Avvici » Sat May 19, 2012 2:05 pm

Yup, you've locked yourself out lol. You misspelled the English language code. It's looking for 'en' but finding something else. Open up your database in PHP ADMIN. Click on the language table. Find English row and click EDIT. Look for the "code" field and make sure it says "en"
That will fix your problem.

User avatar
Expert Member

Posts

Joined
Tue Apr 05, 2011 12:09 pm
Location - Asheville, NC

Post by vbeatz » Sun May 20, 2012 12:45 am

Thanx a lot, I guess this helped, but there is another error message now:

Notice: Error: Unknown column 'name' in 'order clause'
Error No: 1054
SELECT * FROM language ORDER BY sort_order, name in /home/wearthel/public_html/system/database/mysql.php on line 49

Hm... Don't know what to do...((( Please help...

______________________________________
vbeatz.com


Newbie

Posts

Joined
Sat May 19, 2012 11:05 am

Post by Avvici » Sun May 20, 2012 3:40 am

What version of OC did you upgrade from? You are missing some SQL

User avatar
Expert Member

Posts

Joined
Tue Apr 05, 2011 12:09 pm
Location - Asheville, NC

Post by vbeatz » Sun May 20, 2012 3:58 am

I have bought a template, that works only on 1.5.1.3... Can I just add what is missing? :-)

thanx

______________________________________
vbeatz.com


Newbie

Posts

Joined
Sat May 19, 2012 11:05 am

Post by Avvici » Sun May 20, 2012 4:04 am

The name field in your language table. Remember how to get to it in Php My Admin? You need to add a field called "name"
This is what your language table should look like in 1.5.1.3:
nametable.jpg

nametable.jpg (197.29 KiB) Viewed 6720 times


User avatar
Expert Member

Posts

Joined
Tue Apr 05, 2011 12:09 pm
Location - Asheville, NC

Post by vbeatz » Sun May 20, 2012 4:22 am

thanx!!!!!!!!!!!!!!!!


it worked fo me. I am gonna start learning some stuff not to find myself in such situation again... ;D

______________________________________
vbeatz.com


Newbie

Posts

Joined
Sat May 19, 2012 11:05 am
Who is online

Users browsing this forum: No registered users and 58 guests