[Typo3-dev] tce_forms: EXT upload dirs / slash problem

Stefan Kreisberg stefanNOSPAM at linkfactory.dk
Wed Mar 30 12:02:07 CEST 2005


Hi list,

I have a peculiar problem with an extension:
I can relate files ordinary with no problems, but when I save files in a new
directory beneath the extensions own folder, the slash in the file name
from the files BLOB field is translated to %2F (see below) but only when
calling the build ind t3lib_BEfunc::editOnClick ...!    

So:

        /uploads/tx_subjectdb/64%2FMyPDF.PDF

Should be:

        /uploads/tx_subjectdb/64/MyPDF.PDF

The main difference from other extensions are ofcourse that the field files
in this case holds the value 64/MyPDF.PDF ...

Otherwise my "own" directories and saved files work perfectly ... so showing
the information in frontend is not an issue at all :D
(I create a new directory for each new element, since I am working on a
"Subject Database" with articles, reports and publications as attached to
the elms. 

I welcome any hint, suggestions, where to look ...

Warning: filesize(): Stat failed
for /var/www/html/t3sandkasse1/uploads/tx_subjectdb/64%2FMyPDF.PDF (errno=2
- No such file or directory)
in /var/www/html/typo3_src-3.7.0/t3lib/class.t3lib_tceforms.php on line
1682




More information about the TYPO3-dev mailing list