Sinisterly
help - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Coding (https://sinister.li/Forum-Coding)
+--- Forum: PHP (https://sinister.li/Forum-PHP)
+--- Thread: help (/Thread-help--74230)



help - Average - 10-26-2015

Error: 
Fatal error: Call to a member function fetchColumn() on a non-object in X:\wamp\www\Stresser\ajax\login.php on line 101


Line 101:
$attempts=$odb->query("SELECT COUNT(*) FROM `loginlogs` WHERE `ip` = '$ip' AND `username` LIKE '%failed' AND `date` BETWEEN '$date' AND UNIX_TIMESTAMP()")->fetchColumn(0);

Please help someone :c


RE: help - Pirate - 10-26-2015

What are you trying to do lmao


RE: help - Jasper - 10-26-2015

(10-26-2015, 03:40 PM)Pirate Wrote: What are you trying to do lmao

Based on his table "loginlogs", I'm pretty sure he wants to log all the logins.


RE: help - tonakis2108 - 10-26-2015

(10-26-2015, 02:34 PM)Average Wrote: Error: 
Fatal error: Call to a member function fetchColumn() on a non-object in X:\wamp\www\Stresser\ajax\login.php on line 101


Line 101:
$attempts=$odb->query("SELECT COUNT(*) FROM `loginlogs` WHERE `ip` = '$ip' AND `username` LIKE '%failed' AND `date` BETWEEN '$date' AND UNIX_TIMESTAMP()")->fetchColumn(0);

Please help someone :c

The code is from a stresser I presume and you are trying to login but can't?
Is this your stresser?
Is it public?


RE: help - ɘxɘ - 10-26-2015

Give us more infoplease. This is very little info for us to go from. Info like what causes the error, such as trying to login, and is this script public? If so where can we find it. What is the entire source to the file causing the error? Just remove any data like usernames and passwords from it.