PHP Fatal Error - Ubuntu 16.04, Fog 1.4.4



  • 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


  • Moderator

    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.


Log in to reply
 

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