"Call to undefined function: session_id()"??
signe
Joined: 2003-07-27
Posts: 2322 |
Posted: Sun, 2003-07-27 06:57 |
I successfully configured the gallery, but after I set it back into secure mode, I started getting this error. Fatal error: Call to undefined function: session_id() in /usr/local/www/data-dist/gallery/session.php on line 38 http://12.231.191.110/gallery/index.php IE 6.0SP1 - XP Pro SP1 |
|
Posts: 8194
Can you post Gallery into configuration mode and tell us when you have done that. I'll poke around and see if I can figure out your problem.
Posts: 2322
Done...
FYI: The configuration will use /usr/local/www/data ... data is a symlink to data-dist, which is what the error displays.
Posts: 8194
By looking at your setup/phpinfo.php page, you have disabled most PHP functionality with the --disable-all configure flag, including session support. You'll need to recompile PHP (or ask your host to, if you don't own the server) and include session support.
Posts: 2322
Lovely... that was the BSD default install from ports. I'll have to tweak that, I suppose.
Posts: 2
In case anyone else google's this thread, this is the default in the freebsd ports tree. To resolve this do the following:
cd /usr/ports/lang/php5; vi Makefile
<-- Delete this line -->
--disable-all \
<-- /Delete this line -->
Write and quite then do a: make reinstall
Note: If you sync your ports tree your Makefile will reset to the default and you will have to do this again if you upgrade your php5 port.