bajjmahal Posted October 2, 2009 Posted October 2, 2009 Hello, Basically somebody hacked my online store and put the base 64 code on every single php file, so i deleted the code on all my files and re-uploaded them all. now I get this message when I goto the homepage: - Warning: require(DIR_WS_LANGUAGES/FILENAME_DEFAULT) [function.require]: failed to open stream: No such file or directory in /home/snainton/public_html/index.php on line 65 Warning: require(DIR_WS_LANGUAGES/FILENAME_DEFAULT) [function.require]: failed to open stream: No such file or directory in /home/snainton/public_html/index.php on line 65 Fatal error: require() [function.require]: Failed opening required 'DIR_WS_LANGUAGES/FILENAME_DEFAULT' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/snainton/public_html/index.php on line 65 and this message when I goto /admin Parse error: syntax error, unexpected T_REQUIRE in /home/snainton/public_html/admin/index.php on line 1 I edited 570 .php files using notepad to get rid of the base 64 code, and then overwrited all the files using flashfxp Thanks in advance if anybody can help me Rob
Xpajun Posted October 2, 2009 Posted October 2, 2009 It's looking for your language file the call is: require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFAULT); there is a possibility that you have left white space before the <?php on your files when cleaning them as well My store is currently running Phoenix 1.0.3.0 I'm currently working on 1.0.7.2 and hope to get it live before 1.0.8.0 arrives (maybe 🙄 ) I used to have a list of add-ons here but I've found that with the ones that supporters of Phoenix get any other add-ons are not really neccessary
bajjmahal Posted October 2, 2009 Author Posted October 2, 2009 It's looking for your language file the call is: require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFAULT); there is a possibility that you have left white space before the <?php on your files when cleaning them as well Damn your right, I didnt think anything of that white space. Thanks alot rob
bajjmahal Posted October 2, 2009 Author Posted October 2, 2009 It's looking for your language file the call is: require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFAULT); there is a possibility that you have left white space before the <?php on your files when cleaning them as well I cleaned the spaces doesnt seem to have solved anything
MrPhil Posted October 2, 2009 Posted October 2, 2009 Do you still have statements like define ('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); in includes/configure.php (both catalog and admin), and define ('FILENAME_DEFAULT', 'index.php'); in includes/filenames.php (both catalog and admin)? It looks like these macro names are undefined. Do you also still have configure.php and filenames.php included or required in the right places?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.