I'm having trouble logging in to the Joomla backend.

The only way I can access the admin panel is if I add public $root_user="username"; to the configuration.php file.

When I finally logged in, I tried changing the Global Configurations to set all ACL to their defaults so I don't lock myself out again, but I keep getting this message:

enter image description here

I've even tried adding a new Super User but then when I attempt to log in with the new user info it says the password is wrong or I need to make an account... not really sure what's going on at this point. Please help!

  • 1
    Could you please add the contents of your configuration.php to pastebin.com, but replace any sensitive information (database details etc) with XXXX! Please also mention your Joomla version and if you've made any core changes recently or installed any extensions
    – Lodder
    Commented May 3, 2016 at 16:19
  • I'm running Joomla 3.5. Here is the pastebin link: pastebin.com/XP3Ru3G6 I haven't installed any extensions.
    – Amy
    Commented May 3, 2016 at 16:58

3 Answers 3


It seems to me like you have edited some core files and introduced a syntax error. Download files from the same Joomla version you are using and overwrite the current ones.


Either your website was hacked or you (or an extension that you installed) have modified some core files. A quick resolution to this problem is copying over the Joomla files from a fresh Joomla install onto your website (minus the installation and the images folder).


have you tried resetting the admin super user pass? Have try from the below link. You will need to have access to phpmyadmin, Try the last solution in the example:


Hope it helps your problem!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.