For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
I am seeing the below code in all 12 CMSMS sites that I manage. I have restored one site from a backup taken last year and the code is there. I have looked at several other of my CMSMS installations and this code is there in all of them. Is this a part of CMSMS or do I have a corrupted copy?My sttes were installed at different times anusing different versions but I have updated them as new versions became available. The code has been trunkated as it was too long to post.
The host is Hostmonster. The code shows up on a View Source on the home page. I have 12 websites that I manage that are running CMSMS. Mostly they are 1.9.4.2 but a couple are a version back. I downloaded the files from the first site that I found this on and searched all the files for the string LEO_HIGHLIGHTS without success so it may be a SQL injection thing.
I found the code in the database in the content_props table. I deleted the code from the table and deleted 2 files in the /tmp directory that also contained the code. I deleted the temp files from Firefos and tried the home page again. The code is still there.
I checked the database and it is gone. I am running out of ideas.
If you were on shared hosting, it's possible you're site got hacked. Probably your index.php got changed. Replace your index.php with the original index.php
I got it fixed. I downloaded a database dump and went through the SQL looking for LEO_. I found the section which was quite large and deleted it. Then I dumped the database and reloaded it. Next I uploaded a frest copy of 1.9.4 and ran the upgrade and it now works. I also have tightened the security settings more and added SiteLock support to the site.