Icy Phoenix


Archived phpBB Topics (Styles, Mods, Support) - FAP SUPPORT - Invalid Combination Of Category Id And Authentication Data



Derky [ Fri 23 Mar, 2007 15:24 ]
Post subject: FAP SUPPORT - Invalid Combination Of Category Id And Authentication Data
When you look (as a normal user, so not an admin) to a personal album that has not yet been created you will see an error with:
Quote:
Invalid combination of category id and authentication data


I have fixed it this way:

OPEN
Code: [Hide]
  1. /album_mod/album_personal.php 


FIND
Code: [Hide]
  1. if ( album_check_permission($auth_data, ALBUM_AUTH_UPLOAD) == true )  
  2. {  
  3. $template->assign_block_vars('index_pics_block.no_pics.manage_personal_gal_folders', array());  


REPLACE WITH
Code: [Hide]
  1. if ( album_check_permission($auth_data, ALBUM_AUTH_UPLOAD) == true )  
  2. {  
  3. $template->assign_block_vars('index_pics_block.no_pics.manage_personal_gal_folders', array());  
  4. }  
  5. else  
  6. {  
  7. message_die(GENERAL_MESSAGE, sprintf($lang['Personal_gallery_not_created'], $username));  


I don't know if it's good, but it works.


Artie [ Fri 23 Mar, 2007 17:03 ]
Post subject: Re: Invalid Combination Of Category Id And Authentication Da
I do not experience this problem and I'm not sure of your solution,
but Hey...if it works


Derky [ Fri 23 Mar, 2007 17:08 ]
Post subject: Re: Invalid Combination Of Category Id And Authentication Da
Artie wrote: [View Post]
I do not experience this problem and I'm not sure of your solution,
but Hey...if it works


http://www.google.nl/search?hl=nl&c...nG=Zoeken&meta=


Mighty Gorgon [ Tue 27 Mar, 2007 01:15 ]
Post subject: Re: Invalid Combination Of Category Id And Authentication Da
This should have been solved in 1.4.2... I think you cannot replicate it here... right?




Powered by Icy Phoenix