
Re: Junior Admin Blank Pages
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)):
include($phpbb_root_path . ADM . '/' . $file);
Replace with:
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