Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 05 Oct 2016, 08:46
Dantro Dantro is offline
 
Join Date: Sep 2016
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?
Reply With Quote
  #2  
Old 05 Oct 2016, 09:04
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Try adding the line:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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
Reply With Quote
  #3  
Old 05 Oct 2016, 09:19
Dantro Dantro is offline
 
Join Date: Sep 2016
Thanks Mark, excuse my ignorance but where would I find that file?
Reply With Quote
  #4  
Old 05 Oct 2016, 09:29
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
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:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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
Reply With Quote
  #5  
Old 05 Oct 2016, 09:51
Dantro Dantro is offline
 
Join Date: Sep 2016
Ok thanks Mark, very easy to understand but unfortunately it wont let me rename or upload
Reply With Quote
  #6  
Old 05 Oct 2016, 10:19
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
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
Reply With Quote
  #7  
Old 05 Oct 2016, 10:22
Dantro Dantro is offline
 
Join Date: Sep 2016
Originally Posted by MarkFL View Post
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".
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
Reply With Quote
  #8  
Old 08 Oct 2016, 12:06
Dantro Dantro is offline
 
Join Date: Sep 2016
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?
Reply With Quote
  #9  
Old 08 Oct 2016, 17:59
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
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.)
Reply With Quote
  #10  
Old 08 Oct 2016, 18:03
Dantro Dantro is offline
 
Join Date: Sep 2016
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.
Reply With Quote
  #11  
Old 08 Oct 2016, 20:31
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
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.)
Reply With Quote
  #12  
Old 28 Oct 2016, 02:54
Dantro Dantro is offline
 
Join Date: Sep 2016
Thanks MarkFL, finally got it to work.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 06:52.

Layout Options | Width: Wide Color: