• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. jonathan7
    J
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 3
    • Best 0
    • Controversial 0
    • Groups 0

    jonathan7

    @jonathan7

    0
    Reputation
    93
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    jonathan7 Unfollow Follow

    Latest posts made by jonathan7

    • RE: Database update failed 1.1.0 to 1.1.1

      Just tried it, and I’m still getting the same error.

      OS Version: Ubuntu 14.04

      I deleted the /opt/fog/ folder before installing. I left the previous MySQL tables intact.

      Here is the relevant part from the apache error log:

      [QUOTE]
      [Fri Jun 20 20:23:27.671187 2014] [:error] [pid 24587] [client 10.77.17.8:56201] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/fog/lib/db/MySQL.class.php on line 150, referer: [url]http://10.77.17.78:8000/commons/schemaupdater/index.php?redir=1[/url]
      [Fri Jun 20 20:23:27.674118 2014] [:error] [pid 24587] [client 10.77.17.8:56201] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/fog/lib/db/MySQL.class.php on line 150, referer: [url]http://10.77.17.78:8000/commons/schemaupdater/index.php?redir=1[/url]
      [Fri Jun 20 20:23:27.712777 2014] [:error] [pid 24587] [client 10.77.17.8:56201] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/fog/lib/db/MySQL.class.php on line 150, referer: [url]http://10.77.17.78:8000/commons/schemaupdater/index.php?redir=1[/url]
      [Fri Jun 20 20:23:27.757534 2014] [:error] [pid 24587] [client 10.77.17.8:56201] PHP Fatal error: Call to a member function save() on a non-object in /var/www/fog/commons/schemaupdater/index.php on line 1415, referer: [url]http://10.77.17.78:8000/commons/schemaupdater/index.php?redir=1[/url]
      [/QUOTE]

      Because of the way I’ve setup the Apache virtual host, the base URL does not have the “/fog/” component in it, and it is also running off of port 8000 as I mentioned previously.

      posted in FOG Problems
      J
      jonathan7
    • RE: Database update failed 1.1.0 to 1.1.1

      This is from a fresh install of 1.1.1.

      I posted in this thread because the error is related to the database update script, although it isn’t strictly related to updating the entire installation itself.

      posted in FOG Problems
      J
      jonathan7
    • RE: Database update failed 1.1.0 to 1.1.1

      This is the error that I’m getting when I try to update the database:

      [QUOTE]

      PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/fog/lib/db/MySQL.class.php on line 150
      [/QUOTE]

      I’m running Fog on port 8000 instead of 80 because I am already using Apache for another site. I also have a MySQL password set, but I entered that in during the setup and made sure that it shows up in the config file. I will also be using my router as the DHCP router instead of Fog.

      Any help with this error?

      posted in FOG Problems
      J
      jonathan7