Blank Web Pages after Upgrade from 1.2 to Trunk Version: 7593



  • Just upgraded from 1.2 build to trunk so we can take advantage of Windows 10. Everything completed with no errors when running ./install.sh However when accessing the web site to update the database all you are presented with is a blank web page.

    Output from httpd error log
    [Thu May 12 09:55:50 2016] [error] [client 10.10.xx.xx] PHP Strict Standards: Accessing static property RemoveUpload::$FOGCore as non static in /var/www/html/fog/lib/plugins/accesscontrol/hooks/removeupload.hook.php on line 35, referer: http://10.10.yy.yy/
    [Thu May 12 09:55:50 2016] [error] [client 10.10.xx.xx] PHP Fatal error: Call to a member function getClass() on null in /var/www/html/fog/lib/plugins/accesscontrol/hooks/removeupload.hook.php on line 35, referer: http://10.10.yy.yy/

    PHP -v

    PHP 5.6.21 (cli) (built: Apr 28 2016 07:47:46)
    Copyright © 1997-2016 The PHP Group
    Zend Engine v2.6.0, Copyright © 1998-2016 Zend Technologies

    Could someone point me in the right direction to fix this issue.
    TIA



  • Removing the hook sorted it nicely. Thanks for that.


  • Senior Developer

    Also, are you using the accesscontrol plugin?


  • Senior Developer

    Where did the RemoveUpload hook come from? Can you just try removing that hook?

    rm -f /var/www/html/fog/lib/plugins/accesscontrol/hooks/removeupload.hook.php


Log in to reply
 

469
Online

39.4k
Users

11.1k
Topics

105.4k
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.