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

    PHP Fatal Error - Ubuntu 16.04, Fog 1.4.4

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    2
    2
    971
    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.
    • R
      Rickm
      last edited by Rickm

      Hi, I’ve had no problem setting up Fog 1.4.4 on Ubuntu 16.04 LTS before, but today I’ve been having an issue where I get a blank white screen when trying to access the web GUI.

      I’m on the latest version of Fog, I followed the “update to latest” part of this guide https://wiki.fogproject.org/wiki/index.php?title=Upgrade_to_trunk

      I checked the apache error log and I see the following…any ideas?

      [Tue Nov 28 23:01:04.033197 2017] [php7:error] [pid 29028] [client 127.0.0.1:37682] PHP Fatal error: Uncaught Error: Call to a member function lastInsertId() on boolean in /var/www/html/fog/lib/db/pdodb.class.php:443\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogcontroller.class.php(527): PDODB->insertId()\n#1 /var/www/html/fog/lib/fog/hookmanager.class.php(59): FOGController->save()\n#2 /var/www/html/fog/lib/fog/fogpagemanager.class.php(82): HookManager->processEvent(‘SEARCH_PAGES’, Array)\n#3 [internal function]: FOGPageManager->__construct()\n#4 /var/www/html/fog/lib/fog/fogbase.class.php(457): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/html/fog/management/index.php(23): FOGBase::getClass(‘FOGPageManager’)\n#6 {main}\n thrown in /var/www/html/fog/lib/db/pdodb.class.php on line 443

      1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator
        last edited by

        You may want to review this post for a resolution: https://forums.fogproject.org/topic/10006/ubuntu-is-fog-s-enemy

        Your error message does sound like a database communication issue.

        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!

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

        139

        Online

        12.1k

        Users

        17.3k

        Topics

        155.3k

        Posts
        Copyright © 2012-2024 FOG Project