musicmaster Posted October 23, 2012 Share Posted October 23, 2012 (edited) Great to see that 1.5.2 is available! My question is a more mundane: my server was hacked and my index.php files had been filled with iframes pointing to the osbasedreceiva.pl site that according to Google Chrome is a distributor of malware. Replacing the infected files did not help: somehow the hacker still had access to the site and re-infected them (maybe I should have made them read-only). So I chose a more radical solution: I renamed the public_html directory on the server (deleting everything would take too long) and created a new one to which I did a restore from the backup of my hoster. However, although I could so access my webshop (version 1.4.8.2) and even work in the backoffice, my frontoffice fails on the following error: Fatal error: Access to undeclared static property: Smarty::$_CHARSET in /home2/mysite/public_html/myshop/tools/smarty/plugins/modifiercompiler.escape.php on line 30 I have switched off all caches and emptied them but nothing helped. Does anyone have a suggestion? Edited October 24, 2012 by musicmaster (see edit history) Link to comment Share on other sites More sharing options...
musicmaster Posted October 24, 2012 Author Share Posted October 24, 2012 I solved it. It appeared that some 1.5.1 code had been mixed up in my 1.4.8.2 code. Probably a heritage of a failed update attempt. Link to comment Share on other sites More sharing options...
FlyboyBlake Posted November 14, 2012 Share Posted November 14, 2012 (edited) Can you please elaborate on how you fixed the mixed up code? I had almost this exact same problem on my store (running 1.4.8) when I tried to update to 1.5.3. The update failed and I restored the old version through my host provider. I had some trouble getting it back up and running, but eventually got the back end to work by restoring my backup DB. My front end store still won't work, so I turned on debug and tracked down the Fatal Error message, exactly the same message you got. When I tracked down the file cited in the error message, /home2/mysite/public_html/myshop/tools/smarty/plugins/modifiercompiler.escape.php on line 30. Of course, line 30 contains nothing, not even a space, and what's more, is buried in a block of comment syntax (/* */), so shouldn't be affecting the function anyway. … aaaaand that has more than exhausted what I know about .php programming. I'm not a developer, just a regular guy trying to run a webstore in my spare time so I can quit my other job. I don't speak .php real well, so if you could put it in layman's terms, I would very much appreciate it. Edited November 15, 2012 by FlyboyBlake (see edit history) Link to comment Share on other sites More sharing options...
musicmaster Posted November 15, 2012 Author Share Posted November 15, 2012 It is a long time ago so I am not totally sure. But I think I did it by erasing the code (not the pictures) from the server and copying the code from an 1.4.8.2 installation on my test computer that hadn't been updated. Link to comment Share on other sites More sharing options...
FlyboyBlake Posted November 15, 2012 Share Posted November 15, 2012 Thanks very much! Link to comment Share on other sites More sharing options...
Recommended Posts