webjunk Posted September 10, 2009 Share Posted September 10, 2009 Accessing most things generate a Corrupt files message such as: The file /home/webjunk/public_html/clients/index.php is corrupted The file /home/webjunk/public_html/clients/cart.php is corrupted. and so on. Even the cron job generates that CRON.PHP is corupt, yet when i look at the files they look complete. Can someone telme what has caused this? Do not want this to come back. Also do I need to reinstall or copy files from a backup? Thanks... htt://webjunk.com 0 Quote Link to comment Share on other sites More sharing options...
mylove4life Posted September 10, 2009 Share Posted September 10, 2009 I would reinstall the files to see if that does it. 0 Quote Link to comment Share on other sites More sharing options...
webjunk Posted September 11, 2009 Author Share Posted September 11, 2009 Thanks for the reply. Can someone tell me what WILL fix it. Ido not want to try things. Also would like to know the cause. Have seen other postings with the same problem (no solution mentioned) and do not want this to be a recurring issue. 0 Quote Link to comment Share on other sites More sharing options...
ckh Posted September 11, 2009 Share Posted September 11, 2009 Did you just install whmcs or is it an installation that suddenly started giving you those errors? If you just installed or updated it, make sure you are uploading the files in ascii mode and not binary. You should be able to just replace the files that are giving you the error. As to why it happened, you really didn't give enough info to guess at what caused it. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted September 11, 2009 WHMCS Support Manager Share Posted September 11, 2009 You don't need to re-install, just re-uploading the corrupted files will be sufficient. 0 Quote Link to comment Share on other sites More sharing options...
kullar Posted October 17, 2009 Share Posted October 17, 2009 (edited) i have had the same problem. I had WHMCS installed by a member of the WHMCS team recently. All has been fine. I've then made some changes e.g. to the products/services, configurable options and then to the email templates. I came back later to make more changes and every page i go to gives me a "is corrupted" error. I will re-upload files as you say but I would want to fix the problem at its root and not simply patch a solution whenever it happens. I do not know what the cause is and that worries me. I initially thought it was some other aspect of my server setup (and it still could be) but as other people here have the same problem, I'm guessing it must be with WHMCS rather than anything else. edit: any chance it has anything to do with dreamweaver recently being installed on that server? Sometimes these new programs seem to fiddle with every file in every folder. sounds crazy but worth shouting out about Thanks Edited October 17, 2009 by kullar 0 Quote Link to comment Share on other sites More sharing options...
kullar Posted October 23, 2009 Share Posted October 23, 2009 update: turned out, it was malware on the server! The malware wrote itself to certain files (the .js files within the includes folder - look for an odd document.write statement at the bottom of the iColourpicker.js which points to some odd url). Malware can also infect the index.html files of the rest of your server too. It can insert itself as an <iframe> under the body tags or at the bottom of the page often the iframe points to a url ending in .ru watch out! I figure, if something tries to write itself to certain files within whmcs, the whole application says 'file is corrupt'. 0 Quote Link to comment Share on other sites More sharing options...
MACscr Posted October 23, 2009 Share Posted October 23, 2009 To common reasons for errors like that is: modified files such as the ones you just figured out or the files werent uploaded as binary. 0 Quote Link to comment Share on other sites More sharing options...
raggy786 Posted November 3, 2009 Share Posted November 3, 2009 What files do we need to upload in binary? so it does not happen in future. Can you please let me know also other people would know about this too? Thanks. 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.