Xepher.Net Forums

Content => Misc. Content => Topic started by: Thu on August 23, 2007, 11:47:24 PM

Title: PHP Scripting Help please~
Post by: Thu on August 23, 2007, 11:47:24 PM
So, while I was waiting till xepher is finished with everything, I thought it'd be productive to actually work on a site, just for practice and stuff.
I installed Cutenews, Bellabook, and phpBB forum. Cutenews and Bellabook are going smoothly, except for phpBB Forums. :(
I haven't a clue what's going on with the PHP script. [here (http://izufable.awardspace.com/forum/)]
It says:
Fatal error: Call to undefined function: session_pagestart() in /home/www/izufable.awardspace.com/forum/includes/functions.php on line 756
???
If you could tell me what's wrong or fix it for me, that'd be greatly appreciated. :-\
Title: Re: PHP Scripting Help please~
Post by: Xepher on August 24, 2007, 01:59:17 AM
Sounds like your ISP might not have session support compiled in their PHP. Try a test script like the following...

http://xepher.xepher.net/test.php

<?php phpinfo() ?>


You can click the link to see the output of that here on xepher.net Note the "Session" section. See if it's enabled on your current ISP.
Title: Re: PHP Scripting Help please~
Post by: Databits on August 26, 2007, 06:41:39 PM
and if it's not, you can write your own session handler using MySQL and PHP. Frankly the default session stuff is extremely limited anyhow. All a standard PHP session does it take data in an array, serialize it using the php serialize() and stuff it in a file under a unique identifier.
Title: Re: PHP Scripting Help please~
Post by: Desh on August 28, 2007, 02:40:02 PM
session_pagestart() is a created function defined in the sessions.php file in the includes folder (at least in phpbb 2.0.22).  Check if that file is there and if it was damaged somehow.