Page 2 of 2

Re: Portal issues

Posted: 20. August 2013 16:01
by UnknownReverence
Kirk wrote:You have to make the instructions as it is in the install.xml.
I'll try that and get back to you. Is there a way to get rid of the rss feed buttons on the forums as well?

Re: Portal issues

Posted: 20. August 2013 16:04
by Kirk
UnknownReverence wrote:Is there a way to get rid of the rss feed buttons on the forums as well?
Only controlling the installation of Portal.

Re: Portal issues

Posted: 20. August 2013 16:13
by UnknownReverence
Kirk wrote:
UnknownReverence wrote:Is there a way to get rid of the rss feed buttons on the forums as well?
Only controlling the installation of Portal.
Well, I did the edits and I'm getting an error now.

Code: Select all

General Error
Language file ./language/en/mods/lang_portal.php couldn't be opened.

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/includes/session.php
LINE: 2098
CALL: trigger_error()

FILE: [ROOT]/includes/session.php
LINE: 2046
CALL: user->set_lang()

FILE: [ROOT]/includes/functions.php
LINE: 4563
CALL: user->add_lang()

FILE: [ROOT]/index.php
LINE: 139
CALL: page_header()

Re: Portal issues

Posted: 20. August 2013 16:20
by Kirk
The lang_portal.php file missing in the folder ./language/en/mods

Re: Portal issues

Posted: 20. August 2013 16:20
by UnknownReverence
Kirk wrote:The lang_portal.php file missing in the folder ./language/en/mods
I never got one with the download.

Re: Portal issues

Posted: 20. August 2013 16:27
by Kirk
Download the complete package viewtopic.php?f=40&t=9384
unpack it and call the install.xml with your browser
follow the instructions
Installing MODs the Right Way

Re: Portal issues

Posted: 20. August 2013 16:31
by UnknownReverence
Kirk wrote:Download the complete package viewtopic.php?f=40&t=9384
unpack it and call the install.xml with your browser
follow the instructions
Installing MODs the Right Way
I've done that. Doing the edits for the viewonline, constants, functions, and session is what messed everything up.

I found the culprit. It has to deal with an edit in the functions. I clearly did the correct edit, but that's the error I get when I do it.

Code: Select all

	$user->add_lang(array('mods/lang_portal', 'mods/additional_blocks'));
	if (!function_exists('obtain_portal_config'))
	{
		include($phpbb_root_path . 'portal/includes/functions.' . $phpEx);
	}
	if(sql_table_exists(PORTAL_CONFIG_TABLE) == true)
	{
		$portal_config = obtain_portal_config();
	}
Adding that is what causes the error. All the other edits work fine with no errors.

Re: Portal issues

Posted: 20. August 2013 17:45
by Kirk
This is the instructions for the version 1.0.6 and not for version 2.0.1

Re: Portal issues

Posted: 20. August 2013 23:23
by UnknownReverence
Kirk wrote:This is the instructions for the version 1.0.6 and not for version 2.0.1
I never would have noticed I ended up changing to different instructions. I had a dull moment there. Thanks for pointing that out. That fixed it.