- Moderated by:
- Support Team
-
- rank:
-
Freshman
- registered:
- February 2004
- Status:
- offline
- last visit:
- 23.10.05
- Posts:
- 15
I have just finished installing PostNuke 750 on Suse Linux Open Enterprise Server 9. Everything seemed to install correctly without any error messages.
When I try to open the site, I get the following error
Fatal error: Call to undefined function: session_set_save_handler() in /srv/www/htdocs/includes/pnSession.php on line 94
Can someone tell me how to proceed? -
- rank:
-
Steering Committee
- registered:
- December 2002
- Status:
- online
- Posts:
- 13413
Looks like you're missing some files. Re-upload everything except config.php
--
Regards,
Simon
itbegins.co.uk - Zikula Consulting
Please read the Support Guide -
- rank:
-
Freshman
- registered:
- February 2004
- Status:
- offline
- last visit:
- 23.10.05
- Posts:
- 15
I am still getting the same error. I have tried deleting all the files in htdocs, deleting the database and repeating the install. (twice) I always get the same error message.
This leads me to believe something with PHP or MySql isn't right, but I don't have enough experience with either to know where to look.
Does the error message tell anyone enough to know what it's looking for and not finding? -
- rank:
-
Steering Committee
- registered:
- December 2002
- Status:
- online
- Posts:
- 13413
This is a PHP function (my mistake the first time)
http://uk2.php.net/manual/en/function.session-set-save-handler.php
What version of PHP are you running?
--
Regards,
Simon
itbegins.co.uk - Zikula Consulting
Please read the Support Guide -
- rank:
-
Freshman
- registered:
- February 2004
- Status:
- offline
- last visit:
- 23.10.05
- Posts:
- 15
I am runing PHP Version 4.3.4 on a Suse Linux Enterprise Server 9.
Unfortunately, the default install of SLES 9 didn't include PHP so I had to add it later. I'm not sure if I have everything I need.
Also connecting to MySQL 4.0.18.
Here's the rest of the PHP info I could find.
System Linux linux1 2.6.5-7.97-default #1 Fri Jul 2 14:21:59 UTC 2004 i686
Build Date Jul 1 2004 16:34:43
Configure Command './configure' '--prefix=/usr' '--datadir=/usr/share/php' '--mandir=/usr/share/man' '--bindir=/usr/bin' '--libdir=/usr/share' '--includedir=/usr/include' '--sysconfdir=/etc' '--with-_lib=lib' '--with-config-file-path=/etc' '--with-exec-dir=/usr/lib/php/bin' '--disable-debug' '--enable-inline-optimization' '--enable-memory-limit' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sigchild' '--disable-ctype' '--disable-session' '--without-mysql' '--disable-cli' '--without-pear' '--with-openssl' '--with-apxs2=/usr/sbin/apxs2-prefork' 'i586-suse-linux'
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety disabled
Registered PHP Streams PHP, http, ftp, https, ftps -
- rank:
-
Freshman
- registered:
- February 2004
- Status:
- offline
- last visit:
- 23.10.05
- Posts:
- 15
Found the solution to this issue.
When SLES 9 installs MySql, it does not start at Bootup. I had been starting it manually, expecting all to be well. Guess it wasn't.
I tired of manually starting MySql and configured it to load at bootup.
Now PHP and MySql are playing nicely and PostNuke is loading and running fine.
Thanks for sending me in the right direction. -
- rank:
-
Steering Committee
- registered:
- December 2002
- Status:
- online
- Posts:
- 13413
No problem, thanks for posting your solution
--
Regards,
Simon
itbegins.co.uk - Zikula Consulting
Please read the Support Guide -
- rank:
-
Freshman
- registered:
- February 2004
- Status:
- offline
- last visit:
- 23.10.05
- Posts:
- 15
Just in case anyone else has come upon this issue I want to clear up the cause and solution to my problem.
After repeating installations and getting the same problem, I have discovered that when installing SLES 9 with PHP and MySql, not all PHP extensions are installed by default. The installer must select which extensions are needed or wanted. Originally I only selected PHP and the mysql-PHP extension. The error message was telling me the PHP-sessions extension was also needed. In attempting to solve the problem, I had addes all the extensions available, but the problem didn't go away until I restarted the server.
So in summary, when installing PostNuke on SLES9, make sure you have all the needed extensions, and restart the server to activate them.
