acidglitter Posted May 28, 2008 Share Posted May 28, 2008 or something. since yesterday, everytime i try to go to my site it won't load. i've tried logging ip addresses, and for one ip address, it viewed the home page 1,500 times in less than 24 hours. i'm wondering if its some kind of computer program to hack my site? i have no idea what could be happening. does anyone have any ideas for how to fix this? its incredibly important i get my site running again. (i tried blocking the ip btw..) Quote Link to comment Share on other sites More sharing options...
.josh Posted May 28, 2008 Share Posted May 28, 2008 What do you mean by "I tried blocking the ip" what did you do to block it? Quote Link to comment Share on other sites More sharing options...
acidglitter Posted May 28, 2008 Author Share Posted May 28, 2008 i have the ip addresses saved, and if that ip tried to view the site, the site would stop loading Quote Link to comment Share on other sites More sharing options...
.josh Posted May 28, 2008 Share Posted May 28, 2008 you should go to your cpanel/siteadmin/whatever your host provides for you and block it from there instead of in your script. Quote Link to comment Share on other sites More sharing options...
jonsjava Posted May 28, 2008 Share Posted May 28, 2008 1500 hits in 24 hours isn't much. That's a far cry from a DoS attack. I'm betting PHPFreaks gets more than that per minute, so I doubt that that IP is causing all your problems. Check the CPU usage on the server. if you're on shared hosting, someone may be overdoing something. If you host your own, check your running processes. Quote Link to comment Share on other sites More sharing options...
Psycho Posted May 28, 2008 Share Posted May 28, 2008 i have the ip addresses saved, and if that ip tried to view the site, the site would stop loading  And you are unable to load the site...?  Are you sure 1) It is not your IP, 2) Assuming it is not your IP, that your "fix" is only blocking that IP? Quote Link to comment Share on other sites More sharing options...
xoligy Posted May 28, 2008 Share Posted May 28, 2008 For 1 ip to view a website 1500 times thats alot! I would say its some sort of attack yes do as crayon said and block the ip via the cpanel Quote Link to comment Share on other sites More sharing options...
.josh Posted May 28, 2008 Share Posted May 28, 2008 did you do a lookup on the ip address? Belong to anybody/thing familiar? Quote Link to comment Share on other sites More sharing options...
acidglitter Posted May 28, 2008 Author Share Posted May 28, 2008 thanks for all of the replies! i just tried blocking it from cpanel. i know for sure its not my ip address. and i'm not sure if this has helped. i emailed my server and they said that there was a problem with the mysql database so they restarted it and they said it worked after that, but i went to my site now and its down again. one of the mysql tables is used on the homepage and half of the site. so if someone is messing with that then my whole site is basically down. and i have been able to view other pages that don't use that table. ugh   and i tried looking up that ip. i have no idea who it is. Quote Link to comment Share on other sites More sharing options...
.josh Posted May 28, 2008 Share Posted May 28, 2008 if the pages that don't connect/use your db work and the ones that do use it do not work, then first off, what do you mean by "they don't work?" getting any kind of error messages? Go back to cpanel verify that your info hasn't been changed. Look in the scripts that connect to the db and see if that info hasn't been changed. (I would go ahead and change your info regardless, just to be safe). Quote Link to comment Share on other sites More sharing options...
kengi_ikazuchi Posted May 28, 2008 Share Posted May 28, 2008 You'll have to troubleshoot whatever page you're trying to display then. First off, comment out all your PHP codes so they dont run and try it as a plain HTML page. If that works, then it must be part of your PHP code. Second, comment out all of your codes that deals with any sql queries. If the page displays without error, then it must be part of the Mysql syntax and/or the data. If you're 100% sure your sql syntax is all correct, then the error must be coming from your data. You'll have to use PHPMyadmin or something similar to try to weed out injected codes from bots that contain characters that can cause syntax errors within sql queries (this happened to me before). If you've tried all those steps already and still no luck, then hopefully you'll find the answer soon. Quote Link to comment Share on other sites More sharing options...
acidglitter Posted May 29, 2008 Author Share Posted May 29, 2008 i'm sorry i meant all of the pages using one of the mysql tables won't load. if you go to them the browswer tries to load it for maybe a minute then gives up and just leaves a blank page. there aren't any php or mysql errors. what i think is somehow someone is executing one of the queries so much that its like wearing out the database so it won't load for anyone else. is that possible? Quote Link to comment Share on other sites More sharing options...
BlueSkyIS Posted May 29, 2008 Share Posted May 29, 2008 i suspect you're using a shared database and that the database is overloaded from too many users sharing it. it's probably nothing to do with your site or your code; the database itself is overloaded with too many users besides (and including) you. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.