01006: problem with guiedit buttons (PITS 00580?): wrong url for guiedit.js

Summary: problem with guiedit buttons (PITS 00580?): wrong url for guiedit.js
Created: 2008-01-31 08:52
Status: Closed (not a bug)
Category: Bug
Assigned:
Priority: 54
Version: 2.2.0-beta65
OS: apache/5

Description: there is a little bug in guiedit.php:

$HTMLHeaderFmt[] = "<script language='javascript' type='text/javascript'

  src='\$FarmPubDirUrl/guiedit/guiedit.js'></script>\n";

must be

$HTMLHeaderFmt[] = "<script language='javascript' type='text/javascript'

  src='$FarmPubDirUrl/guiedit/guiedit.js'></script>\n";

without the \ before $FarmPubDirUrl

JA.

The $FarmPubDirUrl variable is intended to be expanded at the end of the processing while loading the skin, so no, it is not a bug nor a typo. --Petko January 28, 2009, at 04:01 AM

I've deleted the \ in guiedit.php, but it doesn't work neither. Anyone can help?

--starlink

You should not delete it. There may be a problem if your wiki is in a farm that is incorrectly configured, but in that case, no styles (skins, colors etc.) at all will work. --Petko January 28, 2009, at 04:01 AM