FOG Project

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

    Unsolved error when upgrading to 1.5.2

    FOG Problems
    3
    3
    324
    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.
    • P
      pmonstad last edited by pmonstad

      Upgrading from last release to 1.5.2 (skipped 1.5.1) shows an error in browser when accessing the database upgrade during installation:

      • @license http://opensource.org/licenses/gpl-3.0 GPLv3 * @link https://fogproject.org / /* * The main index presenter * * @category Index_Page * @package FOGProject * @author Tom Elliott * @license http://opensource.org/licenses/gpl-3.0 GPLv3 * @link https://fogproject.org */ require ‘…/commons/base.inc.php’; $FOGPageManager = FOGCore::getClass(‘FOGPageManager’); if (session_status() != PHP_SESSION_NONE) { if (isset($_SESSION[‘delitems’]) && !in_array($sub, array(‘deletemulti’, ‘deleteconf’)) ) { unset($_SESSION[‘delitems’]); } } FOGCore::getClass(‘ProcessLogin’)->processMainLogin(); require ‘…/commons/text.php’; $Page = FOGCore::getClass(‘Page’); $nodes = array( ‘schema’, ‘client’, ‘ipxe’ ); if (!in_array($node, $nodes) && ($node == ‘logout’ || !$currentUser->isValid()) ) { $currentUser->logout(); $Page ->setTitle($foglang[‘Login’]) ->setSecTitle($foglang[‘ManagementLogin’]) ->startBody(); FOGCore::getClass(‘ProcessLogin’) ->mainLoginForm(); $Page ->endBody() ->render(); } else { if (FOGCore::$ajax) { $FOGPageManager->render(); exit; } $Page->startBody(); $FOGPageManager->render(); //if ($FOGPageManager->getFOGPageName() !== $FOGPageManager->getFOGPageTitle()) { $Page ->setTitle($FOGPageManager->getFOGPageTitle()); //} $Page->setSecTitle($FOGPageManager->getFOGPageName()); $Page ->endBody() ->render(); }

      Running Centos 6.9. No changes has been made to my server config.

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

        @sebastian-roth There seems to be an issue with php-fpm and apache on Centos 6.9. For now the quick fix is to disable the link between php-fpm and apache to return php control back to apache. ref: https://forums.fogproject.org/topic/11722/problem-during-upgrade-from-1-5-0-to-1-5-2/18

        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 1
        • S
          Sebastian Roth Moderator last edited by

          @pmonstad Well this is the PHP code not being executed on the server. Is PHP still installed and enabled on your server? rpm -qa | grep php and httpd -M might shed a light on this.

          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

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

          150
          Online

          10.2k
          Users

          16.3k
          Topics

          149.9k
          Posts

          Copyright © 2012-2020 FOG Project