Upgrade fog 1.2.0 to the svn version 3737.



  • Hello
    I wanted tried to upgrade my fog 1.2.0 to the svn version 3737.
    May at the time of the update of database page it blocks.
    I have this error in /var/log/apache2/error.log:

    [Fri Jul 10 11:24:07 2015] [error] [client 192.168.33.222] PHP Warning:  mysqli::poll(): No stream arrays were passed in /var/www/fog/lib/db/MySQL.class.php on line 67, referer: http://fogserver.gtr.iut-velizy.uvsq.fr/fog/management/index.php?node=schemaupdater
    [Fri Jul 10 11:24:07 2015] [error] [client 192.168.33.222] PHP Warning:  mysqli::poll(): No stream arrays were passed in /var/www/fog/lib/db/MySQL.class.php on line 67, referer: http://fogserver.gtr.iut-velizy.uvsq.fr/fog/management/index.php?node=schemaupdater
    [Fri Jul 10 11:24:07 2015] [error] [client 192.168.33.222] PHP Warning:  mysqli::poll(): No stream arrays were passed in /var/www/fog/lib/db/MySQL.class.php on line 67, referer: http://fogserver.gtr.iut-velizy.uvsq.fr/fog/management/index.php?node=schemaupdater
    ..........
    

    I tried installs since the beginning

    [Fri Jul 10 12:18:30 2015] [error] [client 192.168.33.222] PHP Warning:  mysqli::query(): Couldn't fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 59, referer: http://fogserver.gtr.iut-velizy.uvsq.fr/fog/management/index.php?node=schemaupdater
    [Fri Jul 10 12:18:30 2015] [error] [client 192.168.33.222] PHP Warning:  mysqli::query(): Couldn't fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 59, referer: http://fogserver.gtr.iut-velizy.uvsq.fr/fog/management/index.php?node=schemaupdater
    [Fri Jul 10 12:18:30 2015] [error] [client 192.168.33.222] PHP Warning:  mysqli::real_escape_string(): Couldn't fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 147, referer: http://fogserver.gtr.iut-velizy.uvsq.fr/fog/management/index.php?node=schemaupdater
    [Fri Jul 10 12:18:30 2015] [error] [client 192.168.33.222] PHP Warning:  mysqli::real_escape_string(): Couldn't fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 147, referer: http://fogserver.gtr.iut-velizy.uvsq.fr/fog/management/index.php?node=schemaupdater
    

    Thanks.


  • Senior Developer

    I’m solving this thread. It was caused simply because I overlooked a while loop. What was a while loop should’ve simply been an if statement. Basically it was looping as long as poll was invalid, which if the connection is dropped (such as the case during an upload task to change from one checkin to another element) would cause it to loop repeatedly forever because the array no longer existed.

    This should now be solved and I’m sorry. Version 4264.



  • I’m having the exact same issue.



  • the password must be correct because it performs well alterations on the basis.
    and if I reinstall from scratch, it happens to create me a table.


  • Moderator

    @frenk Do you have the correct mysql username and password specified in the /opt/fog/.fogsettings file? If not, correct that and then reinstall FOG.



  • Debian wheezy

    root@fogserver /opt # cat /etc/debian_version
    7.8
    root@fogserver /opt # php -v
    PHP 5.6.10-1~dotdeb+7.3 (cli) (built: Jun 15 2015 07:22:09)
    Copyright (c) 1997-2015 The PHP Group
    Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
        with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
    

  • Moderator

    @frenk said:

    yes for user root and fog

    Which OS do you use and php version ?



  • yes for user root and fog


  • Moderator

    @frenk Do you have a MySQL password set?


Log in to reply
 

353
Online

39.3k
Users

11.0k
Topics

104.4k
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.