
Your solution is OK for viewing but you will have problems when you want to modify texts.
The code *needs* the LANG constant to be correctly defined for various things such as database modification and insertion.
So ideally we do need to know why this isn't working.
If you say that by hardcoding "en" into the path name works it means that the LANG constant is empty for some reason.
You also say that it is set to "en" in the database so it looks like the problem is with the SESSION variable that is defined when the user logs in to define in which language the admin should be shown.
This is selected from the login panel.
Is there any chance that you could check your admin panel to see which languages it offers and also to do an echo on the session variables that the page has. You can do this by simply adding:
- Code: Select all
print_r($_SESSION);
pretty much anywhere on the index.php page (eg after the session_start(); at the top of the page).
I would be happy to take a closer to take a look at this issue myself. If you want me to (I would be interested to know what is happening so that I can help others if they run into the same issue), just send me a pm with your ftp details. I promise not to break anything

Chris