i18n_js error

Permalink
Hi
Running version 5.4.1.1.
I am unable to edit/add pages because the top menu is gone. Error on site says:
expected '}' in i18n_js, line 45.

And I also get:
ccmi18n is undefined, jquery.colorpicker.js

Any ideas? I have tried disabling caching, pretty urls, emptying cache, uploading all the files once more etc... I'm not to eager to delete the whole site and start from scratch...

Also the site is marked as malware due to this jquery.colorpicker.js by some browsers (opera, Chrome)

 
dylski replied on at Permalink Reply
Have you resolved this? Because I have the same issue and do not know how to fix it. Very frustrating because it was all working last night and I have wasted a couple of hours looking into it.
Mnkras replied on at Permalink Reply
Mnkras
can you re-upload the /concrete directory,
dylski replied on at Permalink Reply
Thanks for the suggestion. The concrete dir has been installed through Simple Scripts so, ironically, it does not look too easy to simply re-install it.

I've found out the problem though. A hack attack as inserted malicious code into all the HTML and PHP files. The code in the PHP files was causing parsing errors. So what appeared to be a problem with concrete js code transpired to be something rather more troubling.

I wrote a script to clean all the files and all seems well now; although I have no idea how the attack got access to rewrite the files.

Thanks.
SuperTore replied on at Permalink Reply
Hi,

It is correct that this is due to a hack. It happend on a few themes I downloaded and installed. Had to delete the hole site and reinstall. But everytime i used these themes the site was hacked. Had to stop using these themes all together...

I think one of the javascripts used for the menu is to blame.
dylski replied on at Permalink Reply
In my case I do not think it was related to one of the themes.

The attack was via an FTP login a few days after my PC at home was compromised. The malware got the FTP passwords from Filezilla's plain-text config file that stores your unencrypted password, even if you log in via sftp.

Lesson learned? If you are going to use Filezilla then do not EVER use passwords, only ssh keys.