BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => BeBot 0.2 support => Topic started by: damag0r on October 02, 2005, 08:20:35 am

Title: line 36 driving me nuts
Post by: damag0r on October 02, 2005, 08:20:35 am
so ive done everything that has been said on all topics concerning this

installed new and old versions of mysql (Currently using 5) changed all the recommended settings etc etc

help please  :shock:
Title: line 36 driving me nuts
Post by: Blondengy on October 02, 2005, 10:16:02 am
Since you didn't bother to post the error message just the line I'm guessing that you're talking about using the none-existing function mysql_connect()...
This is due to you not haveing installed the MySQL extension for php.

The second thing you forgot to write is what system you're using.
If you're running a debian based linux just use: "apt-get cache search php mysql" and you should come up with something like "php4_mysql", install that using "apt-get install php4_mysql".
If you're using a linux version without "apt" be sure to install the php_mysql package or compile php with -enable mysql
If you're using windows you're gonne need the mysql extension (a dll) and then configure your php.ini (Somewhere in the directory c:\windows or c:\windows\system32 I think). You will have to uncomment the line that loads the mysql extension and also configure the proper extensions path so that php findes the mysql .dll file.
SimplePortal 2.3.7 © 2008-2024, SimplePortal