BUG - Junior Admin Blank Pages »  Show posts from    to     

Icy Phoenix


Old Support Topics - BUG - Junior Admin Blank Pages



Rene [ Thu 13 Dec, 2007 12:51 ]
Post subject: BUG - Junior Admin Blank Pages
Hi,

since today I have a problem with junior admins.

At first I added some modules (album moduls) to a user. When the user enters ACP he can choose the modules in the left menu.

When the user choose a menu point (for example album categories / admin_album_cat.php), all album categories are displayed. But when the User clicks on edit, only a blank page is loading insteed of admin_album_cat.php

René


Mighty Gorgon [ Sun 16 Dec, 2007 01:41 ]
Post subject: Re: Junior Admin Blank Pages
Thanks for reporting, I will check when I have some free time.


Rene [ Mon 17 Dec, 2007 10:07 ]
Post subject: Re: Junior Admin Blank Pages
Mighty Gorgon wrote: [View Post]
Thanks for reporting, I will check when I have some free time.


The problem is that it was working for some weeks, I don't know where to look for the error. I thought it has something to do with the authorisation.

EDIT: Its the same with the new version of IP.

--------------------------------------------------------------------------------------------------------------

On the german site phpbb.de I found a topic which deals about this problem and here I found a solution. I try to explain it in englisch:


In some modules the include($phpbb_root_path.JR_ADMIN_DIR.$file); in the function jr_admin_check_file_hashes($file) does not work.
In IP the include is -> include($phpbb_root_path . ADM . '/' . $file);

Workaround (example for admin_album_cat):

Open: includes/functions_jr_admin.php

Search (in function jr_admin_check_file_hashes($file)):

Code: [Hide] [Select]
include($phpbb_root_path . ADM . '/' . $file);


Replace with:

Code: [Hide] [Select]

if ($file == "admin_album_cat.php")
{
$module['2200_Photo_Album']['120_Album_Categories'] = $file;
}
else if ($file == "<filesname>")
{
<module name of file> = $file;
}
else if ...
.
.
.
else include($phpbb_root_path . ADM . '/' . $file);


You have to do this for every admin function witch delivers a blank page. Some modules use the variable $filename instead of $file, you have to use always $file.

It seems that the problem only occurs in PHP5. Its not the best workaround but the fastest

Here the link to the german phpbb thread: http://www.phpbb.de/viewtopic.php?t=154809


Rene [ Sun 24 Aug, 2008 19:08 ]
Post subject: Re: Junior Admin Blank Pages
Hi,

why is this error not fixed in the actual version? I was afraid as I found out that the error is still remaining.

Regards
René


novice programmer [ Sun 24 Aug, 2008 23:13 ]
Post subject: Re: BUG - Junior Admin Blank Pages
As this remains active, I will move the topic.

Moved.


Mighty Gorgon [ Fri 29 Aug, 2008 22:47 ]
Post subject: Re: BUG - Junior Admin Blank Pages
Rene wrote: [View Post]
Hi,

why is this error not fixed in the actual version? I was afraid as I found out that the error is still remaining.

Regards
René

It is still there because I cannot replicate the bug.

I don't have it in my local test board.

Until I cannot understand what id buggy, I cannot fix it.


Mighty Gorgon [ Sun 01 Feb, 2009 14:28 ]
Post subject: Re: BUG - Junior Admin Blank Pages
I have finally found the bug and fixed it.

It should be fixed in the beta.




Powered by Icy Phoenix