470,874 Members | 1,694 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,874 developers. It's quick & easy.

undefined function: session_pagestart()

Don
I am trying to integrate the phpbb user database for my whole site.
Here's the code I used and the error I got. Any help would be
appreciated.
Fatal error: Call to undefined function: session_pagestart() in
/homepages/9/d99062755/htdocs/index.php on line 90

Code:

</head>

<?php
define('IN_PHPBB', true);

$site_root_path = 'http://www.YeahThatRocks.com';
$phpbb_root_path2 = '/bb/';
$phpbb_root_path = $site_root_path . $phpbb_root_path2;
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.php');

$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);

if( $userdata['session_logged_in'] )
{
echo('Hello');
}
else
{
echo('Please Login');
}

?>
Jul 17 '05 #1
4 4841
"Don" <do********@yahoo.com> wrote in message
news:3b**************************@posting.google.c om...
I am trying to integrate the phpbb user database for my whole site.
Here's the code I used and the error I got. Any help would be
appreciated.
Fatal error: Call to undefined function: session_pagestart() in
/homepages/9/d99062755/htdocs/index.php on line 90

Code:

</head>

<?php
define('IN_PHPBB', true);

$site_root_path = 'http://www.YeahThatRocks.com';
$phpbb_root_path2 = '/bb/';
$phpbb_root_path = $site_root_path . $phpbb_root_path2;
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.php');

$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);

if( $userdata['session_logged_in'] )
{
echo('Hello');
}
else
{
echo('Please Login');
}

?>


Tru using require() instead of include().
Jul 17 '05 #2
"Chung Leong" <ch***********@hotmail.com> wrote in message news:<Ec********************@comcast.com>...
"Don" <do********@yahoo.com> wrote in message
news:3b**************************@posting.google.c om...
I am trying to integrate the phpbb user database for my whole site.
Here's the code I used and the error I got. Any help would be
appreciated.
Fatal error: Call to undefined function: session_pagestart() in
/homepages/9/d99062755/htdocs/index.php on line 90

Code:

</head>

<?php
define('IN_PHPBB', true);

$site_root_path = 'http://www.YeahThatRocks.com';
$phpbb_root_path2 = '/bb/';
$phpbb_root_path = $site_root_path . $phpbb_root_path2;
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.php');

$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);

if( $userdata['session_logged_in'] )
{
echo('Hello');
}
else
{
echo('Please Login');
}

?>


Tru using require() instead of include().

What casues that error?
Jul 17 '05 #3
dj*******@hotmail.com (Don Seckler) wrote in message news:<fe**************************@posting.google. com>...
"Chung Leong" <ch***********@hotmail.com> wrote in message news:<Ec********************@comcast.com>...
"Don" <do********@yahoo.com> wrote in message
news:3b**************************@posting.google.c om...
I am trying to integrate the phpbb user database for my whole site.
Here's the code I used and the error I got. Any help would be
appreciated.
Fatal error: Call to undefined function: session_pagestart() in
/homepages/9/d99062755/htdocs/index.php on line 90

Code:

</head>

<?php
define('IN_PHPBB', true);

$site_root_path = 'http://www.YeahThatRocks.com';
$phpbb_root_path2 = '/bb/';
$phpbb_root_path = $site_root_path . $phpbb_root_path2;
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.php');

$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);

if( $userdata['session_logged_in'] )
{
echo('Hello');
}
else
{
echo('Please Login');
}

?>


Tru using require() instead of include().

What casues that error?


I tried that and still got the undefined function error.

Help?!?!?
Jul 17 '05 #4
dj*******@hotmail.com (Don Seckler) wrote in message news:<fe**************************@posting.google. com>...
"Chung Leong" <ch***********@hotmail.com> wrote in message news:<Ec********************@comcast.com>...
"Don" <do********@yahoo.com> wrote in message
news:3b**************************@posting.google.c om...
I am trying to integrate the phpbb user database for my whole site.
Here's the code I used and the error I got. Any help would be
appreciated.
Fatal error: Call to undefined function: session_pagestart() in
/homepages/9/d99062755/htdocs/index.php on line 90

Code:

</head>

<?php
define('IN_PHPBB', true);

$site_root_path = 'http://www.YeahThatRocks.com';
$phpbb_root_path2 = '/bb/';
$phpbb_root_path = $site_root_path . $phpbb_root_path2;
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.php');

$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);

if( $userdata['session_logged_in'] )
{
echo('Hello');
}
else
{
echo('Please Login');
}

?>


Tru using require() instead of include().

What casues that error?


I tried that and still got the undefined function error.

Help?!?!?
Jul 17 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

12 posts views Thread by RoSsIaCrIiLoIA | last post: by
10 posts views Thread by siroregano | last post: by
17 posts views Thread by yb | last post: by
3 posts views Thread by Michael Sgier | last post: by
3 posts views Thread by prakash.mirji | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.