Jump to content

Admin Folder has Duplicated Itself


themartin

Recommended Posts

Hi Everyone,

 

I like WHMCS a lot, but I'm pretty new to its inner workings. I've installed it to my server via Installatron about 9 months ago, and have been using Installatron to manage the updates. I just kind of set my clients up and let it do it's thing.

 

I noticed no payments have gone through the last month, so I decided to log in an investigate. Immediately, when I click 'Orders' and a few other links I received the following error:

 

Fatal error: Call to undefined function releasesession() in *filenamevaries*

 

Since installation my admin directory has been a string of gibberish, as recommended for security. Upon looking into this error I noticed I also have an 'admin' folder, with similar files in it. If I log into WHMCS using the /admin directory, there are no such errors. It seems during an update, it's made a new admin directory.

 

I updated my cron to the new directory, and my invoices were generated as normal. I thought I'd rename the old admin folder to see if it was safe to delete, but it seems it's still referenced somewhere. WHMCS complains about missing languages.

 

So my question is, how can I consolidate these two separate admin areas easily?

 

Thank you,

 

Martin

Link to comment
Share on other sites

You should copy everything from the 'admin' directory to your original 'gibberish' admin folder and then delete the admin directory.

 

It sounds like the Installatron doesn't look at the config file (so it knows your admin directory name) and has just copied files into the default admin directory.

Link to comment
Share on other sites

You should copy everything from the 'admin' directory to your original 'gibberish' admin folder and then delete the admin directory.

 

It sounds like the Installatron doesn't look at the config file (so it knows your admin directory name) and has just copied files into the default admin directory.

 

Thank you, these seems to have done the job with no repercussions. I've alerted installatron.

Link to comment
Share on other sites

I have no documentation,

What I do have is 10 years of dealing with the mess that auto installers create when users hit the upgrade buton.

Unless there are NO changes to the site it screws it up.

We have removed the ability to use the update for installatron on all of our servers just to keep this from happening.

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