• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    PHP Failures

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    3
    1.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tlawson
      last edited by

      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

      Thanks,
      Taylor Lawson

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        svn 1983 should fix this for you.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • T
          tlawson
          last edited by

          [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.

          Thanks,
          Taylor Lawson

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post

          217

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project