help me with an error please

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
Locked
User avatar
Desbrina
Registered User
Posts: 213
Joined: Sat Jun 11, 2005 6:24 pm
Location: Dark Kingdom
Contact:

help me with an error please

Post by Desbrina »

Parse error: parse error, unexpected T_VARIABLE in /usr/home/desbrina/public_html/test/index.php on line 36


This is line 36 and a few lines before it. Line 36 is the refresh bit.

Code: Select all

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
//
$refresh_time_enable = TRUE;
I'd just installed a refresh index page and viewforum mod. The refresh works on the viewforum but i keep getting that error on the index page. I dont know whats wrong with it
Yawner
Registered User
Posts: 2161
Joined: Fri Jul 16, 2004 10:19 pm
Location: London, UK
Contact:

Post by Yawner »

i suggest that u go back over the MOD changes and if this problem persists then contact the MOD author..
Alan Kay : "The best way to predict the future is to invent it."
Support the OpenDocument Format!
The Techboy
Registered User
Posts: 207
Joined: Tue May 04, 2004 7:37 pm

Post by The Techboy »

Your problem is line 32. Add a semicolon to the end.
Eat recycled food. It's good for the environment and OK for you.
User avatar
Desbrina
Registered User
Posts: 213
Joined: Sat Jun 11, 2005 6:24 pm
Location: Dark Kingdom
Contact:

Post by Desbrina »

Thanks it wrks now. I dont know how that semi colon got deleted though
Locked

Return to “2.0.x Support Forum”