[TYPO3-english] A problem with swiftmailer, autoloading and open_basedir

Dmitry Dulepov dmitry.dulepov at gmail.com
Fri Dec 23 10:24:53 CET 2011


Hi!

I am getting the following error message for *every* SwiftMailer class when 
I call a CLI script:

Core: Error handler (BE): PHP Warning: spl_autoload(): open_basedir 
restriction in effect. File(swift_swiftexception.php) is not within the 
allowed path(s): 
(/var/www/vhosts/client/:/var/www/vhosts/client/tmp/:/usr/share/php/:/usr/share/php5/:/var/lib/typo3/:/usr/bin/:/var/www/default/:/etc/hostname:/dev/random:/dev/urandom) 
in /var/lib/typo3/TYPO3_4-5/t3lib/class.t3lib_autoloader.php line 113

And that is really for each SwiftMailer class.

How can I fix that?

-- 
Dmitry Dulepov
TYPO3 core&security teams member
Blog: http://dmitry-dulepov.com/
Twitter: http://twitter.com/dmitryd

Simplicity will save the world.


More information about the TYPO3-english mailing list