|
Search:
Advanced search
|
Browse by category:
|
Contact Us |
Album access issue in Gallery |
|||||
You may face some issue in accessing the albums or subalbum links in the Gallery.
You need to add proper rewrite rule in ".htaccess" of gallery to make the album working Check whether "post_max_size, upload_max_filesize, magic_quotes_gpc and session.save_handler are setup properly. If it is not present in the .htaccess file (in the Gallery folder) add the following lines to it. php_value post_max_size 20971520 php_value upload_max_filesize 20971520 php_value magic_quotes_gpc off php_value session.save_handler files The following rewrite rules are needed for the working of albums and subalbums in the Gallery Options -Indexes +FollowSymLinks <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /gallery/ RewriteCond % !-d RewriteRule ^([^\.\?/]+)/([0-9]+)$ /gallery/view_photo.php?set_albumName=$1&index=$2 [QSA] RewriteCond % !-d RewriteRule ^([^\.\?/]+)/([A-Za-z_0-9\-]+)$ /gallery/view_photo.php?set_albumName=$1&id=$2 [QSA] RewriteCond % !-d RewriteRule ^([^\.\?/]+)/$ /gallery/$1 [R] RewriteCond % !-d RewriteRule ^([^\.\?/]+)$ /gallery/view_album.php?set_albumName=$1 [QSA] </IfModule> This will fix all the issue with gallery albums and subalbum hyperlinks. |
|||||
Powered by
Deru Communications (Webhosting Knowledgebase)