Jump to content

Can't Access Login after Version 5 Upgrade


munman

Recommended Posts

I got hacked via a submitted ticket. After locating files and cleaning up (my host helped), changing passwords, and checking my config file, I did a DB backup and then I uploaded the version 5.0.3 files.

 

I then tried to access http://mydomain.com/whmcs/myadminfolder/login.php (also tried https) to run the install. As soon as the browser tries to access the login.php file, it redirects to https://mydomain.com/whmcs/install/install.php, and then gives me a 404.

 

I can FTP to the login.php file, and it's there....

 

What am I doing wrong? :(

Link to comment
Share on other sites

Have you tried clearing your cache and your templates_c directory on the server?

 

Hi -

Yes, I did both. Still a 404.

 

Is there a WHMCS cache directory that I should be clearing also? If so, where is it? (I cleared my browser cache, not any cache in WHMCS).

 

I'm thinking of wiping the whole WHMCS directory, and doing a fresh install.

My question is (forgive my inexperience, I don't do WHMCS installs every day) - if I do a fresh install from scratch, and then restore my database, my data should all be there, correct?

 

Thanks for your help

Link to comment
Share on other sites

Can anyone help me with these questions?

Thank you.

 

 

Is there a WHMCS cache directory that I should be clearing also? If so, where is it? (I cleared my browser cache, not any cache in WHMCS).

 

I'm thinking of wiping the whole WHMCS directory, and doing a fresh install.

My question is (forgive my inexperience, I don't do WHMCS installs every day) - if I do a fresh install from scratch, and then restore my database, my data should all be there, correct?

 

Link to comment
Share on other sites

Yes, that is correct, if you remove all files, while remembering to save your configuration.php file - then upload the fresh install, upload your config file, that should sort it out.

 

You can also empty your tempates_c directory, if you have not followed the further security steps from WHMCS, then it will be in the base of your install.

Link to comment
Share on other sites

Yes, that is correct, if you remove all files, while remembering to save your configuration.php file - then upload the fresh install, upload your config file, that should sort it out.

So to be clear, to do a fresh install, I would:

  1. Backup my database files
  2. Take a copy of the configuration.php file
  3. Wipe the WHMCS directory
  4. Upload the v 5.0.3 files
  5. Rename my admin folder to match my previous install ???
  6. Replace my copy of the configuration.php file
  7. Restore the database

I have a few styling mods that I would lose, but I can redo those anyway.

Any steps I'm missing?

 

You can also empty your tempates_c directory, if you have not followed the further security steps from WHMCS, then it will be in the base of your install.

 

What does "then it will be the base of your install" mean? I currently have nothing in the templates_c directory.

 

Thank you FlexHost!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated