Fixing a broken site

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.
Post Reply
EoinDubh
Forum Members
Forum Members
Posts: 34
Joined: Sun Feb 28, 2010 12:52 am

Fixing a broken site

Post by EoinDubh »

I have a site that was hacked - a SQL injection attack, and I have cleaned the database and ran an upgrade to 1.9.4.2. During the upgrade I saw the following Smarty errors:
Above header

Code: Select all

string(117) "Smarty error: [in upgrade1.tpl line 16]: syntax error: unrecognized tag 'cycle' (Smarty_Compiler.class.php, line 590)" 
above yellow box below header

Code: Select all

string(123) "Smarty error: [in upgradeheader.tpl line 25]: syntax error: unrecognized tag 'assign' (Smarty_Compiler.class.php, line 590)" 
Each step of the upgrade said that it completed successfully, but when I clicked the link to go to the home page I got:

Code: Select all

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Fatal error: Class 'CmsRoute' not found in /home/lib/classes/class.module.inc.php on line 495
And when I try to access the admin page I get:

Code: Select all

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Notice: Modification of internal data is deprecated: myname in /home/lib/classes/class.cms_variables.php on line 46

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94
ERROR: The CGExtensions module could not be found.

Code: Select all

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Warning: opendir(//home/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /home/lib/translation.functions.php on line 88

Warning: closedir(): supplied argument is not a valid Directory resource in /home/lib/translation.functions.php on line 94

Notice: Modification of internal data is deprecated: myname in /home/lib/classes/class.cms_variables.php on line 46

Fatal error: Class 'feu_smarty' not found in /home/modules/FrontEndUsers/FrontEndUsers.module.php on line 102
I have re-uploaded the Smarty directory and still get the same thing. This process has worked well for me before on other sites that were hit with SQL injection attacks. I had several sites in different accounts on the same hosting service hit at about the same time with the same hack. I need to get this site up at least long enough the get all the CSS, templates and pages copied and then I think I will blow the whole thing away and rebuild from scratch on the different webhost.
replytomk3

Re: Fixing a broken site

Post by replytomk3 »

Hello

For backup and restore strategies, visit links in my signature.

Regarding the error, incorrect config.php paths, cache not cleared, or a module not installed properly can cause a bewildering number of errors, like yours. Three items just mentioned are covered on the forum extensively.
Post Reply

Return to “CMSMS Core”