[TYPO3] Adding a prefix to uploads folder
Martin Sildever
sildever at hot.ee
Thu Aug 10 13:58:30 CEST 2006
Hello!
Look at this error please. (Comes when adding images into news list teaser).
www/ + typo3temp/ should be working, but it doesn't.
Where is the place where I can give ImageMagick $input (uploads/pics/) a
prefix in tt_news part.
uploads/pics/ doesn't work. but if I change it in class.t3lib_stdgraphic.php
to ./uploads/pics then it works. (wrapFileName('./'.$input).', line 2536)
THE POINT. I don't want to give this prefix in class.t3lib_stdgraphic.php
file, because then the other things won't work. I would like to give the
prefix ./ somewhere, where the tt_news sends out the information into $input
string. But I can't find this place.
Could somebody help me?
/home/clients/www.onk.ee/www/convert -geometry 150x101! -colorspace
RGB -quality 70 uploads/pics/309_14_brat_easton_ellis.jpg[0]
typo3temp/pics/303d5f7765.jpg
Warning: exec() [function.exec]: open_basedir restriction in effect.
File(/pics/309_14_brat_easton_ellis.jpg[0]) is not within the allowed
path(s): (/home/clients/www.onk.ee:/usr/local/lib/php) in
/home/clients/www.onk.ee/www/t3lib/class.t3lib_stdgraphic.php on line 2545
Warning: Cannot modify header information - headers already sent by (output
started at
/home/clients/www.onk.ee/www/t3lib/class.t3lib_stdgraphic.php:2543) in
/home/clients/www.onk.ee/www/typo3/sysext/cms/tslib/class.tslib_fe.php on
line 2826
Martin Sildever
+37256980322
More information about the TYPO3-english
mailing list