Setting chdir() in PHP does nothing for the code that is configured to look elsewhere via variables in \cookbook\config.php
Viewing the rendered source of you page @ http://dodin.info/index.php I see that one of the CSS files wants to be http://dodin.info/pub/skins/triad/css/layout-print.css However, it actually exists on your sever @ http://dodin.info/wiki/pub/skins/triad/css/layout-print.css I suggest removing the chdir() directive, and modify .htaccess (amongst other things) according to the instructions @ http://www.pmwiki.org/wiki/Cookbook/CleanUrls and http://www.pmwiki.org/wiki/PmWiki/Installation#notes -Michael Paulukonis http://www.xradiograph.com <http://goog_2112721603>Interference Patterns (a blog)<http://www.xradiograph.com%5Cinterference> @XraysMonaLisa <https://twitter.com/XraysMonaLisa> http://michaelpaulukonis.com <http://www.BestAndroidResources.com> Sent from somewhere in the Cloud (hearthrug, by the fender) On Fri, Sep 13, 2013 at 11:32 AM, jdd <[email protected]> wrote: > Hello, > > I'm installing a new server and I use that time to try enhancing the > setting (and documenting it here http://dodin.org/wiki/index.** > php?n=Doc.OpenSUSE-small-**ThirdEdition<http://dodin.org/wiki/index.php?n=Doc.OpenSUSE-small-ThirdEdition> > ) > > I have a curious problem. > > My pmwiki in is apache2 /wiki folder. > > direct call to the wiki/index.php give the normal result > > http://dodin.info/wiki/index.**php <http://dodin.info/wiki/index.php> > > (triad skin) > > this file contain: > > <?php include('pmwiki.php'); > > if I use (what I did until now) a /index.html with html redirection > > http://dodin.org/index.html > > I get a small message and then the wiki opens. Good. > > But is I try php to make the redirect > > http://dodin.info/index.php > > with > > <?php chdir('wiki'); include_once('pmwiki.php'); > > I get the wiki, but without skin > > I got this command from > > http://www.pmwiki.org/wiki/**PmWiki/Installation<http://www.pmwiki.org/wiki/PmWiki/Installation> > > (bottom of the page- removing the _once do not change anyting) > > any hint? I'm very bad as php programmer :-( > > thanks > jdd > -- > http://www.dodin.org > > ______________________________**_________________ > pmwiki-users mailing list > [email protected] > http://www.pmichaud.com/**mailman/listinfo/pmwiki-users<http://www.pmichaud.com/mailman/listinfo/pmwiki-users> >
_______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
