Adding new page --> error

Support for the IM Portal Project

Moderator: Integra Moderator

Adding new page --> error

PostAuthor: redoox » Mon Jun 05, 2006 7:06 am

Hi, I just want to add a new page, for testing firstly with the content of phpinfo(). In phpBB 2.0.19 it works fine, but with IM Portal, there is an error <img>
Fatal error: Call to a member function on a non-object in /srv/www/htdocs/web122/html/wow/includes/page_header.php on line 87


the listing of my phpinfo.php:
Code: Select all
<php>
Last edited by redoox on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

redoox
Newbie
Newbie
 
Posts: 1
Likes: 0 post
Liked in: 0 post
Joined: Mon Jun 05, 2006 6:54 am
Cash on hand: 0.00

Re: Adding new page --> error

PostAuthor: Dragonsys » Mon Jun 05, 2006 8:28 am

try this:

phpinfo.php
[code]<?php  define('IN_PHPBB', true);$phpbb_root_path = './';include($phpbb_root_path.'extension.inc');include($phpbb_root_path.'common.'.$phpEx);  //// Start session management//$userdata = session_pagestart($user_ip, PAGE_INDEX);init_userprefs($userdata);//// End session management//include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_banner.' . $phpEx);$page_title = 'PHP Info';    switch($mode){     default]
Last edited by Dragonsys on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 6:45 am
Cash on hand: 0.00
Location: Springtown, TX


Return to IM Portal Support Forum

Who is online

Registered users: Bing [Bot], Google [Bot], Helter, Vendethiel

cron