collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18366
  • stats Total Topics: 2501
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: error when trying to install  (Read 2696 times)

0 Members and 2 Guests are viewing this topic.

Offline drain

  • BeBot Rookie
  • *
  • Posts: 6
  • Karma: +0/-0
error when trying to install
« on: September 29, 2005, 06:54:29 pm »
hi,

 ive tried to install the bot under windows xp. Ive installed the last php version 5 something, installed mysql 4.1 and setup a database named bebot, username= root, and password = banana, for testing abit. Imported the items.sql file also. The database is at the same machine as bebot and php, so iguess localhost should work as adress?

Ive followed the installation notes and tried using the following names in the example on forum here.

In the Mysql.conf file:

<?
$dbase = "bebot";
$user = "root";
$pass = "banana";
$server = "localhost";
?>

When i run php i get the following error message.

C:\php>php start.php

PHP Fatal error:  Call to undefined function mysql_connect() in C:\php\MySQL.php on line 36


if anyone could help me out with this i would be a glad:)

Offline Blondengy

  • BeBot Creator and Founder
  • BeBot Hero
  • ******
  • Posts: 51
  • Karma: +0/-0
error when trying to install
« Reply #1 on: September 29, 2005, 08:28:12 pm »
You'll have to enable the MySQL extension for PHP. You can do this in your php.ini

Offline drain

  • BeBot Rookie
  • *
  • Posts: 6
  • Karma: +0/-0
error when trying to install
« Reply #2 on: September 29, 2005, 09:22:08 pm »
ty, not that familiar with php/mysql, but trying to learn :)

ok, got as far as this now


C:\php>php start.php
[2005-09-29 19:13:31]   [CORE]  [LOAD]  Admin.php
[2005-09-29 19:13:31]   [CORE]  [LOAD]  Alts.php
[2005-09-29 19:13:31]   [CORE]  [LOAD]  BotHelp.php
[2005-09-29 19:13:31]   [CORE]  [LOAD]  Online.php
[2005-09-29 19:13:31]   [CORE]  [LOAD]  Que.php
[2005-09-29 19:13:31]   [MOD]   [LOAD]  About.php
 [2005-09-29 19:13:31]  [MOD]   [LOAD]  AutoInv.php
[2005-09-29 19:13:31]   [MOD]   [LOAD]  AutoMsg.php
[2005-09-29 19:13:31]   [MOD]   [LOAD]  Bid.php
[2005-09-29 19:13:31]   [MOD]   [LOAD]  Bio.php
[2005-09-29 19:13:31]   [MOD]   [LOAD]  Calc.php
[2005-09-29 19:13:31]   [MOD]   [LOAD]  Callers.php
[2005-09-29 19:13:31]   [MOD]   [LOAD]  Countdown.php
[2005-09-29 19:13:31]   [MOD]   [LOAD]  Glyph_RAID.php
[2005-09-29 19:13:31]   [MOD]   [LOAD]  Is.php
[2005-09-29 19:13:31]   [MOD]   [LOAD]  Items.php
[2005-09-29 19:13:31]   [MOD]   [LOAD]  Level.php
[2005-09-29 19:13:31]   [MOD]   [LOAD]  MassMsg.php
[2005-09-29 19:13:31]   [MOD]   [LOAD]  News.php
[2005-09-29 19:13:31]   [MOD]   [LOAD]  Oe.php
[2005-09-29 19:13:31]   [MOD]   [LOAD]  Points.php
[2005-09-29 19:13:31]   [MOD]   [LOAD]  PrivGroup.php
[2005-09-29 19:13:31]   [MOD]   [LOAD]  Raffle.php
[2005-09-29 19:13:31]   [MOD]   [LOAD]  RaidTime.php
[2005-09-29 19:13:31]   [MOD]   [LOAD]  Rally.php
[2005-09-29 19:13:31]   [MOD]   [LOAD]  Roll.php
[2005-09-29 19:13:31]   [MOD]   [LOAD]  Rooster_RAID.php
[2005-09-29 19:13:31]   [MOD]   [LOAD]  Rules_RAID.php
[2005-09-29 19:13:31]   [MOD]   [LOAD]  Server.php
[2005-09-29 19:13:31]   [MOD]   [LOAD]  Shutdown.php
[2005-09-29 19:13:31]   [MOD]   [LOAD]  Target.php
[2005-09-29 19:13:31]   [MOD]   [LOAD]  Time.php
[2005-09-29 19:13:31]   [MOD]   [LOAD]  TowerAttack.php
[2005-09-29 19:13:31]   [MOD]   [LOAD]  Whois.php
[2005-09-29 19:13:31]   [LOGIN] [STATUS]        Connecting
PHP Fatal error:  Only variables can be passed by reference in C:\php\AOChat.php
 on line 842

any idea what this could mean?

Offline Blondengy

  • BeBot Creator and Founder
  • BeBot Hero
  • ******
  • Posts: 51
  • Karma: +0/-0
error when trying to install
« Reply #3 on: September 29, 2005, 09:43:47 pm »
might have something to do with AOChat not beeing totally compatible with PHP5...
Maybe take a look at this thread.

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm ]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am ]

* Who's Online
  • Dot Guests: 213
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal