1
riomx
Install successful, blank page, have error
  • 2005/3/24 10:30

  • riomx

  • Just popping in

  • Posts: 52

  • Since: 2005/3/24


Guys:

I'm installing XOOPS for a laboratory in the engineering department of Ohio State University.

I went with XOOPS because the professional appearance really got my attention, and I'm hoping I can get some support here to help me provide this laboratory with a great site.

Everything was great after installation, but after doing this

3. If you can't get to the administration page, and don't want to mess with mysql, but don't mind messing with PHP, then edit the file "include/common.php". Near line 83, change "error_reporting(0);" to "error_reporting(E_ALL);".

as recommended in the "Why do I have a blank white page on my site?" FAQ, I get the following error:

Fatal error: Call to undefined function: session_set_save_handler() in /include/common.php on line 184

Now, I hate being trite and needy, but geezus, I really do need help on this. I built a machine and worked hours to get Apache2, MySQL, PHP and other software ready to use Xoops, and I'm at my wit's end.

I would greatly appreciate some support on this, and I hope to be using XOOPS as soon as possible.

Thanks !

Info:

FreeBSD 4.11
Apache 2.0.53
MySQL 3.23.58
PHP 4.3.10 / register_globals = Off

2
Herko
Re: Install successful, blank page, have error
  • 2005/3/24 10:34

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


Since it looks for a function that it can't find, I would recommend that you check to see if you have uploaded ALL the files in the distribution package's html/ folder. If you still get this error then, we'll need to look at other causes.

Herko

3
riomx
Re: Install successful, blank page, have error
  • 2005/3/24 10:38

  • riomx

  • Just popping in

  • Posts: 52

  • Since: 2005/3/24


By the way, I went with what the installation documents recommended and installed MySQL 3.23.58

Can I use and should I be using a higher version of MySQL ?

I had been using MySQL 4.x on my other server without a problem for other applications (eprints ->http://software.eprints.org)

- Joe

4
Herko
Re: Install successful, blank page, have error
  • 2005/3/24 10:45

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


XOOPS.org is running a MySQL 4.x, so that should not be a big problem.

Herko

5
Mithrandir
Re: Install successful, blank page, have error

The session_set_save_handler() is a native PHP function. However, I could not find anything about it in the PHP manual, so I cannot say why it doesn't work or isn't defined at your end.

6
riomx
Re: Install successful, blank page, have error
  • 2005/3/24 10:51

  • riomx

  • Just popping in

  • Posts: 52

  • Since: 2005/3/24


Quote:

Herko Coomans wrote:
Since it looks for a function that it can't find, I would recommend that you check to see if you have uploaded ALL the files in the distribution package's html/ folder. If you still get this error then, we'll need to look at other causes.

Herko


I extracted the files into a directory and copied all files and directories from /html into another directory that I cated in /usr/local

In other words, copied all files and directories from /html to /usr/local/web

I've compared all of the files and the subdirectories and all files seem to be present

7
riomx
Re: Install successful, blank page, have error
  • 2005/3/24 10:53

  • riomx

  • Just popping in

  • Posts: 52

  • Since: 2005/3/24


Quote:

Mithrandir wrote:
The session_set_save_handler() is a native PHP function. However, I could not find anything about it in the PHP manual, so I cannot say why it doesn't work or isn't defined at your end.


Damn, looks like I'm screwed then

Great :)

8
riomx
Re: Install successful, blank page, have error
  • 2005/3/24 12:11

  • riomx

  • Just popping in

  • Posts: 52

  • Since: 2005/3/24


I'm using the ports collection on FreeBSD to install PHP4, so it's not easy for me to install an older version of it

Would it be worthwhile to give PHP5 a try ?

Thanks,

- Joe

9
Herko
Re: Install successful, blank page, have error
  • 2005/3/24 12:36

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


Not all XOOPS modules (even the core ones) are PHP5 compatible, so I would not recommend that just yet. Make sure you have compiled your PHP4.3.10 install with the full set of functions (ok, you can probably read in this lame advise that I'm not a sysop or tech person at all )

Herko

10
riomx
Re: Install successful, blank page, have error
  • 2005/3/24 12:42

  • riomx

  • Just popping in

  • Posts: 52

  • Since: 2005/3/24


Just installed MySQL 4.1.10 (not to solve the problem, but to have a more recent version of MySQL)

Anyway, deleted all files, and copied all files from /html from the originally extracted copy of XOOPS to my directory, /usr/local/web

Checked that all files were transferred and applied the new patch released today

Ran installation successfully again, and bam ! Blank page. Awesome.

Anyway, after turning on debugging in common.php, got this awesome error again:

Fatal error: Call to undefined function: session_set_save_handler() in /usr/local/web/include/common.php on line 184

And here is the line in /include/common.php that is pissing PHP4 off so much:

session_set_save_handler(array(&$sess_handler, 'open'), array(&$sess_handler, 'close'), array(&$sess_handler, 'read'), array(&$sess_handler, 'write'), array(&$sess_handler, 'destroy'), array(&$sess_handler, 'gc'));


So, anything I can do ?

Thanks,

- Joe

Login

Who's Online

254 user(s) are online (83 user(s) are browsing Support Forums)


Members: 0


Guests: 254


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Feb 29
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits