PHP Failures



  • Hello,

    After updating to the latest trunk today i lost access to the web interface entirely. After the database schema update it just had a blank page with the FOG branding at the top.

    After looking at the apache logs i figured this was at least one of the offenders:
    PHP Fatal error: Function name must be a string in /var/www/fog/management/index.php on line 71

    On line 71 on that file i found the following:
    if ($currentUser && $currentUser())

    which, just to see what happened, i changed to:
    if ($currentUser)

    Now the web interface gives me the standard fog homepage and its all working fine… Except, I cannot go to any other pages whatever. I cannot open tasks. Cannot view hosts. etc.

    Any further assistance with this would be greatly appreciated as soon we are meant to be imaging a large shipment of computers with this system.

    Kind Regards,
    Taylor Lawson



  • [quote=“Tom Elliott, post: 31923, member: 7271”]svn 1983 should fix this for you.[/quote]
    Indeed it does.

    Just wanted to make sure that it was known.

    Thanks.


  • Senior Developer

    svn 1983 should fix this for you.


Log in to reply
 

343
Online

39.3k
Users

11.0k
Topics

104.4k
Posts

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