Jump to content

WHMCS Corrupt PHP files


nick@molten-servers

Recommended Posts

Hi, we have been using WHMCS without issues for the past 3months.

 

The last 2 weeks have seen corrupt messages pop up for the login.php , dologin.php , index.php and various admin php files.

 

Our customers cant get on to pay bills or order new products with it playing up like this, no changes were made in the 3months we have had it running, ive had to reupload WHMCS every day for the past 2 weeks due to the issue.

 

Right now ive just uploaded it again, after doing so 8hrs ago, its working again for now but not sure if it will last.

 

Our site is http://www.molten-servers.com.au/orderportal

 

Has anyone got some ideas on the issue?

 

I have searched the forums here for the issue and have tried to see if mine is the same, ive run some scans on the webhost and my computers to check for spyware / malware and nothing has come up.

 

Thanks for any help.

 

Nick@molten-servers

Link to comment
Share on other sites

Make a note of the modified timestamp on the files when you upload fresh, and if it recurs, see if that timestamp has changed. As a really wild guess, it's possible someone has access to the account in some way and is trying to change the files. If this account is on a shared server, it's possible someone in a different account had a PHP script compromised or something, allowing elevated access.

 

What is the exact error message, please?

Link to comment
Share on other sites

the exact error is like this with each php giving errors.

/var/www/vhosts/molten-servers.com.au/httpdocs/orderportal/dologin.php is corrupt.

 

Ive just seen some of the template files are showing errors in the logs too.

 

08/11/2010 09:31 Smarty Error: unable to write to $compile_dir '/var/www/vhosts/molten-servers.com.au/httpdocs/orderportal/templates_c'. Be sure $compile_dir is writable by the web server user. System

08/11/2010 09:30 Smarty Error: unable to write to $compile_dir '/var/www/vhosts/molten-servers.com.au/httpdocs/orderportal/templates_c'. Be sure $compile_dir is writable by the web server user. System

 

Im not sure what these are, they may have something to do with our templates.

 

All the accounts are owned and run by me, none of the scripts are connected to eachother so not sure where the error would lie there, ill talk to the guy whos hosting it and see if he can check backend logs for me today.

 

Thanks for your help.

 

Nick@molten-servers

Link to comment
Share on other sites

It looks as though that directory is on the same level as the public files, and making them 777 will fix the write issue, but leave you more open to exploits. You should really look into securing this by getting those moved to a safer spot. There are instructions available in the Wiki.

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