[TYPO3-core] RFC: another enhancement to the DB connect method and error display in the FE
    Martin Kutschker 
    martin.kutschker-n0spam at no5pam-blackbox.net
       
    Tue Sep 25 09:16:07 CEST 2007
    
    
  
Martin Kutschker schrieb:
> Hi!
> 
> Patch request for trunk.
> 
> Problem 1: t3lib_db::sql_pconnect() logs errors, but doesn't report them 
> to the caller. UI driven scripts cannot display detailed errors.
> 
> Problem 2: While logging is nice, novice users/admins are probably not 
> aware of the logging feature (see other post for a remedy). They would 
> need a direct information in the UI.
> 
> Solution: Add an optional message parameter that returns any Mysql 
> errors.
Nobody wants a nice error message in the FE? Everybody's happy wih 
logging and guessing? I think that the average user would welcome an 
easier way to determine which went wrong with his DB connection.
Masi
    
    
More information about the TYPO3-team-core
mailing list