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

    HTTP ERROR 500 - Fresh install

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    4
    251
    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.
    • B
      beeppy
      last edited by

      I’m doing a fresh install on a new CentOS 9 just for running FOG.

      I came to the part where you need to go to /fog/management to install database schema, but all I get is a http error 500.

      In php-fpm/www-error.log is written:
      PHP Fatal error: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in /var/www/html/fog/lib/db/databasemanager.class.php:47
      Stack trace:
      #0 /var/www/html/fog/lib/db/databasemanager.class.php(47): implode()
      #1 /var/www/html/fog/lib/fog/loadglobals.class.php(43): DatabaseManager::establish()
      #2 /var/www/html/fog/lib/fog/loadglobals.class.php(81): LoadGlobals::_init()
      #3 /var/www/html/fog/commons/base.inc.php(49): LoadGlobals->__construct()
      #4 /var/www/html/fog/management/index.php(22): require(‘…’)
      #5 {main}
      thrown in /var/www/html/fog/lib/db/databasemanager.class.php on line 47

      Database is accessible via phpmyadmin without any problems.

      Any ideas how to solve this?

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

        @beeppy FOG has not been tested on Centos 9. Centos 9 was released after FOG 1.5.9. From the error messages it looks like its having a problem with the new version of php that ships with Cento 9.

        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
        • B
          beeppy
          last edited by

          Thanx, for a quick reply.

          You’re right. With CentOS9 comes with a newer version of PHP. The installation went without any problems with CentOS8.

          Any news when CentOS9/PHP8 will be supported?

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

            @beeppy said in HTTP ERROR 500 - Fresh install:

            Any news when CentOS9/PHP8 will be supported?

            I don’t have any timing on when FOG 1.5.10 will be released. From the last time I talked with the developers FOG 1.5.9.120 or so in the dev branch will probably be what will be 1.5.10 when its released.

            So just as an FYI it might not be until 1.5.11 is released. Also when we look at the statistics not many people are installing FOG with Centos anymore. Market share wise of the (RHEL variants) centos 7 is still the leader. On a total market share side, most people install FOG on debian or ubuntu now.

            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

            109

            Online

            12.1k

            Users

            17.3k

            Topics

            155.3k

            Posts
            Copyright © 2012-2024 FOG Project