When i repare this error

  • Fatal error: PHP warning in file /home/wwwmundo/public_html/upload/wcf/lib/system/io/File.class.php (41): fopen(/home/wwwmundo/public_html/upload/wcf/templates/compiled/9_0_1_documentHeader.php) [function.fopen]: failed to open stream: Permission denied



    Information:
    error message: PHP warning in file /home/wwwmundo/public_html/upload/wcf/lib/system/io/File.class.php (41): fopen(/home/wwwmundo/public_html/upload/wcf/templates/compiled/9_0_1_documentHeader.php) [function.fopen]: failed to open stream: Permission denied
    error code: 0
    file: /home/wwwmundo/public_html/upload/wcf/lib/system/WCF.class.php (281)
    php version: 5.2.17
    wcf version: 1.1.8 (Tempest)
    date: Mon, 09 Jan 2012 13:15:58 +0000
    request: /upload/
    referer:


    Stacktrace:
    #0 [internal function]: WCF::handleError(2, 'fopen(/home/www...', '/home/wwwmundo/...', 41, Array)
    #1 /home/wwwmundo/public_html/upload/wcf/lib/system/io/File.class.php(41): fopen('/home/wwwmundo/...', 'wb')
    #2 /home/wwwmundo/public_html/upload/wcf/lib/system/template/TemplateCompiler.class.php(34): File->__construct('/home/wwwmundo/...')
    #3 /home/wwwmundo/public_html/upload/wcf/lib/system/template/Template.class.php(360): TemplateCompiler->compile('documentHeader', '{if $this->sess...', '/home/wwwmundo/...')
    #4 /home/wwwmundo/public_html/upload/wcf/lib/system/template/Template.class.php(264): Template->compileTemplate('documentHeader', '/home/wwwmundo/...', '/home/wwwmundo/...')
    #5 /home/wwwmundo/public_html/upload/wcf/lib/system/template/Template.class.php(436): Template->display('documentHeader', false)
    #6 /home/wwwmundo/public_html/upload/wcf/templates/compiled/48_0_1_index.php(22): Template->includeTemplate('documentHeader', Array, 1)
    #7 /home/wwwmundo/public_html/upload/wcf/lib/system/template/Template.class.php(267): include('/home/wwwmundo/...')
    #8 /home/wwwmundo/public_html/upload/wcf/lib/page/AbstractPage.class.php(100): Template->display('index')
    #9 /home/wwwmundo/public_html/upload/wcf/lib/page/AbstractPage.class.php(46): AbstractPage->show()
    #10 /home/wwwmundo/public_html/upload/wcf/lib/util/RequestHandler.class.php(64): AbstractPage->__construct()
    #11 /home/wwwmundo/public_html/upload/wcf/lib/util/RequestHandler.class.php(101): RequestHandler->__construct('Index', Array, 'page')
    #12 /home/wwwmundo/public_html/upload/index.php(8): RequestHandler::handle(Array)
    #13 {main}



    When i repar this error, plese help me.

  • Please fix your file permissions with a FTP program of your choice: Every file and directory should be set to CHMOD 777 (expect for wcf/config.inc.php which should be set to CHMOD 644).

    Alexander Ebert
    Senior Developer WoltLab® GmbH