General win32 Installation Step that works ...

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

Moderators: Developers, Moderators

JuanK

Problems with mySQL

Post by JuanK »

i am getting the next error:

$database_default = "cacti"; $database_hostname = "localhost"; $database_username = "telematica"; $database_password = "clave";
Warning: Cannot add header information - headers already sent by (output started at c:\apache2\apache\htdocs\cacti\include\config.php:99) in c:\apache2\apache\htdocs\cacti\include\auth.php on line 31

Please Help Me!!
JasonGarrett

Fatal error: Class ADODB_Iterator contains 1 abstract...

Post by JasonGarrett »

Hi there,

I have installed the following, and religiously followed the install guide after printing the manual.

apache_2.0.51-win32-x86-no_ssl.msi
php-5.0.0-Win32.zip
rrdtool-1.0.40.x86distr.zip-5.8.zip
mysql-4.0.21-win.zip
net-snmp-5.1.2-1.win32.exe
cacti-cactid-0.8.6.zip
cacti-0.8.5a.zip

When I browse to "http://localhost/cacti/", I get the following error:

Fatal error: Class ADODB_Iterator contains 1 abstract methods and must therefore be declared abstract (Iterator::valid) in C:\Program Files\Apache Group\Apache2\htdocs\cacti\lib\adodb\adodb-iterator.inc.php on line 46

I wonder if Ian is able to suggest what the error is likely to be?

PS: The manual needs to have Cacti installed before MySQL, otherwise the create script cannot be found by mysqladmin.

Thanks
Jason
JasonGarrett
Posts: 2
Joined: Thu Sep 16, 2004 11:28 pm

ADODB_Iterator Solution found

Post by JasonGarrett »

And then I use the search and find the answer here....

http://forums.cacti.net/viewtopic.php?t=3725

Thanks :)
Now off to solve my next error!
Fatal error: Call to undefined function mysql_connect() in C:\Program Files\Apache Group\Apache2\htdocs\cacti\lib\adodb\drivers\adodb-mysql.inc.php on line 317
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

JasonGarrett,

You are likely running PHP 5.x. Please insure the extension php_mysql.dll is NOT commented out in your php.ini file. Then follow the steps below. We had some issues with the initial release.

Regards,

TheWitness

____________________________

Please perform the following steps:

1) Upgrade to the latest pre-release of 0.8.6a at http://www.cacti.net/downloads
2) Insure that you are NOT running PHP 4.3.4. Recommend PHP 4.3.6+
3) Insure that your cron includes "php <webroot>/cacti/poller.php"
4) Download, build and install the latest pre-release of Cactid 0.8.6a at http://www.cacti.net/downloads
5) Download SH.EXE from the following post and place it in your c:\cactid directory. http://forums.cacti.net/viewtopic.php?t=4797&start=15

Regards,

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
4K.Darsch
Posts: 1
Joined: Wed Feb 02, 2005 1:30 pm

HI ALL :p

Post by 4K.Darsch »

Hello all ... i am back.....i am here and free to answer any question or pbs about installation under Win32.
I am french but can speak english.
I anyone requires something u can contact me or send me mail : Darsch7@hotmail.com ICQ 41665458
CU ALL...
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests