The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon Jul 09, 2012 1:34 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Fri Jul 06, 2012 12:18 pm
Posts: 2
]I recently tried to add another user to my website as an administrator and I tried to change the restriction levels. I may have changed them for the superuser also. All I'm getting is a link to log out and view site. I read on the forum that I need to go through the database to resolve this but I don't have the access to this. If someone could tell me how to do this then it would help a great deal even if it is through the database I could inform the person who set the site up for me to fix it. UPDATE....... One of my administrators managed to log in earlier through the backend and was able to see the control panel but they cannot access the restriction levels.


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
PostPosted: Tue Jul 10, 2012 7:01 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Fri Jul 06, 2012 12:18 pm
Posts: 2
Is there anyone who can give me details on how to go through the database to pass on to the host to fix this?


Top
 Profile  
 
PostPosted: Tue Jul 10, 2012 7:17 pm 
User avatar
Joomla! Exemplar
Joomla! Exemplar

Joined: Fri Aug 12, 2005 7:19 am
Posts: 9319
Location: Leeds, UK
If you have access to your configuration.php file for the Joomla installation on your server:

1.) Using an FTP program connect to your site. Find the configuration.php file and look at the file permissions. If the permissions are 444 or some other value, then change the permissions of the configuration.php file to 644. This will help prevent issues when uploading the changed configuration.php file later in this process.

2.) Download the configuration file.

3.) Open the configuration.php file that was downloaded in a text editor such as notepad++ and add this line

public $root_user='myname';

to the bottom of the list where myname is a username with administrator access that you know the password for. An username that is Author level or higher can also be used in place of a username with administrator access.

4.) Save the configuration.php file and upload it back to the site. You may leave the permissions on the configuration.php file at 644.
This user will now be a temporary super administrator.

This should get you in and you will be able to reset the permissions.

Failing that just restore the site from your backup

_________________
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 



Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group