FAP SUPPORT - Invalid Combination Of Category Id And Authentication Data


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: [Download] [Hide]
  1. /album_mod/album_personal.php 


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

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 :wink:

Profile PM  
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 :wink:


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

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? :wink:


Page 1 of 1


  
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

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.1155s (PHP: 15% SQL: 85%)
SQL queries: 10 - Debug Off - GZIP Enabled