This error comes when i open the browser, what can i do ?

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

Moderators: Developers, Moderators

Post Reply
Markus21
Posts: 12
Joined: Tue Sep 06, 2005 4:35 am

This error comes when i open the browser, what can i do ?

Post by Markus21 »

Fatal error: Call to undefined function mysql_connect() in C:\apache\Apache2\htdocs\cacti\lib\adodb\drivers\adodb-mysql.inc.php on line 338
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Search the forum!

Either you missed enabling mysql in your php.ini or you need to apply the old password trick for MySQL.
Markus21
Posts: 12
Joined: Tue Sep 06, 2005 4:35 am

re

Post by Markus21 »

i have activate php_mysql.dll in php.ini, but now comes the failure, cac´t read de php_mysql.dll, bzw. can´t start the dll bibilothek, i don´t know why,

do you know why ?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

can't read php_mysql.dll? Did you specify the correct extension_dir in php.ini? If so, the you possibly have disc corruption. run chkdsk c: /f for eac drive.
Markus21
Posts: 12
Joined: Tue Sep 06, 2005 4:35 am

i have tried it with the same versions as you, problem again

Post by Markus21 »

# Dynamic Shared Object (DSO) Support
#
# To be able to use the functionality of a module which was built as a DSO you
# have to place corresponding `LoadModule' lines at this location so the
# directives contained in it are actually available _before_ they are used.
# Statically compiled modules (those listed by `httpd -l') do not need
# to be loaded here.
#
# Example:
# LoadModule foo_module modules/mod_foo.so
#
LoadModule php4_module c:\php\sapi\php4apache2.dll
AddType application/x-httpd-php .php
DirectoryIndex index.html index.htm index.php

LoadModule access_module modules/mod_access.so
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule asis_module modules/mod_asis.so
LoadModule auth_module modules/mod_auth.so
#LoadModule auth_anon_module modules/mod_auth_anon.so
#LoadModule auth_dbm_module modules/mod_auth_dbm.so
#LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule autoindex_module modules/mod_autoindex.so
#LoadModule cern_meta_module modules/mod_cern_meta.so
LoadModule cgi_module modules/mod_cgi.so
#LoadModule dav_module modules/mod_dav.so

By Testing apache configuration, comes this failure:

Syntax error on line 134 of C:/Apache2/conf/httpd.conf:
Cannot load C:/php/sapi/php4apache2.dll into server: Das angegebene Modul wurde
nicht gefunden.
Note the errors or messages above, and press the <ESC> key to exit. 23...

Markus21
Posts: 12
Joined: Tue Sep 06, 2005 4:35 am

chkdsk c: /f results: !

Post by Markus21 »

Der Typ des Dateisystems ist NTFS.
Das aktuelle Laufwerk kann nicht gesperrt werden.

CHKDSK kann nicht ausgeführt werden, weil das Volume von einem anderen
Prozess verwendet wird. Soll dieses Volume überprüft werden, wenn das
System das nächste Mal gestartet wird? (J/N)


i´m running 2003 server enterprise under vmware,
but i can install my hp proliant server into weeks,
my firm want that cacti and plugins runs fine on vmware, but my firm will no go risiko.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

I can't read German, so you're going to need to translate what you pasted in.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests