https://bugzilla.wikimedia.org/show_bug.cgi?id=25182

           Summary: Revision 72797 breaks 'vector' skin
           Product: MediaWiki
           Version: 1.17-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Resource Loader
        AssignedTo: tpars...@wikimedia.org
        ReportedBy: jorisaerts+m...@gmail.com
                CC: roan.katt...@gmail.com


Since rev 72797 I get the following error (results in vector skin only showing
plain text in Chrome)

<b>Warning</b>:  file_exists() [<a
href='function.file-exists'>function.file-exists</a>]: open_basedir restriction
in effect. File(/wiki/skins/common/images/add.png) is not within the allowed
path(s): (/var/www/vhosts/xxxxxxxx.nl/httpdocs:/tmp) in
<b>/var/www/vhosts/xxxxxxxx.nl/httpdocs/wiki/includes/libs/CSSMin.php</b> on
line <b>69</b><br />

Which is:
$file = ( isset( $path ) ? rtrim( $path, '/' ) . '/' : '' ) .
"{$match['file'][0]}";

replacing '' with './' seems to resolve it but I dont know if this is a proper
workaround.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to