White Site when Adding Module in ACP

Current Version: 2.0.2
Released: 2013-10-27
Forum rules
Before creating a new support thread, please take a look at the board3 Portal FAQ and use the search!
Many questions have already been answered.
Oddynator
Topic author
Active Member
Active Member
Posts: 2
Joined: 9. April 2014 01:03

White Site when Adding Module in ACP

Post by Oddynator » 9. April 2014 01:19

Your Portal Version: 2.0.2
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Basic Knowledge
Boardlink: http://oddynation.com/forum

MySQL Version: White Site when Adding Module in ACP

What have you done before the problem was there?
Creating and uploading a just created module-zip (topposters modification).

What have you already tryed to solve the problem?
Activated Debug
Checked the code of acp_portal.php
Googled for similiar problems.


Description and Message
Hello

I created a own module-zip file (following the tutorials) based on the topposters module.
i copied all the files from this module and changed the SQL-Statement and arrays to display the Reputation instead (Pico88's Reputation System).

The upload worked perfectly.
But as I tried to add a new module in acp (left and right panel (other positions not affected)) I just recieved a white page.

After activating Debug in config.php I got this:
[phpBB Debug] PHP Notice: in file [ROOT]/includes/acp/acp_portal.php on line 564: Undefined index: LATEST_POSTS

Now I'm not sure, if this issue has to do with my just created module-zip or this module i installed a few days ago

Please give me some tips, and assistance.
Many thanks in advance

Sincerly, Oddy

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

Re: White Site when Adding Module in ACP

Post by Marc » 9. April 2014 15:01

It seems to be caused by the latest posts module you recently installed.

Open language/en/mods/portal/portal_latest_posts_module.php
Find:

Code: Select all

'LATEST_NEWS'			=> 'Latest news',
Add after:

Code: Select all

'LATEST_POSTS'			=> 'Latest news',

Oddynator
Topic author
Active Member
Active Member
Posts: 2
Joined: 9. April 2014 01:03

Re: White Site when Adding Module in ACP

Post by Oddynator » 10. April 2014 16:16

Thanks for the reply. It works now.

Return to “Board3 Portal 2.0.x - English Support”