darcek
Rookie

Offline
Gender: 
Posts: 29
Dedicated User
|
 |
« on: June 17, 2008, 01:04:52 PM » |
|
Ive installed this bot like 3 times...im getting same error:cant find phpsockets.dll
i have this file..inside the php dll folder..ive copyed it outside to the bot directory nothing helps....same error..any suggestions?
|
|
|
|
|
Logged
|
|
|
|
|
clashbot
|
 |
« Reply #1 on: June 17, 2008, 01:06:39 PM » |
|
php_sockets.dll and php_mysql.dll go in a subfolder off of the bot called php_extension
This can be customied by the conf file..
|
|
|
|
|
Logged
|
|
|
|
|
clashbot
|
 |
« Reply #2 on: June 17, 2008, 01:08:16 PM » |
|
correction, customized by the php.ini file...
|
|
|
|
|
Logged
|
|
|
|
|
clashbot
|
 |
« Reply #3 on: June 17, 2008, 01:12:28 PM » |
|
copy of sample php.ini file: ; Error handling and logging ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; display_errors = On display_startup_errors = On log_errors = On log_errors_max_len = 0 error_log = ./log/php_errors.txt ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; BeBot will normally use about 10-13megs with default ; modules. Default php memory limit is 8megs. ; Raise default on hosts that permitt it. memory_limit = 128M
; This is needed for bots that will be running large regexs. pcre.backtrack_limit=1000000
; Mainly for windows where additional modules are always required extension_dir = ./php_extension/
; Below are extra extensions to PHP. ; The bot should not need these by default, but extra scripts may. ; (Such as the whois-update PHP script.)
; Windows: Uncomment if needed extension=php_mysql.dll extension=php_sockets.dll
; Linux: Uncomment if needed ;extension=mysql.so
; Named pipes are a way of connecting to the SQL ; server without using TCP/IP. This may or may ; not be faster. Requires Windows NT or higher. ; May require additional setup in the SQL server. ;enable-named-pipe
|
|
|
|
|
Logged
|
|
|
|
darcek
Rookie

Offline
Gender: 
Posts: 29
Dedicated User
|
 |
« Reply #4 on: June 17, 2008, 01:16:30 PM » |
|
really at a lose here...i checked the php.ini file it contains one file with gibrish(for me at least :p) along stuff there..theres a refrence to phpsocks.dll what should i do?change the line?copy part of it to the startbot.php? help.. 
|
|
|
|
|
Logged
|
|
|
|
darcek
Rookie

Offline
Gender: 
Posts: 29
Dedicated User
|
 |
« Reply #5 on: June 17, 2008, 01:20:29 PM » |
|
i see the INI file as one long line..not as nicely as youve just shown...what means uncomment if needed? remove the ";" ?
|
|
|
|
|
Logged
|
|
|
|
|
clashbot
|
 |
« Reply #6 on: June 17, 2008, 01:21:06 PM » |
|
well that is my php.ini file for my bot...
my directory structure for the bot is <<root bot folder>> /conf /core /custom /extra /log /main /modules /php_extension /sources /themes /txt
inside the root, I Thave the php.exe php.ini php5ts.dll, libmysql.dll
|
|
|
|
|
Logged
|
|
|
|
|
clashbot
|
 |
« Reply #7 on: June 17, 2008, 01:21:31 PM » |
|
open the file in wordpad, not notepad...it will keep the formatting
|
|
|
|
|
Logged
|
|
|
|
darcek
Rookie

Offline
Gender: 
Posts: 29
Dedicated User
|
 |
« Reply #8 on: June 17, 2008, 01:26:44 PM » |
|
lets see im missing the following folders:
/main /php_extensions
had an extension folder...changed its name to php_extensions...tryed to start the bot..same results
cant find phpsockets.dll
|
|
|
|
|
Logged
|
|
|
|
|
clashbot
|
 |
« Reply #9 on: June 17, 2008, 01:31:14 PM » |
|
ok, did you put the phpsockets.dll file in the php_extensions folder?
|
|
|
|
|
Logged
|
|
|
|
darcek
Rookie

Offline
Gender: 
Posts: 29
Dedicated User
|
 |
« Reply #10 on: June 17, 2008, 01:31:29 PM » |
|
freaky...i added those 2 lines at the bottom of the ini files to the top where the other commands were...not i get this cool grey bar telling me it cant find phpsockets.dll ..well at least the error got better..lol 
|
|
|
|
|
Logged
|
|
|
|
darcek
Rookie

Offline
Gender: 
Posts: 29
Dedicated User
|
 |
« Reply #11 on: June 17, 2008, 01:33:26 PM » |
|
no need to put anything anywhere...the extension folder named now php_extensions already had in it this file...its a bunce of dlls..
|
|
|
|
|
Logged
|
|
|
|
|
clashbot
|
 |
« Reply #12 on: June 17, 2008, 01:35:35 PM » |
|
should be two php_sockets.dll (although it sounds like it is phpsockets.dll in your case) and php_mysql.dll
|
|
|
|
|
Logged
|
|
|
|
darcek
Rookie

Offline
Gender: 
Posts: 29
Dedicated User
|
 |
« Reply #13 on: June 17, 2008, 01:37:49 PM » |
|
rofl....doh seems i named the folder as php_extensions insted of extention...now i got a new error woot!
cant connect to mysql server on LocalHost (10061) hmm should the sql installed in same dir as the bot also?
|
|
|
|
|
Logged
|
|
|
|
|
|
|