[TYPO3-50-general] SQL-Exception on initial page request

Lars Peipmann typo3 at larsp.de
Thu Apr 21 10:58:31 CEST 2011


Hi there,

a python script installed every night the git version on my webserver. 
This worked well for a long time. Since a few days/weeks there comes a 
error message after the download from git on the first page request.

Exception in log file:
Uncaught exception #1045 in line 36 of 
/var/www/.../demo.phoenix/Packages/Framework/FLOW3/Resources/PHP/Doctrine/DBAL/Driver/PDOConnection.php: 
SQLSTATE[28000] [1045] Access denied for user 'www-data'@'localhost' 
(using password: NO) [logged in F3\FLOW3\Log\Logger::logException()]

There should come the installation tool, shouldn't it?

The same problem with a manual download from git.

thanks,
Lars :)


The litte python script:

#!/usr/bin/python

import mechanize
import os

br=mechanize.Browser()
path='/var/www/.../demo.phoenix'
i=0

i += 1; print str(i) + ". Download TYPO3 Phoenix"
os.system('rm -rf '+path)
os.system('git clone --recursive 
git://git.typo3.org/TYPO3v5/Distributions/Base.git '+path)
os.system('chown lars:lars '+path)
os.system('cd '+path+'/Packages/Framework/FLOW3/Scripts/; 
./setfilepermissions.sh lars www-data www-data')

i += 1; print str(i) + ". Open Site"
br.open('http://demo.phoenix.larsp.de')

i += 1; print str(i) + ". Fill out form"
br.select_form(nr=0)
br['identifier']='lars'
br['password']='...'
br['person[name][firstName]']='Lars'
br['person[name][lastName]']='Peipmann'

i += 1; print str(i) + ". Submit"
br.submit()


More information about the TYPO3-project-5_0-general mailing list