[TYPO3-core] RFC #14254: Fresh install does not redirect to Install Tool when mysql is not available
Xavier Perseguers
typo3 at perseguers.ch
Fri Apr 30 11:26:43 CEST 2010
Hi,
This is an SVN patch request.
Type: Bugfix for Install Tool
Bugtracker references:
http://bugs.typo3.org/view.php?id=14254
Branches: trunk
Problem:
When deploying TYPO3 dummy archive and accessing the website from a browser, user is not redirected to Install Tool when mysql driver is not available. This should be enhanced to allow a DBAL-aware
website to be configured when no MySQL driver is available (but let's say oci8 for Oracle is there).
Exact error message is
Database Error
It seems that MySQL support for PHP is not installed!
It comes from method sql_pconnect() of t3lib_db.
How to test:
1) deactivate mysql driver for php
2) run a blank site that will redirect to install tool and show you an error message as stated above
3) Apply patch
4) See that behavior is still the same (message a bit modified as it is now a runtime exception)
If you have a DBAL install, without mysql driver, you'll see that without patch you are not redirect to install tool, while you are with patch applied.
Thanks.
Xavier
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: auto_install_redirect.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100430/6ae71655/attachment.txt>
More information about the TYPO3-team-core
mailing list