After update to latest SVN 5678 Database Schema Installer / Updater Error
-
Same here. After restarting the mysql service, I know get part of the upgrade scheme page, but no button for upgrade or anything. Refreshing the page twice leads to fog/management being forbidden.
-
Problem is that in /var/www/html/fog/lib/fog/config.class.php host and user are not defined.
Fill in localhost for host and root for user, save the file and it should work as expected.
So change
private static function db_settings() { define('DATABASE_TYPE','mysql'); // mysql or oracle define('DATABASE_HOST',''); define('DATABASE_NAME','fog'); define('DATABASE_USERNAME',''); define('DATABASE_PASSWORD',"");
to
private static function db_settings() { define('DATABASE_TYPE','mysql'); // mysql or oracle define('DATABASE_HOST','localhost'); define('DATABASE_NAME','fog'); define('DATABASE_USERNAME','root'); define('DATABASE_PASSWORD',"");
Fill in password if you have one defined for your mysql of course.
-
Does this ONLY occur on updates or fresh install?
I cannot seem to replicate.
-
@Quazz it’s CORRECT.
Thank you so much.
-
@Tom-Elliott I think the issue can be traced to /opt/fog/.fogsettings , so upgrades only I’d say.
snmysqluser and snmysqlhost being empty values there didn’t use to cause issues, but I’m guessing they do now?
-
@Quazz Possibly, yes. I’m trying to rework the way these things get specified. Currently in 4 million lines of code lol.
-
@Quazz Thanks, this solved the problem completely.
-
@billgatesuncle besides the workaround this should be fixed in latest.
-
Hello
same problem here upgraded from 7981 to 8120
I made the change into /var/www/html/fog/lib/fog/config.class.php without success
what i have to do ?I dont know if it’s the same problem but just after “installfog.sh” i’ve got this error message :
cat: /home/svn/trunk/bin/goodInterface.txt: Aucun fichier ou dossier de ce typethanks for your help
-
@plegrand Posted to the other posting. Should be good in latest.