Author Topic: PHP Scripting Help please~  (Read 11117 times)

0 Members and 1 Guest are viewing this topic.


  • Newbie
  • *
  • Posts: 34
  • Young & Fluffy
    • View Profile
PHP Scripting Help please~
« 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]
It says:
Fatal error: Call to undefined function: session_pagestart() in /home/www/ on line 756
If you could tell me what's wrong or fix it for me, that'd be greatly appreciated. :-\


  • Techsmith
  • Administrator
  • *****
  • Posts: 4,334
  • Illegitimis non carborundum!
    • View Profile
Re: PHP Scripting Help please~
« Reply #1 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...
Code: [Select]
<?php phpinfo() ?>

You can click the link to see the output of that here on Note the "Session" section. See if it's enabled on your current ISP.


  • Global Moderator
  • *****
  • Posts: 1,607
  • Programming's not just a science, it's an art.
    • View Profile
Re: PHP Scripting Help please~
« Reply #2 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.
(\_/)    ~Relakuyae D'Selemae
(")_(")  [Libre Office] [Chrome]


  • Newbie
  • *
  • Posts: 28
    • View Profile
Re: PHP Scripting Help please~
« Reply #3 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.