Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Memf

Pages: [1]
1
Hello :)

Thank you for this wonderful mod, everything works beautiful! But there is a problem with lightboxes... When viewing the album, being on the front page - all photos are added to the lightbox without problems, but on the other album pages (2, 3, etc.) gives an error:

Not Found
The requested URL /cat20.2.html was not found on this server.

.... By the way, working links to the lightbox on the first album pages look like: /cat-{cat_name}-{image_id}.htm?action=addtolightbox&id={image_id}, on the other album pages (2, 3, etc.) they have the form: /cat20.2.htm?action=addtolightbox&id={image_id}, therefore, gives an error "Not found" :( How fix it? Please help.

my .htaccess (sessions.php, the same as in the first post of this topic):

Code: [Select]
RewriteEngine On

#RewriteBase /
RewriteRule ^cat-(.*)-([0-9]+)\.htm$ categories.php?cat_id=$2&%{QUERY_STRING}
RewriteRule ^cat\.htm$ categories.php?%{QUERY_STRING}
#Mod_bmollet : Image name in URL
RewriteRule ^img-(.*)-([0-9]+)\.htm$ details.php?image_id=$2&%{QUERY_STRING}
RewriteRule ^img([0-9]+)\.search.htm$ details.php?image_id=$1&%{QUERY_STRING}
RewriteRule ^img([0-9]+)\.lightbox.htm$ details.php?image_id=$1&%{QUERY_STRING}

#Mod_bmollet : This is to make search function work  ( redirect links from search results )
RewriteRule ^search\.htm$ search.php?%{QUERY_STRING}
RewriteRule ^search\.([0-9]+)\.htm$ search.php?page=$1&%{QUERY_STRING}
RewriteRule ^lightbox\.htm$ lightbox.php?%{QUERY_STRING}
RewriteRule ^lightbox\.([0-9]+)\.htm$ lightbox.php?page=$1&%{QUERY_STRING}

RewriteRule ^postcard\.img([0-9]+)\.htm$ postcards.php?image_id=$1&%{QUERY_STRING}

P.S. - sorry for my english  :oops:

So, V@no, please help me... or anyone else can help me?!?!

P.S. - 3 months no one has helped me with this problem!  8O

2
the mod works really good with 1.7.7

Hello, Tiburon

Yes, in 1.7.7 everything works cool. I also use version 1.7.7, but there is a problem with the lightboxes (see my post above), perhaps this problem is present in you too, I think. Check it out.

So, anyone else can help me? Please.

3
Hello :)

Thank you for this wonderful mod, everything works beautiful! But there is a problem with lightboxes... When viewing the album, being on the front page - all photos are added to the lightbox without problems, but on the other album pages (2, 3, etc.) gives an error:

Not Found
The requested URL /cat20.2.html was not found on this server.

.... By the way, working links to the lightbox on the first album pages look like: /cat-{cat_name}-{image_id}.htm?action=addtolightbox&id={image_id}, on the other album pages (2, 3, etc.) they have the form: /cat20.2.htm?action=addtolightbox&id={image_id}, therefore, gives an error "Not found" :( How fix it? Please help.

my .htaccess (sessions.php, the same as in the first post of this topic):

Code: [Select]
RewriteEngine On

#RewriteBase /
RewriteRule ^cat-(.*)-([0-9]+)\.htm$ categories.php?cat_id=$2&%{QUERY_STRING}
RewriteRule ^cat\.htm$ categories.php?%{QUERY_STRING}
#Mod_bmollet : Image name in URL
RewriteRule ^img-(.*)-([0-9]+)\.htm$ details.php?image_id=$2&%{QUERY_STRING}
RewriteRule ^img([0-9]+)\.search.htm$ details.php?image_id=$1&%{QUERY_STRING}
RewriteRule ^img([0-9]+)\.lightbox.htm$ details.php?image_id=$1&%{QUERY_STRING}

#Mod_bmollet : This is to make search function work  ( redirect links from search results )
RewriteRule ^search\.htm$ search.php?%{QUERY_STRING}
RewriteRule ^search\.([0-9]+)\.htm$ search.php?page=$1&%{QUERY_STRING}
RewriteRule ^lightbox\.htm$ lightbox.php?%{QUERY_STRING}
RewriteRule ^lightbox\.([0-9]+)\.htm$ lightbox.php?page=$1&%{QUERY_STRING}

RewriteRule ^postcard\.img([0-9]+)\.htm$ postcards.php?image_id=$1&%{QUERY_STRING}

P.S. - sorry for my english  :oops:

Pages: [1]