[Bug] alias naming error

Phoca Gallery plugins - plugins for Phoca Gallery extension
commodo
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 12 Jul 2008, 19:26

[Bug] alias naming error

Post by commodo »

If the name contains '.' (point) characters those will be added to the alias name when a category is created.

So, when you add a directory, it will dynamically add an alias to the category that is created from the directory name, but it will also contain '.' characters which will cause a page fault when trying to display that page gallery.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48023
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: [Bug] alias naming error

Post by Jan »

Hi,
see:
https://www.phoca.cz/phocagallery/user-m ... ing-images

no bad characters as folder or filenames (it can cause problems on some servers)
Jan
If you find Phoca extensions useful, please support the project
commodo
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 12 Jul 2008, 19:26

Re: [Bug] alias naming error

Post by commodo »

hmmm

i should have read that earlier;

in any case it would be preferable that this would be treated in code;
in my case i created the folder structure a few months ago and it included '.' for dates (example "2008.05 - Picture Set"), which is pretty elegant; after doing this i searched for a gallery to add on joomla (which was the CMS i chose)

so, since you have that nice table of bad namings i would say someone could write the code to correlate the cases and do fixes on the fly
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48023
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: [Bug] alias naming error

Post by Jan »

hi, the problem is, it can cause problems only on some servers, so it is very difficult to find some solution for it... so it is better to avoid of them :(
If you find Phoca extensions useful, please support the project
Post Reply