ZenphotoCMS Forum
Mod_rewrite = False -> Admin - 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: Mod_rewrite = False -> Admin (/thread-158.html)



Mod_rewrite = False -> Admin - rund1me - 2005-12-01

So i got some problem and cant solve them,
i edited config first to,
mod_rewrite = true;
but i cant see my thumbnails and so on, when i disable this i cant get the Admin Serverpath to work
so mir dirs are like this

Admin
Zen
index.php
htacces

i have a file called index in admin in this i call -> zen/admin.php with include so i cant get this to work cause when i log in its says again:
"Albums not found"

someone can help me there ?




Mod_rewrite = False -> Admin - qtrc - 2005-12-01

If your host dosn't support mod_rewrite you need to adjust the admin links.

Check out this post.

http://www.zenphoto.org/support/topic.php?id=18

It answers your question. Remember this is still in beta. trisweb has said he will fix this on the next build. Good Luck.




Mod_rewrite = False -> Admin - rund1me - 2005-12-01

hmm

if i do this:

/template-functions.php line 197
printLink(WEBPATH.'/admin/index.php?site=Galerie', $text, $title, $class, $id);

nothing happens.
it seems the problem that my Admin Dir is in
/Home/DAD2/Admin/index.php
with
include "../zen/admin.php";

and my Zen Gallery is located @
/Home/DAD2/index.php
with:

require_once("zen/template-functions.php");
$themepath = 'themes';
$theme = $_zp_gallery->getCurrentTheme();
$_zp_themeroot = WEBPATH . "/$themepath/$theme";
if (in_context(ZP_IMAGE)) {
include("$themepath/$theme/image.php");
} else if (in_context(ZP_ALBUM)) {
include("$themepath/$theme/album.php");
} else if (in_context(ZP_INDEX)) {
include("$themepath/$theme/index.php");
}

so i cant find a solution when replacing paths