error obtain_portal_config() in portal.php

Current Version: 1.0.6
Released: 09.01.10
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Locked

Topic author
vizant
Active Member
Posts: 2
Joined: 17. May 2010 10:00

error obtain_portal_config() in portal.php

Post by vizant »

Your Portal Version: 1.0.5RC3
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Beginner

What have you done before the problem was there?
I try to move portal.php from /forums to /

What have you already tryed to solve the problem?


Description and Message
I installed board 3 was fine than i install Galerry that was ok to , after i want to see portal like first page i make like is in knowledge base but get just error

Fatal error: Call to undefined function obtain_portal_config() in /xxxxx/local/home/xxxx/xxxxxxxx.org/portal.php on line 24

i had truoble to find LINE in forums/includes/functions.php

Open /forums/includes/functions.php
Find
Code: Select all
'U_PORTAL' => append_sid("{$phpbb_root_path}portal.$phpEx"),

Replace with
Code: Select all
'U_PORTAL' => append_sid("../portal.$phpEx"),
i find something like that and change that maybe there is problem

Can i get any help?

What have to be in root folder .htacces file is just

DirectoryIndex portal.php index.php index.html index.htm or something more
User avatar

Marc
Dev
Posts: 2504
Joined: 17. July 2008 21:08
phpBB.de User: marc1706
phpBB.com User: Marc
Location: Clausthal-Zellerfeld / München
Contact:

Re: error obtain_portal_config() in portal.php

Post by Marc »

No, I think the problem is that your portal/includes/functions.php seems to be corrupted. Re-upload the file from the package.

Topic author
vizant
Active Member
Posts: 2
Joined: 17. May 2010 10:00

Re: error obtain_portal_config() in portal.php

Post by vizant »

But in guide is

Open /forums/includes/functions.php

but u want to change

Open /portal/includes/functions.php

anyway i try to find in portal /include/functions.php and forums/include/functions.php and there is no code line like that.
Than i try in your
Board3portal install files and in Upgrade paket phpBB 3.0.7 and i can't find code line

Code: Select all

'U_PORTAL'            => append_sid("{$phpbb_root_path}portal.$phpEx"),

functions.php in includes?


Ok here in Forums/Includes/functions.php
is line

Code: Select all

'U_PORTAL'				=> (isset($portal_config['portal_enable']) && $portal_config['portal_enable'] == true) ? append_sid("{$phpbb_root_path}portal.$phpEx") : '',
If is that line do i have to change Full line just that last part your guide is not clear if is only part of the line?
User avatar

Marc
Dev
Posts: 2504
Joined: 17. July 2008 21:08
phpBB.de User: marc1706
phpBB.com User: Marc
Location: Clausthal-Zellerfeld / München
Contact:

Re: error obtain_portal_config() in portal.php

Post by Marc »

The function that the error message says is missing, is insidet portal/includes/functions.php.

And if your forum root is inside the forums folder, then I'm referring to forums/portal/includes/functions.php

That file is being included by the portal in forums/includes/functions.php.

Check if you have the first edit of includes/functions.php.
Locked

Return to “board3 Portal 1.0.x - English Support”