Page 1 of 1

Install Portal php Error

Posted: 4. October 2008 22:28
by babyjsmom
Your Portal Version: 1.0.2
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Beginner
Boardlink: http://www.originalsbyoliveira.com/test

What have you done before the problem was there?
I followed the install directions for the MOD, uploaded all the changed files and directed my browers to the install folder.

What have you already tryed to solve the problem?
I opened the functions.php file made sure I did the correct changes but it still doesn't work.

Description and Message
After I directed my brower to load the install php file I got the following error:

Parse error: syntax error, unexpected T_VARIABLE in /includes/functions.php on line 2989

Not sure what the error is with line 2989. It reads:

$l_return_index = sprintf($user->lang['RETURN_INDEX'], '<a href="board3portal_1_0_2/'%20.%20$phpbb_root_path%20.%20'">', '</a>');

Can someone help? I am very new to this and don't understand code that well.

Re: Install Portal php Error

Posted: 5. October 2008 04:45
by babyjsmom
Anyone who can help...I'd appreciate it.

Re: Install Portal php Error

Posted: 5. October 2008 11:33
by Kevin
Check your edits to the includes/functions.php (of the phpBB3 core system) - there seems to be something screwed up.

If you don't get along with it, please link to a *.txt file, containing the content of your functions.php.

Re: Install Portal php Error

Posted: 5. October 2008 18:39
by babyjsmom
I checked my edits and did a new upload and tried to install with another error. It's now on line 3000. It reads:

$l_return_index = '<a href="../Documents/Downloads/Board3Portalv1.0.2/board3portal_1_0_2/'%20.%20$phpbb_root_path%20.%20'">Return to index page</a>';

Here's a link to my function file.
http://us.f13.yahoofs.com/bc/45da7baf_c ... IB0NMSGmde

Re: Install Portal php Error

Posted: 5. October 2008 18:55
by Ice
I have no idea what instructions you followed but there is no instruction to change either of those lines.

Line 3000 should read:

Code: Select all

$l_return_index = '<a href="' . $phpbb_root_path . '">Return to index page</a>';

Re: Install Portal php Error

Posted: 5. October 2008 19:09
by babyjsmom
I didn't change the lines. After I uploaded the file and tried running the install, I then downloaded the file to look at the error and it was changed. I am not sure why it happened or if it's possible but I looked at my original file I uploaded and it didn't have that text in it.