Page 1 of 1

installing on localhost

Posted: 11. September 2009 14:54
by robgib
Your Portal Version: 1.0.0RC3
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Basic Knowledge

What have you done before the problem was there?
n/a

What have you already tryed to solve the problem?
nothing as yet

Description and Message
installing the board on a local host using automod.........

got some manual edits to do with the automod
which i have done correctly

when maually editing the includes/functions.php

Code: Select all

 includes/functions.php
Find

// The following assigns all _common_ variables that may be used at any point in a template.

Add Before

	$user->add_lang('mods/lang_portal');
	include_once($phpbb_root_path . 'portal/includes/functions.'.$phpEx);
	$portal_config = obtain_portal_config();

Success
Find

'U_PRIVATEMSGS'			=> append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&folder=inbox'),

Add Before

		'U_PORTAL'				=> ($portal_config['portal_enable']) ? append_sid("{$phpbb_root_path}portal.$phpEx") : '',

Success
i am getting this error when returning to automod

Parse error: syntax error, unexpected '{' in C:\xampp\htdocs\forum\includes\functions.php on line 3762

i have double checked the edits.............
'U_PORTAL' => ($portal_config['portal_enable']) ? append_sid("{$phpbb_root_path}portal.$phpEx") : '',

which is the offending character???[/i]

Re: installing on localhost

Posted: 11. September 2009 15:32
by robgib
just checked the manual install instructions in the modx file

and there are some characters missing from the end of the instruction line in the automod required manual edits layout !!!

have fixed this and now getting
a diff error

Fatal error: Language file ./language/en/mods/lang_portal.php couldn't be opened. in C:\xampp\htdocs\forum\includes\session.php on line 2034