[Pmwiki-users] Images after edit problem solved but still a mystery

Patrick R. Michaud pmichaud at pobox.com
Mon Jun 16 22:57:26 CDT 2003


On Mon, Jun 16, 2003 at 12:25:53PM -0400, Ross Kowalski wrote:
> 
> If you key in the URL
> http://www.edu-coop.org/pmwiki/pmwiki.php/Main/WelcomePage
> you see the images.
> 
> If you go to this URL
> http://www.edu-coop.org/pmwiki/pmwiki.php
> you won't see the imaes.
> 
> even though I have the following variables set in the local.
> $DefaultGroup = "Main";
> $DefaultTitle = "WelcomePage";
> 
> Any thoughts???

It's an oddity in the sequence in which pmwiki processes pagenames.  
Try adding a line like:

   if ($pagename=='') $pagename="$DefaultGroup.$DefaultTitle";

into your local.php to explicitly set the pagename if there isn't
one specified in the URL.

Pm




More information about the pmwiki-users mailing list