![]() |
|
Thread Tools |
#1
|
|||
|
|||
Locked out of CP
Hi all, I've managed to get myself locked out of my admin CP after installing a modification. Is there anyway i can get back in?
No members have liked this post.
|
#2
|
||||||||
|
||||||||
Try adding the line:
to the top of the file "/includes/config.php" on your server and this will disable your plugins, and perhaps this will allow you back in. Once you fix the issue, then comment out the line you added as follows:
This way the line of code will be there if you need it in the future. ![]()
__________________
Former vBulletin.org Staff Member ![]() Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons No members have liked this post.
|
#3
|
|||
|
|||
Thanks Mark, excuse my ignorance but where would I find that file?
No members have liked this post.
|
#4
|
||||
|
||||
Go to your forum's root directory, and look for the directory "includes" and in that directory you should find the file "config.php". Download that file to your hard drive, and use an editor such as Notepad++ to add the line of code I posted to the top of the file, just below the opening PHP tag, so that the beginning to the file looks like:
Once you are finished making the edit, then rename the existing file "config.php" on your server to "config_original.php" so in case you messed up editing the file, you rename this back to "config.php" to restore things back to the starting point. Next, upload the edited file to your server (in the "includes" folder), and you should then be able to get into your AdminCP to fix whatever issue there is. Once done, comment out the line you added to "config.php" and upload the file again to your server. ![]()
__________________
Former vBulletin.org Staff Member ![]() Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons No members have liked this post.
|
#5
|
|||
|
|||
Ok thanks Mark, very easy to understand but unfortunately it wont let me rename or upload
![]() No members have liked this post.
|
#6
|
||||
|
||||
What FTP program are you using? I use FileZilla. You should see permissions of 0755 on the folder "inlcudes" and 0644 on the file "config.php".
__________________
Former vBulletin.org Staff Member ![]() Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons No members have liked this post.
|
#7
|
|||
|
|||
Originally Posted by MarkFL
Ah ok, that could be why as i'm trying to do it direct in the server. I'm new to all this and having to learn as I go along so I apologise for my lack of understanding ![]()
![]() The following members like this post: RichieBoy67
|
#8
|
|||
|
|||
I've now got access through filezilla, permissions are as you say but still wont let me change name or upload.
--------------- Added 08 Oct 2016 at 17:40 --------------- Anyone else assist with this? No members have liked this post.
|
#9
|
||||
|
||||
If you are unable to change file names of files on your server, or upload files to your server, then you really need to talk to your host about the problem so they may fix it.
__________________
Former vBulletin.org Staff Member
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before. W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
#10
|
|||
|
|||
This is where the issue is Lynne, I am unable to too due to a business disagreement. Trying to sort this so I can transfer all info over to another server. Just to point out I can add files and rename them normally just not the config one for some reason. This has all happened since installing VBSocial.
--------------- Added 08 Oct 2016 at 18:21 --------------- The just-t4s.co.uk page isn’t working just-t4s.co.uk is currently unable to handle this request. HTTP ERROR 500 This is what I'm getting. No members have liked this post.
|
#11
|
||||
|
||||
So, you may edit and rename any other file but you are unable to edit or rename the config.php file? Do you have cPanel access? Can you edit/rename the file using the File Manager in that?
__________________
Former vBulletin.org Staff Member
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before. W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
#12
|
|||
|
|||
Thanks MarkFL, finally got it to work.
The following members like this post: MarkFL
|
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 05:20.