[pmwiki-users] Paths

Charles Little clittle at corp.ivs.cc
Sun Oct 1 11:51:45 CDT 2006


> I'm trying to set a path to include a cookbook in my wiki.
> None of the methods I try work, i.e.
>
> full url: include_once("http://wiki.gamera.cc/cookbook/mediacat.php")
>
> or relative url: include_once("../cookbook/mediacat.php")
>
> I get an error stating that the file could not be found... Etc, etc.
>
> How do I specify a directory?  And instead of putting path/to
> in all of the recipes (or perhaps in addition to) perhaps an
> example would be warranted so you don't have to answer what
> I'm sure is a stupid question?

Ok... I guess it was a stupid question since I found the answer where it
should be.  However, now I'm getting another frustrating error:


Warning: main(/home/gamera/public_html/wiki/cookbook/mediacat.php): failed
to open stream: No such file or directory in
/home/gamera/public_html/wiki/local/config.php on line 132

Warning: main(): Failed opening
'/home/gamera/public_html/wiki/cookbook/mediacat.php' for inclusion
(include_path='.:/usr/lib/php:/usr/local/lib/php') in
/home/gamera/public_html/wiki/local/config.php on line 132

Warning: Cannot modify header information - headers already sent by (output
started at /home/gamera/public_html/wiki/local/config.php:132) in
/home/gamera/public_html/wiki/pmwiki.php on line 884

Does anyone have any ideas?

TIA

--------------------------------------------
Charles Little | President/Sr. Developer Infinite Visions Studios |
http://corp.ivs.cc
email: clittle at corp.ivs.cc | mobile: (404) 606-0455 | office: (770) 879-3628

...there are no limits...
Behold a pale horse: and his name that sat on him was Death, and Hell
followed with him.






More information about the pmwiki-users mailing list