[pmwiki-users] No GUIButtons

Patrick R. Michaud pmichaud at pobox.com
Fri Dec 1 07:47:41 CST 2006


On Fri, Dec 01, 2006 at 12:58:21PM +0000, Ian Barton wrote:
> 
> > Anno wrote:
> >>  >$GUIButtonDirUrlFmt = "/var/lib/pmwiki/pub/guiedit";
> >>
> >> This should be a URL, like http://.....
> > Thanks, I have changed it, but it didn't fix the problem. Inspecting the 
> > generated page source I can see the problem:
> > 
> > <link rel='stylesheet' type='text/css' 
> > href='http://www.banter.local/estate/pub/skins/monobook/monobook.css' />
> > <script language='javascript' type='text/javascript'
> >    src='http://www.banter.local/pmwiki/pub/guiedit/guiedit.js'></script>
> > 
> > The url of guiedit.js should be:
> > http://www.banter.local/estate/pub/guiedit/guiedit.js
> > 
> > Where does pmwiki find the url for java script files? I thought it might 
> > be a skin problem, but it still happens with the default skin.
> > 
> > In my local/config.php I have
> > 
> > $ScriptUrl = 'http://www.banter.local/estate';
> >   $PubDirUrl = 'http://www.banter.local/estate/pub';
> > 
> OK fixed it now. For the record I had to explicitly set my 
> $FarmPubDirUrl in local/config.php.

Strange.  PmWiki will normally set $FarmPubDirUrl  to be the
same as $PubDirUrl, unless something else is setting it
first.  So you shouldn't have to set $FarmPubDirUrl if
$PubDirUrl is already correct.

Is $FarmPubDirUrl being set somewhere else -- perhaps in
a recipe somewhere or farmconfig.php ?

Pm




More information about the pmwiki-users mailing list