Warning: Invalid argument supplied for foreach() in /home/tbcvps/texasbeefcheckoff.com/framework/core/manifest/ConfigManifest.php on line 140
GET /programs/

[Warning] Cannot modify header information - headers already sent by (output started at /home/tbcvps/texasbeefcheckoff.com/framework/core/manifest/ConfigManifest.php:140)

GET /programs/

Line 161 in /home/tbcvps/texasbeefcheckoff.com/framework/main.php

Source

152 		}
153 	})
154 	->execute();
155 
156 global $databaseConfig;
157 
158 // Redirect to the installer if no database is selected
159 if(!isset($databaseConfig) || !isset($databaseConfig['database']) || !$databaseConfig['database']) {
160 	if(!file_exists(BASE_PATH . '/install.php')) {
161 		header($_SERVER['SERVER_PROTOCOL'] . " 500 Server Error");
162 		die('SilverStripe Framework requires a $databaseConfig defined.');
163 	}
164 	$s = (isset($_SERVER['SSL']) || (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off')) ? 's' : '';
165 	$installURL = "http$s://" . $_SERVER['HTTP_HOST'] . BASE_URL . '/install.php';
166 
167 	// The above dirname() will equate to "\" on Windows when installing directly from http://localhost (not using

Trace

SilverStripe Framework requires a $databaseConfig defined.