oll98 / phpgsb

Automatically exported from code.google.com/p/phpgsb
Other
1 stars 0 forks source link

Error when try to run listupdater.php #15

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. After installing. All my username and password is correct
2. When I try to execute listupdater.php I get this instead:

What is the expected output? What do you see instead?

phpGSB Loaded...
Connected successfully to database server...
Connected to database successfully...

Warning: file_get_contents(nextcheck.dat) [function.file-get-contents]: failed 
to open stream: No such file or directory in 
C:\Users\acer\Desktop\xampp\htdocs\New Folder\phpgsb.class.php on line 175
Allowed to request...
Using googpub-phish-shavar; goog-malware-shavar; ...
Begin MySQL Transaction...

Fatal error: Call to undefined function curl_init() in 
C:\Users\acer\Desktop\xampp\htdocs\New Folder\phpgsb.class.php on line 188

What version of the product are you using? On what operating system?

0.2.2 (BETA) on Vista

Please provide any additional information below.

I use xampp. Thanks in advance.

Original issue reported on code.google.com by terranmaine@gmail.com on 12 Aug 2011 at 12:58

GoogleCodeExporter commented 8 years ago
OK I move my directory to root and create the file nextcheck.dat my self. Run 
listupdater.php again and left me with this final error:

phpGSB Loaded...
Connected successfully to database server...
Connected to database successfully...
Allowed to request...
Using googpub-phish-shavar; goog-malware-shavar; ...
Begin MySQL Transaction...

Fatal error: Call to undefined function curl_init() in 
C:\Users\acer\Desktop\xampp\htdocs\phpgsb.class.php on line 188

Any help is appreciated. Thank you.

Original comment by terranmaine@gmail.com on 12 Aug 2011 at 3:02

GoogleCodeExporter commented 8 years ago
Latest update - 

I move my file from localhost to live server just want to see any differences 
and there is.

The database is successfully update and I must wait for the next update. The 
domain test shows false for both domain but I understand I need to wait at 
least 24 hours before the database update is completed.

Now off to set my cron job :)

Thanks sam

Original comment by terranmaine@gmail.com on 12 Aug 2011 at 3:25

GoogleCodeExporter commented 8 years ago
Yup, you'll need to have the listupdater.php running on a one minute cron job 
for at least 24 hours. (It doesn't actually "run" every minute but is needed to 
cater for fallback procedures etc). 
The curl_init() error is caused because you don't have curl installed on your 
local computer, you can do that on xampp something like xampp/php/php.ini and 
in there uncomment the line with a curl .dll on.

Original comment by cleaver....@gmail.com on 12 Aug 2011 at 6:26

GoogleCodeExporter commented 8 years ago
ahh thank you for the curl trick. Curl is enable now. The .cn domain is showing 
as true. :)

Thank you again Sam

Original comment by terranmaine@gmail.com on 12 Aug 2011 at 11:21

GoogleCodeExporter commented 8 years ago
Anytime :)

Original comment by cleaver....@gmail.com on 12 Aug 2011 at 6:57

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
153.5 MiB - That's the maximum size of the database after 19 hours. The 
database size is not increasing even after a few update.

Original comment by terranmaine@gmail.com on 12 Aug 2011 at 11:15

GoogleCodeExporter commented 8 years ago
Can you confirm that the records in the tables are not increasing?

Original comment by cleaver....@gmail.com on 13 Aug 2011 at 9:47

GoogleCodeExporter commented 8 years ago
154.5 MiB in my phpmyadmin after more than 40 hours. Is it an error?

Original comment by terranmaine@gmail.com on 13 Aug 2011 at 11:04

GoogleCodeExporter commented 8 years ago
It could be that your database is now in sync with Google, are the number of 
records in the database changing at all (say every hour)? (The size of the 
database could remain the same but the number of records in each table may 
vary).

Original comment by cleaver....@gmail.com on 14 Aug 2011 at 10:03

GoogleCodeExporter commented 8 years ago
It's true. For some reason my records in database change every time I refresh 
my phpmyadmin even after finish updating. My recored is changing every seconds. 
How is this possible?

Original comment by terranmaine@gmail.com on 14 Aug 2011 at 7:18

GoogleCodeExporter commented 8 years ago
when i update database setting in listupdater.php, it give me below 
errors/warnings.

php listupdater.php 
phpGSB Loaded...<br/>Connected successfully to database server...<br/>Connected 
to database successfully...<br/>PHP Warning:  file_get_contents(nextcheck.dat): 
failed to open stream: No such file or directory in 
/scripts/safe/phpgsb.class.php on line 175
PHP Stack trace:
PHP   1. {main}() /scripts/safe/listupdater.php:0
PHP   2. phpGSB->runUpdate() /scripts/safe/listupdater.php:15
PHP   3. phpGSB->checkTimeout() /scripts/safe/phpgsb.class.php:616
PHP   4. file_get_contents() /scripts/safe/phpgsb.class.php:175
Allowed to request...<br/>PHP Notice:  Undefined variable: start in 
/scripts/safe/phpgsb.class.php on line 473
PHP Stack trace:
PHP   1. {main}() /scripts/safe/listupdater.php:0
PHP   2. phpGSB->runUpdate() /scripts/safe/listupdater.php:15
PHP   3. phpGSB->formattedRequest() /scripts/safe/phpgsb.class.php:619
PHP   4. phpGSB->getFullRanges() /scripts/safe/phpgsb.class.php:493
PHP   5. phpGSB->getRanges() /scripts/safe/phpgsb.class.php:485
PHP Notice:  Undefined variable: start in /scripts/safe/phpgsb.class.php on 
line 473
PHP Stack trace:
PHP   1. {main}() /scripts/safe/listupdater.php:0
PHP   2. phpGSB->runUpdate() /scripts/safe/listupdater.php:15
PHP   3. phpGSB->formattedRequest() /scripts/safe/phpgsb.class.php:619
PHP   4. phpGSB->getFullRanges() /scripts/safe/phpgsb.class.php:493
PHP   5. phpGSB->getRanges() /scripts/safe/phpgsb.class.php:486
PHP Notice:  Undefined variable: start in /scripts/safe/phpgsb.class.php on 
line 473
PHP Stack trace:
PHP   1. {main}() /scripts/safe/listupdater.php:0
PHP   2. phpGSB->runUpdate() /scripts/safe/listupdater.php:15
PHP   3. phpGSB->formattedRequest() /scripts/safe/phpgsb.class.php:619
PHP   4. phpGSB->getFullRanges() /scripts/safe/phpgsb.class.php:493
PHP   5. phpGSB->getRanges() /scripts/safe/phpgsb.class.php:485
PHP Notice:  Undefined variable: start in /scripts/safe/phpgsb.class.php on 
line 473
PHP Stack trace:
PHP   1. {main}() /scripts/safe/listupdater.php:0
PHP   2. phpGSB->runUpdate() /scripts/safe/listupdater.php:15
PHP   3. phpGSB->formattedRequest() /scripts/safe/phpgsb.class.php:619
PHP   4. phpGSB->getFullRanges() /scripts/safe/phpgsb.class.php:493
PHP   5. phpGSB->getRanges() /scripts/safe/phpgsb.class.php:486
Using googpub-phish-shavar;
goog-malware-shavar;
...<br/>Begin MySQL Transaction...<br/>PHP Warning:  
file_get_contents(nextcheck.dat): failed to open stream: No such file or 
directory in /scripts/safe/phpgsb.class.php on line 163
PHP Stack trace:
PHP   1. {main}() /scripts/safe/listupdater.php:0
PHP   2. phpGSB->runUpdate() /scripts/safe/listupdater.php:15
PHP   3. phpGSB->getData() /scripts/safe/phpgsb.class.php:621
PHP   4. phpGSB->setTimeout() /scripts/safe/phpgsb.class.php:547
PHP   5. file_get_contents() /scripts/safe/phpgsb.class.php:163
PHP Notice:  Undefined offset: 1 in /scripts/safe/phpgsb.class.php on line 164
PHP Stack trace:
PHP   1. {main}() /scripts/safe/listupdater.php:0
PHP   2. phpGSB->runUpdate() /scripts/safe/listupdater.php:15
PHP   3. phpGSB->getData() /scripts/safe/phpgsb.class.php:621
PHP   4. phpGSB->setTimeout() /scripts/safe/phpgsb.class.php:547
Saved a chunk file...<br/>Saved a chunk file...<br/>Saved a chunk 
file...<br/>Saved a chunk file...<br/>Saved a chunk file...<br/>Saved a chunk 
file...<br/>Saved a chunk file...<br/>PHP Notice:  Undefined offset: 1 in 
/scripts/safe/phpgsb.class.php on line 336
PHP Stack trace:
PHP   1. {main}() /scripts/safe/listupdater.php:0
PHP   2. phpGSB->runUpdate() /scripts/safe/listupdater.php:15
PHP   3. phpGSB->getData() /scripts/safe/phpgsb.class.php:621
PHP   4. phpGSB->processChunks() /scripts/safe/phpgsb.class.php:572
Saved a chunk file...<br/>Saved a chunk file...<br/>Saved a chunk 
file...<br/>Saved a chunk file...<br/>Saved a chunk file...<br/>Saved a chunk 
file...<br/>Saved a chunk file...<br/>Saved a chunk file...<br/>Saved a chunk 
file...<br/>Saved a chunk file...<br/>Saved a chunk file...<br/>Saved a chunk 
file...<br/>Comitting Transaction...<br/>Closing phpGSB. (Peak Memory: 
3.015MB)...<br/>

Original comment by keratinusa11@gmail.com on 6 Dec 2011 at 9:15

GoogleCodeExporter commented 8 years ago
when i update lookup.php and run it from command line, it give me.

php lookup.php 
phpGSB Loaded...<br/>Connected successfully to database server...<br/>Connected 
to database successfully...<br/>bool(false)
bool(false)
Closing phpGSB. (Peak Memory: 0.741MB)...<br/>

How i can check my website status from malware if these warnings are coming.

Original comment by keratinusa11@gmail.com on 6 Dec 2011 at 9:18

GoogleCodeExporter commented 8 years ago
I have run again and again my database size is not increasing, it show me total 
152K. Please suggest what should i do.

Original comment by keratinusa11@gmail.com on 6 Dec 2011 at 9:44

GoogleCodeExporter commented 8 years ago
Moved new questions to seperate issue thread.
http://code.google.com/p/phpgsb/issues/detail?id=19

Original comment by cleaver....@gmail.com on 6 Dec 2011 at 9:05

GoogleCodeExporter commented 8 years ago

Original comment by cleaver....@gmail.com on 6 Dec 2011 at 9:06