[Permalink & URL_rewrite / Carbon] Updating existing Permalinks

jbravo

Joined: 2008-10-13
Posts: 21
Posted: Mon, 2009-10-12 12:51

Hi guys,

I have a problem related to PermaLinks and URL_rewrite - i hope it hasn't been dealt with before, as i've searched the forums but failed to find anything relevant...

The problem is that initially i enabled mod_rewrite and Permalinks. In the respective field in the config of URL_rewrite, the rule was the default one : f/%filename

Hence my permalinks were working like www.mysite.com/f/permalink

I have few albums uploaded with the old settings. Now i want to remove that /f/ (so i can have www.mysite.com/permalink), however i don;t know how. I've tried updating the rule in URL_rewrite config, i've tried uninstalling and reinstalling both URL_rewrite and Permalinks modules, i've tried emptying the DB and template cache, however i still get the following error :

Error (ERROR_MISSING_OBJECT) : Parent 7 path spain
in modules/core/classes/helpers/GalleryFileSystemEntityHelper_simple.class at line 98 (GalleryCoreApi::error)
in modules/core/classes/GalleryCoreApi.class at line 1952 (GalleryFileSystemEntityHelper_simple::fetchChildIdByPathComponent)
in modules/core/classes/helpers/GalleryFileSystemEntityHelper_simple.class at line 53 (GalleryCoreApi::fetchChildIdByPathComponent)
in modules/core/classes/GalleryCoreApi.class at line 1901 (GalleryFileSystemEntityHelper_simple::fetchItemIdByPath)

My G2 install details are :

Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.1 cgi
Webserver = Apache
Database = mysqli 5.0.45-log, lock.system=flock
Toolkits = ArchiveUpload, ImageMagick
Acceleration = none, none
Operating system = Linux cgi0503.int.bizland.net 2.6.30.6 #1 SMP Mon Sep 14 16:36:43 EDT 2009 i686
Default theme = carbon
gettext = enabled

Thanks in advance for any hints :)

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2009-10-12 16:27

FAQ: My Gallery URLs begin with /v/ and /d/, why?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
jbravo

Joined: 2008-10-13
Posts: 21
Posted: Wed, 2009-10-14 08:28

Dave, many thanks for the link !

I've read it and done some tests - if my understanding is correct, for this scenario :

the album pics are in "mydir"
permalink "abc" was created for the album

then the pics will be available at www.mysite.com/mydir, and there's no way i can have www.mysite.com/abc, but only www.mysite.com/prefix/abc

where prefix can be any letter/string. Is this correct or am I missing smth ?

Thanks