[Typo3-dev] mysql check for the dumb - avoid blank screen

Martin Kutschker Martin.T.Kutschker at blackbox.net
Fri Sep 5 16:31:15 CEST 2003


Hi!

Yesterday I set up a new machine and forgot to install mysql for php. Typo3 just gave me a blank screen.

How about addings something like this

if (!function_exist("mysql_pconnect")) die ("Typo3 runs only with MySQL support");

...here

// *******************************
// Checking environment
// *******************************

... or only there

// ********************************************
// Check if the install script should be run:
// ********************************************

in init.php.

Or some other convenient place in the install process (regular or 1-2-3). A blank screen is not very helpful.

Regards,
Masi 





More information about the TYPO3-dev mailing list