problems starting the bot

Back to PHP-IRC Support

Page: 1  
From User Message Body
ahref
Post #555
Member
Date: 11:05 pm, Jul 7 2007
Posts: 20


hi there,

im using php5 and windowsxp.

i have followed the readme as closely as i could setting everything up. However when i run my shortcut the php.exe window opens and closes before i have a chance to read anything and nothing seems to happen.

my php.exe is in:
C:\wamp\php\

my copy of php-irc is in:
C:\wamp\www\ircbot\

my shortcut target line reads:

C:\wamp\php\php.exe bot.php bot.conf

and its start in contains:
C:\wamp\www\ircbot\

any idea whats going on?

if you need any more informations dont hesitate too ask

thank you



Your friendly neighborhood bug magnet - ahref
Sneo
Post #556
Member
Date: 3:22 pm, Jul 8 2007
Posts: 2


Try starting it in a DOS window instead of with the shortcut.
Go start - run
cmd

Then when the dos window opens up use cd to get to your directory of where the bot is kept.

Then.
C:\wamp\php\php.exe bot.php bot.conf

Paste the output here.

More than likely I'd say its wamp's version of PHP not including a PHP.exe, did you install php again or did you just use wamp's version?


ahref
Post #557
Member
Date: 5:14 pm, Jul 8 2007
Posts: 20


ok heres the output:

Code
Rehashing Function File, please wait...
Successfully loaded 67 functions into memory.

Fatal error: Call to undefined function socket_create() in C:\wamp\www\ircbot\so
cket.php on line 411


ill check the file and php extentions to make sure sockets is enabled

thanks


EDIT: for whatever reason the sockets dll didnt exist i found one and the bot now runs :)

thanks for your help

Last edited by ahref at 6:31 pm, Jul 8 2007

Your friendly neighborhood bug magnet - ahref
haroim
Post #574
Member
Date: 12:39 pm, Jul 20 2007
Posts: 2


i got the exect the same error. I have checked if php_sockets.dll is in the extentions dir, and it is.

can someone help me with this?

haroim
Post #580
Member
Date: 7:45 pm, Jul 24 2007
Posts: 2


solved, i reïnstalled wamp server.

   

Back to PHP-IRC Support