Page 1 of 1

White Site when Adding Module in ACP

Posted: 9. April 2014 01:19
by Oddynator
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

Re: White Site when Adding Module in ACP

Posted: 9. April 2014 15:01
by Marc
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',

Re: White Site when Adding Module in ACP

Posted: 10. April 2014 16:16
by Oddynator
Thanks for the reply. It works now.