undefined function: session_pagestart()

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Don

    undefined function: session_pagestart()

    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_pagesta rt() in
    /homepages/9/d99062755/htdocs/index.php on line 90

    Code:

    </head>

    <?php
    define('IN_PHPB B', true);

    $site_root_path = 'http://www.YeahThatRoc ks.com';
    $phpbb_root_pat h2 = '/bb/';
    $phpbb_root_pat h = $site_root_path . $phpbb_root_pat h2;
    include($phpbb_ root_path . 'extension.inc' );
    include($phpbb_ root_path . 'common.php');

    $userdata = session_pagesta rt($user_ip, PAGE_INDEX);
    init_userprefs( $userdata);

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

    ?>
  • Chung Leong

    #2
    Re: undefined function: session_pagesta rt()

    "Don" <donseckler@yah oo.com> wrote in message
    news:3b8fda8f.0 407171444.4b52e c04@posting.goo gle.com...[color=blue]
    > 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_pagesta rt() in
    > /homepages/9/d99062755/htdocs/index.php on line 90
    >
    > Code:
    >
    > </head>
    >
    > <?php
    > define('IN_PHPB B', true);
    >
    > $site_root_path = 'http://www.YeahThatRoc ks.com';
    > $phpbb_root_pat h2 = '/bb/';
    > $phpbb_root_pat h = $site_root_path . $phpbb_root_pat h2;
    > include($phpbb_ root_path . 'extension.inc' );
    > include($phpbb_ root_path . 'common.php');
    >
    > $userdata = session_pagesta rt($user_ip, PAGE_INDEX);
    > init_userprefs( $userdata);
    >
    > if( $userdata['session_logged _in'] )
    > {
    > echo('Hello');
    > }
    > else
    > {
    > echo('Please Login');
    > }
    >
    > ?>[/color]

    Tru using require() instead of include().


    Comment

    • Don Seckler

      #3
      Re: undefined function: session_pagesta rt()

      "Chung Leong" <chernyshevsky@ hotmail.com> wrote in message news:<EcydnRXxH KO0vWbdRVn-hA@comcast.com> ...[color=blue]
      > "Don" <donseckler@yah oo.com> wrote in message
      > news:3b8fda8f.0 407171444.4b52e c04@posting.goo gle.com...[color=green]
      > > 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_pagesta rt() in
      > > /homepages/9/d99062755/htdocs/index.php on line 90
      > >
      > > Code:
      > >
      > > </head>
      > >
      > > <?php
      > > define('IN_PHPB B', true);
      > >
      > > $site_root_path = 'http://www.YeahThatRoc ks.com';
      > > $phpbb_root_pat h2 = '/bb/';
      > > $phpbb_root_pat h = $site_root_path . $phpbb_root_pat h2;
      > > include($phpbb_ root_path . 'extension.inc' );
      > > include($phpbb_ root_path . 'common.php');
      > >
      > > $userdata = session_pagesta rt($user_ip, PAGE_INDEX);
      > > init_userprefs( $userdata);
      > >
      > > if( $userdata['session_logged _in'] )
      > > {
      > > echo('Hello');
      > > }
      > > else
      > > {
      > > echo('Please Login');
      > > }
      > >
      > > ?>[/color]
      >
      > Tru using require() instead of include().[/color]


      What casues that error?

      Comment

      • Don Seckler

        #4
        Re: undefined function: session_pagesta rt()

        djseckler@hotma il.com (Don Seckler) wrote in message news:<fe6bb0b0. 0407200525.281e 890a@posting.go ogle.com>...[color=blue]
        > "Chung Leong" <chernyshevsky@ hotmail.com> wrote in message news:<EcydnRXxH KO0vWbdRVn-hA@comcast.com> ...[color=green]
        > > "Don" <donseckler@yah oo.com> wrote in message
        > > news:3b8fda8f.0 407171444.4b52e c04@posting.goo gle.com...[color=darkred]
        > > > 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_pagesta rt() in
        > > > /homepages/9/d99062755/htdocs/index.php on line 90
        > > >
        > > > Code:
        > > >
        > > > </head>
        > > >
        > > > <?php
        > > > define('IN_PHPB B', true);
        > > >
        > > > $site_root_path = 'http://www.YeahThatRoc ks.com';
        > > > $phpbb_root_pat h2 = '/bb/';
        > > > $phpbb_root_pat h = $site_root_path . $phpbb_root_pat h2;
        > > > include($phpbb_ root_path . 'extension.inc' );
        > > > include($phpbb_ root_path . 'common.php');
        > > >
        > > > $userdata = session_pagesta rt($user_ip, PAGE_INDEX);
        > > > init_userprefs( $userdata);
        > > >
        > > > if( $userdata['session_logged _in'] )
        > > > {
        > > > echo('Hello');
        > > > }
        > > > else
        > > > {
        > > > echo('Please Login');
        > > > }
        > > >
        > > > ?>[/color]
        > >
        > > Tru using require() instead of include().[/color]
        >
        >
        > What casues that error?[/color]

        I tried that and still got the undefined function error.

        Help?!?!?

        Comment

        • Don Seckler

          #5
          Re: undefined function: session_pagesta rt()

          djseckler@hotma il.com (Don Seckler) wrote in message news:<fe6bb0b0. 0407200525.281e 890a@posting.go ogle.com>...[color=blue]
          > "Chung Leong" <chernyshevsky@ hotmail.com> wrote in message news:<EcydnRXxH KO0vWbdRVn-hA@comcast.com> ...[color=green]
          > > "Don" <donseckler@yah oo.com> wrote in message
          > > news:3b8fda8f.0 407171444.4b52e c04@posting.goo gle.com...[color=darkred]
          > > > 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_pagesta rt() in
          > > > /homepages/9/d99062755/htdocs/index.php on line 90
          > > >
          > > > Code:
          > > >
          > > > </head>
          > > >
          > > > <?php
          > > > define('IN_PHPB B', true);
          > > >
          > > > $site_root_path = 'http://www.YeahThatRoc ks.com';
          > > > $phpbb_root_pat h2 = '/bb/';
          > > > $phpbb_root_pat h = $site_root_path . $phpbb_root_pat h2;
          > > > include($phpbb_ root_path . 'extension.inc' );
          > > > include($phpbb_ root_path . 'common.php');
          > > >
          > > > $userdata = session_pagesta rt($user_ip, PAGE_INDEX);
          > > > init_userprefs( $userdata);
          > > >
          > > > if( $userdata['session_logged _in'] )
          > > > {
          > > > echo('Hello');
          > > > }
          > > > else
          > > > {
          > > > echo('Please Login');
          > > > }
          > > >
          > > > ?>[/color]
          > >
          > > Tru using require() instead of include().[/color]
          >
          >
          > What casues that error?[/color]

          I tried that and still got the undefined function error.

          Help?!?!?

          Comment

          Working...