Jump to content

Recommended Posts

Posted (edited)

The server i'm testing on also has icinga etc so my mysql isn't setup for 'no password' .. anyway I replaced all the 'words' in /var/www/html/fog/management/index.php with my mysql details apart from this line:

 

$dbman = new DBManager

 

I had a quick look at the includes and it seems 1 = mysql but this causes the page to be blank (which usually means php script died)?

Edited by nicklec
Posted

Ok making progress...

 

PHP Fatal error:  Uncaught exception 'Exception' with message 'Query Failed: Table 'fog.globalSettings' doesn't exist' in /var/www/html/fog/lib/db/MySql.db.class.php:149\nStack trace:\n#0 /var/www/html/fog/lib/fog/Core.class.php(85): MySql->executeQuery('SELECT settingV...')\n#1 /var/www/html/fog/management/index.php(69): Core->getGlobalSetting('FOG_DEFAULT_LOC...')\n#2 {main}\n  thrown in /var/www/html/fog/lib/db/MySql.db.class.php on line 149

 

This seems kinda odd since its a new install, did it not setup the tables on install because of the lack of an open db?

Posted (edited)
Changed credentials in /var/www/html/fog/commons/config.php and set schemaupdater/index.php to not create db.... nearly there Edited by nicklec
Posted
Man this is convoluted, ended up using root to do schema update as it was saying 'foguser' didn't have access to db. Does everyone run mysql with no credentials, this is madness?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



  • 134 What is your preferred operating system (PC)

    1. 1. Operating systems:


      • MacOS
      • Windows 10
      • Windows 11
      • Windows Vista
      • ChromeOS
      • Other (reply)

×
×
  • Create New...