tried everything to fix Fatal error: Call to undefined funct

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
Uso
Posts: 11
Joined: Wed Mar 23, 2005 1:22 am

tried everything to fix Fatal error: Call to undefined funct

Post by Uso »

Hi,
I had to install CACTI and its components on D: and I am using IIS
WHen I Start http:\\localhost\cacti I get the famous error message:

Fatal error: Call to undefined function mysql_connect() in D:\cacti\lib\adodb\drivers\adodb-mysql.inc.php on line 338

It does not seem to be an authentication issue. Running CACTID from the prompt gives:

D:\cactid>cactid
CACTID: Using cactid config file [cactid.conf]
CACTID: Windows Environment, root permissions not required for ICMP Ping
CACTID: Version 0.8.6d starting
CACTID: Host[1] PING Result: Ping not performed due to setting.
CACTID: Execution Time: 0.3900 s, Threads: 5, Hosts: 1

any ideas?

thanks
Uso
Uso
Posts: 11
Joined: Wed Mar 23, 2005 1:22 am

solved

Post by Uso »

after rebooting it was OK.
User avatar
mrh
Cacti User
Posts: 84
Joined: Tue Mar 08, 2005 9:50 am

Post by mrh »

Yes, it's not in the cacti's manual, but after a fresh install a restart is needed! I had the same problem :wink:
mrh | cacti 0.8.6h | plugin architecture | thold | monitor | iis6
per
Posts: 1
Joined: Fri Apr 01, 2005 6:42 pm

Fatal error <snip> on line 338

Post by per »

So..... what do we do if the reboot does not help?

(sorry I am a Linux user forced to use Windoze)

<env>
Fresh install
Apache 2.0.53
cacti-0.8.6c
mysql-4.1.10a
php-5.0.4
rrdtool-1.0.49
net-snmp-5.2.1-1

on win 2K service pack 4 [/quote]
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Make sure that your server is not set to "localhost", you need to use the Loopback IP address or the IP address/hostname of the ethernet interface.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests