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

    Fog Installation PhP Error

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    5
    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.
    • S
      Sudheerbattu
      last edited by

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

      This happens at You still need to install/update your database schema. This can be done by opening a web browser and going to:

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Sebastian Roth

        @Sudheerbattu This sounds a bit like: https://forums.fogproject.org/topic/10006/ubuntu-is-fog-s-enemy

        Which version of FOG do you have installed and on which OS are you running it?

        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
        • S
          Sudheerbattu
          last edited by

          Hi Sebastian

          Thanks for your reply.

          I tried to install Fog version 1.4.4 On three different distributions

          Ubuntu 14.04.5 ====> I have the above error
          Ubuntu 16.04.3 ====> I see a new error /usr/bin/lsb_release
          Cannot add PPA: ‘ppa:~ondrej/ubuntu/php’.
          ERROR: ‘~ondrej’ user or team does not exist.
          Centos7.3 =====> Fog requires PhP Version 5.5 or > but the system have 5.4.* installed

          Let me know if you need more details.

          Thanks
          Sudheer

          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman @Sudheerbattu
            last edited by Wayne Workman

            @sudheerbattu All branches of the fog installer is currently passing the installer tests on those mentioned distributions: http://theworkmans.us:20080/fog_distro_check/installer_dashboard.html

            Must be your environment or firewall or web filter.

            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!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            1 Reply Last reply Reply Quote 1
            • S
              Sudheerbattu
              last edited by

              @wayne-workman

              Hi,

              Finally I was able to install the Fog on Centos7 with little tweaks. Because of Proxy server remiphp56 was not installed so after the fog installation I have to uninstall Php5.4.6 and Install PhP 5.6 for fog 1.4.4 to work.

              Thanks
              Sudheer

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

              148

              Online

              12.1k

              Users

              17.3k

              Topics

              155.4k

              Posts
              Copyright © 2012-2024 FOG Project