![]() |
|
Main page displays without theme... - 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: Main page displays without theme... (/thread-9674.html) |
Main page displays without theme... - stzar - 2012-02-21 Hello Sorry for my bad English Main page displays without theme... - acrylian - 2012-02-21 Re-run setup or change the rewrite base in the htaccess file to reflect the new folder name. Main page displays without theme... - stzar - 2012-02-21 Thanks for immediate answer I started setup at once in this new directory and there's a line 'RewriteBase /galeria' in .htacces Main page displays without theme... - acrylian - 2012-02-21 Sure that you browser cache does not play tricks on your? Main page displays without theme... - stzar - 2012-02-21 Yes, I'm sure I've tried launch from another browser on another computer. All the same Main page displays without theme... - stzar - 2012-02-21 The address is http://www.roker.zabrze.pl/galeria/ . With 'index.php' in address is OK, without - no... Main page displays without theme... - acrylian - 2012-02-21 Your seem to use a custom theme. Try a standard theme and then reanable. I have currently no idea besides the rewrite base. Main page displays without theme... - stzar - 2012-02-21 OK. Thanks a lot... Main page displays without theme... - stzar - 2012-02-22 I do not know what the problem really was, but I solved it by uncommenting line "define('WEBPATH', '/zenphoto');" and changing "/zenphoto" to "/galeria" in two files zenphoto.cfg: one in zp-core and second in zp-data directory. After that all started to work fine Main page displays without theme... - sbillard - 2012-02-22 Your site is displaying correctly for me without the index.html, index.htm, default.html, ... so if you had a "page" matching one of the higher priority defaults then that would get chosen rather than your Zenphoto [edit] or posts crossed in the ether. We do not know either why some servers do not work correctly when we "auto detect" the It would be interesting to know what the value of Main page displays without theme... - stzar - 2012-02-22 Hello sbillard. Thanks for replay Main page displays without theme... - acrylian - 2012-02-22 Just add ` for example on the index.php page of your theme somewhere and post what it says. Main page displays without theme... - stzar - 2012-02-22 @acrylian - I've added this line at the end of file and commented WEBPATH definition in zenphoto.cfg. Then, with index.php in address it prints '/galeria' at the bottom of the page, but without - it says totally nothing... May be WEPPATH is undefined in that case? Main page displays without theme... - acrylian - 2012-02-22 That looks like a server config thing then as sbillard mentioned. Your server apparentl does not pick index.php by itself as the index page. Better ask your host. You could also try to manually define the webpath in the config file within zp-data. But since it partly works I am not sure if that is the actual issue. (never seen this behaviour). Main page displays without theme... - stzar - 2012-02-22 I've just done it and it works, so for me problem is solved. But but as to the server configuration it isn't so easy. In other directories, for example main, index.php is automatically activated (this is the name of the main page file of the site). Main page displays without theme... - acrylian - 2012-02-22 Thanks for the kind words. You can also run your entire site using Zenphoto, btw... To your issue, all I can say is that I never encountered such a behaviour on any install I ever did on several shared hosts. It always worked "out of the box" without any manual defining of the webpath. But we added it some years ago as somehow some servers do need it. Main page displays without theme... - sbillard - 2012-02-23 Thanks for trying to help us. If you don't mind, maybe you can add an I am trying to understand why some servers do not automatically detect the proper Web path. Main page displays without theme... - acrylian - 2012-02-23 Perhaps some server security settings? |