[TYPO3-core] RFC #11786: Wrong order of arguments for typo3PrintError()

Steffen Ritter info at rs-websystems.de
Wed Aug 26 09:43:12 CEST 2009


Steffen Gebert schrieb:
> Hi!
> 
> This is a SVN patch request.
> 
> Type: nobrainer
> 
> Branches: trunk
> 
> BT reference:
> http://bugs.typo3.org/view.php?id=11786
> 
> Problem:
> typo3PrintError() is defined as following:
> 
> function typo3PrintError($header,$text,$js='',$head=1)
> 
> So:
> * first argument: short headline
> * second argument: description of the error
> 
> This is mixed up in some places in core, e.g
> Headline: The current username, password or host was not accepted when 
> the connection to the database was attempted to be established!
> Reason: Database Error
> 
> 
> Solution:
> Change them!
> 
> Regards
> Steffen
+1 by reading on testing ...

good one... how did you find this?

regards


More information about the TYPO3-team-core mailing list