Jump to content

Upgrade to 7.0.2 (the "admin area ... directory that is not configured" error)


Recommended Posts

We are testing upgrading to 7.0.2 (using PHP 5.6, CGI mode) from (yes, old, we know) 5.3.14. The upgrade went smoothly, except that we are no longer able to get to the admin area. The error message is "Critical Error: You are attempting to access the admin area via a directory that is not configured. Please either revert to the default admin directory name, or see our documentation for Customising the Admin Directory." We don't use custom admin path previously.

 

So I tried adding '$customadminpath = "admin";' to configuration.php. Still the same error message. If I try using some non-existing directory, e.g. '$customadminpath = "foo";' then the error becomes "Critical Error: You are attempting to access the admin area via a directory that is different from the one configured. Please refer to the Customising the Admin Directory documentation for instructions on how to update it."

 

Any idea how to resolve this? I'm wondering what other check condition WHMCS is using to determine that the admin area directory is "configured". Any hints appreciated.

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