Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post 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é
 



 
Last edited by Rene on Sun 24 Aug, 2008 20:08; edited 2 times in total 
ReneSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Junior Admin Blank Pages 
 
Thanks for reporting, I will check when I have some free time.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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: [Download] [Hide] [Select]
include($phpbb_root_path . ADM . '/' . $file);


Replace with:

Code: [Download] [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
 



 
Last edited by Rene on Tue 18 Dec, 2007 13:37; edited 2 times in total 
ReneSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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é
 



 
ReneSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: BUG - Junior Admin Blank Pages 
 
As this remains active, I will move the topic.

Moved.
 



 
Edited by novice programmer, Sun 24 Aug, 2008 23:13: Moved.
novice programmerSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: BUG - Junior Admin Blank Pages 
 
I have finally found the bug and fixed it.

It should be fixed in the beta.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron