Hi, I'm relatively new with cacti and had installed 8.6 on a FreeBSD 4.10 box running apache 1.3.x (I don't remember the specific version) with PHP 4.3.5 and Net-SNMP 5.1.1_1, mySQL 4.0.18_1, rrdtool 1.0.47. Cacti worked fine with this config.
However, the boss wanted me to update the ports for everything on the machine. So I did and now cacti gives me this:
Fatal error: Call to undefined function: session_start() in /usr/local/www/data-dist/cacti/include/config.php on line 74
The new versions of software are:
PHP 4.3.9
mySQL 4.0.21
apache 1.3.31_6
net-snmp 5.1.2_1
rrdtool 1.0.49
Has anyone else had a similar problem? Any insight would be greatly appreciated.
PHP Session Problem?
Moderators: Developers, Moderators
Fixed!
Ok, so after some digging online I double-checked my php install. Turns out after I did the upgrade I didn't go back and recreate the php.ini (I know, stupid mistake, but I'm used to running this all on a Windows machine where I'm much more comfortable). This caused session problems and caused php to not find the extensions properly.
Secondly, the extensions I had installed previously were wiped out by the upgrade and I hadn't put them back. Once I reinstalled them cacti started working again.
-Gedron
Secondly, the extensions I had installed previously were wiped out by the upgrade and I hadn't put them back. Once I reinstalled them cacti started working again.
-Gedron
Re: PHP Session Problem?
gedron wrote:Hi, I'm relatively new with cacti and had installed 8.6 on a FreeBSD 4.10 box running apache 1.3.x (I don't remember the specific version) with PHP 4.3.5 and Net-SNMP 5.1.1_1, mySQL 4.0.18_1, rrdtool 1.0.47. Cacti worked fine with this config.
However, the boss wanted me to update the ports for everything on the machine. So I did and now cacti gives me this:
Fatal error: Call to undefined function: session_start() in /usr/local/www/data-dist/cacti/include/config.php on line 74
The new versions of software are:
PHP 4.3.9
mySQL 4.0.21
apache 1.3.31_6
net-snmp 5.1.2_1
rrdtool 1.0.49
Has anyone else had a similar problem? Any insight would be greatly appreciated.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
dodgson,
What is your question?
TheWitness
What is your question?
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?
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?
Who is online
Users browsing this forum: No registered users and 2 guests