[TYPO3-dam] Empty Folders in RTE DAM Filebrowser
georg kuehnberger
georg at georg.org
Thu Feb 14 19:05:26 CET 2008
Tobi;
Tobias Pierschel wrote:
> Hi Georg,
> thanks for your reply.
>
> - looks a bit as if there are no records at all, or bad permissions ...
> TP: we´ll see :-)
>
> - Q: Can you reproduce this bug with "Neues normales Bild" (or the other
> 2 options) instead of "Zauberbild" ?
> TP: Yes, it doesnt work with "Neues normales Bild" and "Zauberbild".
OK;
> - Q: Can you see them in the Media > List Module at all ? then: go +
> reindex your files if you cant see them)
> TP: yes, i can see them all. In DAM i can upload, delete, edit.
Q_1: Do you see Elements when useing "Media > Liste" and then selecting
one folder with images? This screenshot was missing. (I'm not talking
Web > List here);
> - Q: Did you, by any chance un- and re-install the DAM Extension? - can
> you check wether you see 2(!) "media"-Folders in your page-tree, with
> one being empty? then get rid of the wrong one ;-)
> TP: just one, please look at: list.gif & media-file.gif
OK, they are looking fine;
> - Q: Can you turn on debugging (in the ext-conf + then within the
> element-browser) and report back? TP: I turned on debuggin (debug.hmtl),
> but in the "element browser" from the RTE(HTML AREA) doesnt apear any
> debugin info like in "media-file.gif"
Q_2: in rtefilebrowsergif the Dubugging TAB is BELOW the Bottom-Text "Im
Zaubermodus kann eine .... "
so you may just have to scroll down;
In case you find it, you may see the executed SQL Selects and can
evaluate them manually via phpmyadmin.
> Please take a look at "thisworks.gif". This works perfekt. You can see
> the problem under "rtefilebrowser.gif"
> It seems the integration in the rte element browser is a little bit flawed.
Well it's not, at least I cant reproduce this bug here (with the same T3
+ latests DAM Version from SVN;
So I feel it's a config thing then;
Q_3: please post the URL of the EM from RTE; it should look something like:
http://t3/dev/dam/t3damsvn/typo3/sysext/rtehtmlarea/mod4/select_image.php?&act=magic&mode=rte&bparams=data%5Btt_content%5D%5B4%5D%5Bimage%5D%7C1%3A0%7Ctt_content%3A8%3Abodytext%3A5%3Atextpic%3A5%3A%7Cgif%2Cjpg%2Cjpeg%2Ctif%2Cbmp%2Cpcx%2Ctga%2Cpng%2Cpdf%2Cai%7C&SET[txdamSel]=__txdam_eb_selection&SET[extendedInfo]=1
regards georg
> Greetings T o b i
>
>
>
> ------------------------------------------------------------------------
>
> __type dir
> __exists 1
> __protected
> __protected_type
> dir_ctime 1202992728
> dir_mtime 1202992728
> dir_size 4096
> dir_type dir
> dir_owner 1205
> dir_perms 16877
> dir_writable 1
> dir_readable 1
> mount_id ec59b27982d0a9a835097b2f9bc00342
> mount_path /srv/www/htdocs/web20/html/online/event412/fileadmin/
> mount_name fileadmin/
> mount_type
> web_nonweb web
> web_sys web
> dir_accessable 1
> dir_name pageBanner
> dir_title pageBanner
> dir_path_absolute
> /srv/www/htdocs/web20/html/online/event412/fileadmin/assets/pageBanner/
> dir_path_relative fileadmin/assets/pageBanner/
> dir_path fileadmin/assets/pageBanner/
> dir_path_normalized fileadmin/assets/pageBanner/
> dir_path_from_mount assets/pageBanner/
>
>
> MOD_SETTINGS
>
> function
> tx_dam_resultsPerPage 100
> tx_dam_folder fileadmin/assets/pageBanner/
> tx_dam_select_undo
> a:5:{i:0;a:1:{s:4:"undo";a:1:{s:6:"SELECT";a:1:{s:11:"txdamFolder";a:1:{s:71:"/srv/www/htdocs/web20/html/online/event412/fileadmin/assets/pageHeader/";s:1:"1";}}}}i:1;a:1:{s:4:"undo";a:1:{s:6:"SELECT";a:1:{s:11:"txdamFolder";a:1:{s:74:"/srv/www/htdocs/web20/html/online/event412/fileadmin/assets/pageDownloads/";s:1:"1";}}}}i:2;a:1:{s:4:"undo";a:1:{s:6:"SELECT";a:1:{s:11:"txdamFolder";a:1:{s:71:"/srv/www/htdocs/web20/html/online/event412/fileadmin/assets/pageBanner/";s:1:"1";}}}}i:3;a:1:{s:4:"undo";a:1:{s:6:"SELECT";a:1:{s:11:"txdamFolder";a:1:{s:65:"/srv/www/htdocs/web20/html/online/event412/fileadmin/user_upload/";s:1:"1";}}}}i:4;a:1:{s:4:"undo";a:1:{s:6:"SELECT";a:1:{s:11:"txdamFolder";a:1:{s:71:"/srv/www/htdocs/web20/html/online/event412/fileadmin/assets/pageBanner/";s:1:"1";}}}}}
> tx_dam_select
> a:1:{s:6:"SELECT";a:1:{s:11:"txdamFolder";a:1:{s:71:"/srv/www/htdocs/web20/html/online/event412/fileadmin/assets/pageBanner/";s:1:"1";}}}
> act file
> mode db
> bparams
> data[tt_content][30][tx_damttcontent_files]|||tx_dam|gif,jpg,jpeg,tif,bmp,pcx,tga,png,pdf,ai|
> tx_dam_file_uploadFields 5
> tx_dam_list_langOverlay exclusive
> txdamSel __txdam_eb_selection
> displayThumbs 1
> extendedInfo 1
> tx_dam_file_upload_overwrite 0
> tx_dam_resultPointer 0
>
>
> Pointer
>
> countTotal 4
> firstItemNum 0
> lastItemNum 3
> page 0
> lastPage 0
> countItems 4
> itemsPerPage 100
> maxPages 20
>
>
> $queryArr
>
> SELECT DISTINCT tx_dam.hpixels, tx_dam.vpixels, tx_dam.caption,
> tx_dam.uid, tx_dam.pid, tx_dam.title, tx_dam.media_type, tx_dam.tstamp,
> tx_dam.crdate, tx_dam.cruser_id, tx_dam.deleted,
> tx_dam.sys_language_uid, tx_dam.l18n_parent, tx_dam.hidden,
> tx_dam.starttime, tx_dam.endtime, tx_dam.fe_group, tx_dam.file_name,
> tx_dam.file_dl_name, tx_dam.file_path, tx_dam.file_size,
> tx_dam.file_type, tx_dam.file_ctime, tx_dam.file_mtime,
> tx_dam.file_hash, tx_dam.file_mime_type, tx_dam.file_mime_subtype,
> tx_dam.file_status, tx_dam.parent_id
> FROM tx_dam
>
> WHERE
> 1
> AND tx_dam.pid IN (1) AND tx_dam.file_type IN
> ('gif','jpg','jpeg','tif','bmp','pcx','tga','png','pdf','ai')
> AND (tx_dam.file_path LIKE BINARY 'fileadmin/assets/pageBanner/%')
> AND tx_dam.deleted=0
> GROUPBY
> ORDERBY title
> LIMIT 100
>
>
> $query
>
> SELECT DISTINCT tx_dam.hpixels, tx_dam.vpixels, tx_dam.caption,
> tx_dam.uid, tx_dam.pid, tx_dam.title, tx_dam.media_type, tx_dam.tstamp,
> tx_dam.crdate, tx_dam.cruser_id, tx_dam.deleted,
> tx_dam.sys_language_uid, tx_dam.l18n_parent, tx_dam.hidden,
> tx_dam.starttime, tx_dam.endtime, tx_dam.fe_group, tx_dam.file_name,
> tx_dam.file_dl_name, tx_dam.file_path, tx_dam.file_size,
> tx_dam.file_type, tx_dam.file_ctime, tx_dam.file_mtime,
> tx_dam.file_hash, tx_dam.file_mime_type, tx_dam.file_mime_subtype,
> tx_dam.file_status, tx_dam.parent_id FROM tx_dam WHERE 1 AND tx_dam.pid
> IN (1) AND tx_dam.file_type IN
> ('gif','jpg','jpeg','tif','bmp','pcx','tga','png','pdf','ai') AND
> (tx_dam.file_path LIKE BINARY 'fileadmin/assets/pageBanner/%') AND
> tx_dam.deleted=0 ORDER BY title LIMIT 100
>
>
> EB SETTINGS
>
> act file
> mode db
> thisScript /typo3/browse_links.php
> bparams
> 0 data[tt_content][30][tx_damttcontent_files]
> 1
> 2
> 3 tx_dam
> 4 gif,jpg,jpeg,tif,bmp,pcx,tga,png,pdf,ai
> 5
>
> allowedTables tx_dam
> allowedFileTypes
> 0 gif
> 1 jpg
> 2 jpeg
> 3 tif
> 4 bmp
> 5 pcx
> 6 tga
> 7 png
> 8 pdf
> 9 ai
>
> disallowedFileTypes
> *EMPTY!*
>
> addParams
> act file
> mode db
> bparams
> data[tt_content][30][tx_damttcontent_files]|||tx_dam|gif,jpg,jpeg,tif,bmp,pcx,tga,png,pdf,ai|
>
> pointer 0
> SLCMD
> *EMPTY!*
>
> Selection
> SELECT
> txdamFolder
> /srv/www/htdocs/web20/html/online/event412/fileadmin/assets/pageBanner/ 1
>
> Query
> DISTINCT 1
> SELECT
> *EMPTY!*
>
> FROM
> tx_dam tx_dam.hpixels, tx_dam.vpixels, tx_dam.caption, tx_dam.uid,
> tx_dam.pid, tx_dam.title, tx_dam.media_type, tx_dam.tstamp,
> tx_dam.crdate, tx_dam.cruser_id, tx_dam.deleted,
> tx_dam.sys_language_uid, tx_dam.l18n_parent, tx_dam.hidden,
> tx_dam.starttime, tx_dam.endtime, tx_dam.fe_group, tx_dam.file_name,
> tx_dam.file_dl_name, tx_dam.file_path, tx_dam.file_size,
> tx_dam.file_type, tx_dam.file_ctime, tx_dam.file_mtime,
> tx_dam.file_hash, tx_dam.file_mime_type, tx_dam.file_mime_subtype,
> tx_dam.file_status, tx_dam.parent_id
>
> LEFT_JOIN
> *EMPTY!*
>
> MM
> *EMPTY!*
>
> WHERE
> WHERE
> tx_dam.pid AND tx_dam.pid IN (1)
> tx_dam.file_type AND tx_dam.file_type IN
> ('gif','jpg','jpeg','tif','bmp','pcx','tga','png','pdf','ai')
>
> AND
> *EMPTY!*
>
> OR
> txdamFolder./srv/www/htdocs/web20/html/online/event412/fileadmin/assets/pageBanner/
> tx_dam.file_path LIKE BINARY 'fileadmin/assets/pageBanner/%'
>
> NOT
> *EMPTY!*
>
> enableFields
> tx_dam AND tx_dam.deleted=0
>
> GROUPBY
> *EMPTY!*
>
> ORDERBY
> tx_dam title
>
> LIMIT 100
>
> QueryArray
> SELECT DISTINCT tx_dam.hpixels, tx_dam.vpixels, tx_dam.caption,
> tx_dam.uid, tx_dam.pid, tx_dam.title, tx_dam.media_type, tx_dam.tstamp,
> tx_dam.crdate, tx_dam.cruser_id, tx_dam.deleted,
> tx_dam.sys_language_uid, tx_dam.l18n_parent, tx_dam.hidden,
> tx_dam.starttime, tx_dam.endtime, tx_dam.fe_group, tx_dam.file_name,
> tx_dam.file_dl_name, tx_dam.file_path, tx_dam.file_size,
> tx_dam.file_type, tx_dam.file_ctime, tx_dam.file_mtime,
> tx_dam.file_hash, tx_dam.file_mime_type, tx_dam.file_mime_subtype,
> tx_dam.file_status, tx_dam.parent_id
> FROM tx_dam
>
> WHERE
> 1
> AND tx_dam.pid IN (1) AND tx_dam.file_type IN
> ('gif','jpg','jpeg','tif','bmp','pcx','tga','png','pdf','ai')
> AND (tx_dam.file_path LIKE BINARY 'fileadmin/assets/pageBanner/%')
> AND tx_dam.deleted=0
> GROUPBY
> ORDERBY title
> LIMIT 100
>
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
More information about the TYPO3-project-dam
mailing list