Fatal error: Call to undefined function: session_start() in
Moderators: Developers, Moderators
Fatal error: Call to undefined function: session_start() in
Fresh install Suse Enterprise Server 9
Try to reach Cacti firts time and I get following error:
Fatal error: Call to undefined function: session_start() in /srv/www/htdocs/cacti/include/config.php on line 95
PHP 4.3.4
Perl 5.8.3
RRDTool 1.2.12
NET-SNMP 5.1
MySQL 4.0.18
Cacti 0.8.6h with all available patches
Try to reach Cacti firts time and I get following error:
Fatal error: Call to undefined function: session_start() in /srv/www/htdocs/cacti/include/config.php on line 95
PHP 4.3.4
Perl 5.8.3
RRDTool 1.2.12
NET-SNMP 5.1
MySQL 4.0.18
Cacti 0.8.6h with all available patches
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
You PHP doesn't have session support, fix it...
[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]
[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]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Two possible things...
1. Sessions support is commented out in the /etc/php.ini file.
2. There is a missing php-session software package. But I honestly don't know if this exists or not.
1. Sessions support is commented out in the /etc/php.ini file.
2. There is a missing php-session software package. But I honestly don't know if this exists or not.
[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]
[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]
same message
I get the same message.
Sessions are working, I believe. nothing in the php.ini to indicate they are off. Any other help would be appreciated.
Sessions are working, I believe. nothing in the php.ini to indicate they are off. Any other help would be appreciated.
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
If you are getting an error that session_start() doesn't exist, then you don't have session enabled.
[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]
[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]
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Re: Fatal error: Call to undefined function: session_start()
HiPumpi wrote:Fatal error: Call to undefined function: session_start() in /srv/www/htdocs/cacti/include/config.php on line 95
what does the phpinfo() function gives you ?
You should get something like this :
Code: Select all
session
Session Support enabled
Registered save handlers files user
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
running sles9
I too did not have php-sessions, php-snmp and, php-sockets
perhaps this could mentioned somewhere that it is a requirement of the software ?
H
perhaps this could mentioned somewhere that it is a requirement of the software ?
H
Gentoo and session support
On Gentoo linux you have to enable: session USE flag in /etc/make.conf
gretz
gretz
Who is online
Users browsing this forum: No registered users and 0 guests