Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 07:42 am EST
Geeklog Forums
GalleryBlock without url_rewrite?
Status: offline
ajzz
Forum User
Regular Poster
Registered: 01/19/05
Posts: 113
GalleryBlock presumes url-rewrite even if it is disabled for the site. Is there a known mod? (i searched the forums but nothing relevant turned up yet.)
My host is being finicky about allowing .htaccess override to set up rewrite for the Gallery - of course this thread would be redundant if they came through.
Thanks folks,
Ajay
My host is being finicky about allowing .htaccess override to set up rewrite for the Gallery - of course this thread would be redundant if they came through.
Thanks folks,
Ajay
7
6
Quote
Status: offline
ajzz
Forum User
Regular Poster
Registered: 01/19/05
Posts: 113
Thanks Andy,
I will look into this... Somehow the gallery configuration process does not detect url_rewrite or .htaccess override. Of course in such a case, I may have to start posting to the Gallery forums instead of here.
Cheers!
Ajay
I will look into this... Somehow the gallery configuration process does not detect url_rewrite or .htaccess override. Of course in such a case, I may have to start posting to the Gallery forums instead of here.
Cheers!
Ajay
7
5
Quote
Status: offline
ajzz
Forum User
Regular Poster
Registered: 01/19/05
Posts: 113
I checked my Gallery config.php - rewrite is disabled there (although mod_rewrite is enabled on the apache server) - still have the issue described in first post.
Any ideas folks?
Ajay
Edit: If it helps, the links in the Gallery Random Photo Block work just fine (ie: they are not rewritten).
Any ideas folks?
Ajay
Edit: If it helps, the links in the Gallery Random Photo Block work just fine (ie: they are not rewritten).
9
5
Quote
Status: offline
asmaloney
Forum User
Full Member
Registered: 02/08/04
Posts: 214
OK. I can't look at this right away [I have two little nephews running around here wreaking havoc and aking "What's that?" about everything]. I'll be able to look at it this evening [Sunday] or tomorrow.
- Andy
- Andy
9
6
Quote
Status: offline
asmaloney
Forum User
Full Member
Registered: 02/08/04
Posts: 214
Solution: In blocks/galleryblock/phpblock.php, change lines 87 and 132 from this:
to this:
Reason It seems that makeGalleryUrl() from gallery's util.php does not respect the rewrite preference.
I will have a new release to fix this sometime in the next couple of days.
- Andy
Text Formatted Code
$albumURL = makeGalleryUrl( $entry['name'] );to this:
Text Formatted Code
$albumURL = makeAlbumUrl( $entry['name'] );Reason It seems that makeGalleryUrl() from gallery's util.php does not respect the rewrite preference.
I will have a new release to fix this sometime in the next couple of days.
- Andy
8
6
Quote
All times are EST. The time is now 07:42 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content