![]() |
|
Cannot create an album called "themes" as it interferes with zenphoto theme dir - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Cannot create an album called "themes" as it interferes with zenphoto theme dir (/thread-2854.html) |
Cannot create an album called "themes" as it interferes with zenphoto theme dir - sevenupcan - 2008-05-12 Hi, When I create a folder called "themes" it seems to get mistaken for Zenphoto's theme directory, and it says access is denied. I know I could just change the name of the directory to themes2 or something similar, but wondered if there was a fix for this? Cannot create an album called "themes" as it interferes with zenphoto theme dir - macalter - 2008-05-12 I'm not one of the developers but my experience has been even with basic HTML you shouldn't use certain reserved names to avoid conflict. ZP reserves "themes" for its needs so it's only logical you shouldn't be using it as a folder . Cannot create an album called "themes" as it interferes with zenphoto theme dir - acrylian - 2008-05-12 This is not exactly true, you can have an album named themes, it does work without mod_rewrite as Cannot create an album called "themes" as it interferes with zenphoto theme dir - sbillard - 2008-05-12 The .htaccess file checks to see if the path you provide is a valid file/folder. If it is no redirection is done. So this means you can't have an album named 'themes' (But you could name one 'Themes'!). Nor can you have one named 'cache', or 'zp-core'. Unless, of course, you don't use mod_rewrite. Cannot create an album called "themes" as it interferes with zenphoto theme dir - macalter - 2008-05-12 I'm from "old school": when you never used reserve names nor use punctuation or special characters in file names . (Hey 8.3 days were great.) My reply had nothing to do with mod_rewrite as I don't know about it other than I have it on. (And what you guys have posted about it.) Cannot create an album called "themes" as it interferes with zenphoto theme dir - sevenupcan - 2008-05-14 Thanks. I guess the easiest way will be to rename it something else, but I still feel for a fairly modern application this is a big flaw. If we work with the mentallity of avoiding reserved names I feel we may find ourselves being open to more issues as the application expands. Cannot create an album called "themes" as it interferes with zenphoto theme dir - sbillard - 2008-05-14 Feel free to create a ticket. I'm sure that someone with rewrite rule expertise can change the rules to fix this. |