nick@molten-servers Posted November 7, 2010 Share Posted November 7, 2010 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 0 Quote Link to comment Share on other sites More sharing options...
bear Posted November 7, 2010 Share Posted November 7, 2010 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? 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted November 7, 2010 Share Posted November 7, 2010 Also check the server logs for a possible HDD coruption 0 Quote Link to comment Share on other sites More sharing options...
nick@molten-servers Posted November 7, 2010 Author Share Posted November 7, 2010 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 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted November 7, 2010 Share Posted November 7, 2010 It appears that the error tells you the answer... check the permissions of the templates_c directory either 777 or for suphp 755 0 Quote Link to comment Share on other sites More sharing options...
nick@molten-servers Posted November 7, 2010 Author Share Posted November 7, 2010 Ok changed permissions on the dir, they were set to 755 will try 777 on them, fingers crossed this works. Thanks 0 Quote Link to comment Share on other sites More sharing options...
bear Posted November 8, 2010 Share Posted November 8, 2010 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. 0 Quote Link to comment Share on other sites More sharing options...
nick@molten-servers Posted November 8, 2010 Author Share Posted November 8, 2010 Thanks Bear, i will get it looked into asap. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.