loles Posted September 14, 2010 Share Posted September 14, 2010 Hi, I created a site near 2 months ago, and I let it be because I had no time. No important info in there, no bank accouts etc.Today, I have returned and I see the "hack attempt" error for all my pages, even the admin ones.I have toke a look in here and in google, and it seams to be a bug for several things. I have seen that it might be for carrier, for duplicated module, for suddenly empty orders...The case is that I did not touch anything for 2 months, and last week I looked at the page and it was ok. Even google is caching the good pages. I don't know how to help this. I'm pretty nervous with this, I have to finish this page right now and I have found now this.And what is most important, I don't want this to happen when the shop will be working.Somebody could give me a way of how to work with this big issue?Thank you very much---pd. If it helps, it gives me that error in firefox, internet explorer, in home page and in admin. Everywhere. Link to comment Share on other sites More sharing options...
loles Posted September 14, 2010 Author Share Posted September 14, 2010 As seen at http://www.prestashop.com/forums/viewthread/63963/general_discussion/hack_attempt I have uncommented in classes/tools.php this lines: static public function displayError($string = 'Hack attempt', $htmlentities = true) { global $_ERRORS; //d(debug_backtrace()); And now, my site show this: Array ( [0] => Array ( [file] => myurl/public_html/classes/Configuration.php [line] => 92 [function] => displayError [class] => Tools [type] => :: [args] => Array ( ) ) [1] => Array ( [file] => myurl/public_html/config/config.inc.php [line] => 145 [function] => get [class] => Configuration [type] => :: [args] => Array ( [0] => PS_COUNTRY_DEFAULT ) ) [2] => Array ( [file] => myurl/public_html/index.php [line] => 3 [args] => Array ( [0] => myurl/public_html/config/config.inc.php ) [function] => include ) ) END Does anybody know what's happening in here?Thank you very much Link to comment Share on other sites More sharing options...
rocky Posted September 15, 2010 Share Posted September 15, 2010 It looks like PS_COUNTRY_DEFAULT is missing from your database for some reason. Try going to Shipping > Countries, selecting a default country in the dropdown, then clicking Save. That should add a default country to your database and hopefully that error message will disappear. Link to comment Share on other sites More sharing options...
loles Posted September 15, 2010 Author Share Posted September 15, 2010 I can't join into my admin! it's not the way. Where could I add it manually? Link to comment Share on other sites More sharing options...
rocky Posted September 15, 2010 Share Posted September 15, 2010 You will need to use phpMyAdmin. Make sure that PS_COUNTRY_DEFAULT exists in the ps_configuration table. If it doesn't, add it with the ID of the country you want to be default. Link to comment Share on other sites More sharing options...
loles Posted September 21, 2010 Author Share Posted September 21, 2010 No way.I tried to install again from 0. Deleted everything.When I try to install it stops at step 3. Seen in other posts from other people with no solution.I deleted everything again and I installed it again with Installatron.The same problem with PS_COUNTRY_DEFAULT.In my Mysql it looks like this: id_configuration name value date_add date_upd 3 PS_COUNTRY_DEFAULT 8 2010-09-21 15:45:24 2010-09-21 15:45:24 So I think its ok. But hack attempt again. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now