Hi Michael, im getting error 2 too. Ive tried everything that is mentioned here that im aware off, so probably its a server issue. Anyway ill need your assistance:
- tfu moved to component
- session_cache folder created 777
- upload works ok on default images joomla folder within backend
- upload DO NOT work on user subdirectory on default images joomla folder within backend
- upload DO NOT work on front end
- Joomla Flash Uploader Info / Limits / Register limits sets to 777
Thanks for the help. Im on a vps so if i have to change some configuration tellme so.
-----------------------log---------------
Code:
05.14.2010 5:58:39 - ERROR 2 in joomla_flash_uploader/tfu/tfu_helper.php, line 2154: opendir(./__/__/__/images/admin) [_a href='function.opendir'_function.opendir_/a_]: failed to open dir: Permission denied
Request: /components/com_joomla_flash_uploader/tfu/tfu_file.php?action=dir&dir=&ts=1273841918039&tfu_rn=1274447647191756600803842615896&tfu_is_flash_10=1&tfu_ut=-1&TFUSESSID=26b908a90e40e29198c3cab073372a93
Stack: tfu_helper.php:110:tfu_debug:ERROR 2 in joomla_flash_uploader/tfu/tfu_helper.php, line 2154: opendir(./../../../images/admin) [
Stack: ::on_error:2:opendir(./../../../images/admin) [function.opendir]: failed to open d:/home/mydomain/public_html/components/com_joomla_flash_uploader/tfu/tfu_helper.php:2154:Array( [dir] => ./../../../images/admin [myFiles] => Array ( ) [myDirs] => Ar
Stack: tfu_helper.php:2154:opendir:./../../../images/admin
Stack: tfu_file.php:149:read_dir:./../../../images/admin:Array():Array()::Array( [0] => data.pxp [1] => _vti_cnf [2] => .svn [3] => CVS [4] => thumbs):
05.14.2010 5:58:39 - ERROR 2 in joomla_flash_uploader/tfu/tfu_helper.php, line 2155: readdir(): supplied argument is not a valid Directory resource
Request: /components/com_joomla_flash_uploader/tfu/tfu_file.php?action=dir&dir=&ts=1273841918039&tfu_rn=1274447647191756600803842615896&tfu_is_flash_10=1&tfu_ut=-1&TFUSESSID=26b908a90e40e29198c3cab073372a93
Stack: tfu_helper.php:110:tfu_debug:ERROR 2 in joomla_flash_uploader/tfu/tfu_helper.php, line 2155: readdir(): supplied argument is not
Stack: ::on_error:2:readdir(): supplied argument is not a valid Directory resource:/home/mydomain/public_html/components/com_joomla_flash_uploader/tfu/tfu_helper.php:2155:Array( [dir] => ./../../../images/admin [myFiles] => Array ( ) [myDirs] => Ar
Stack: tfu_helper.php:2155:readdir:
Stack: tfu_file.php:149:read_dir:./../../../images/admin:Array():Array()::Array( [0] => data.pxp [1] => _vti_cnf [2] => .svn [3] => CVS [4] => thumbs):
05.14.2010 5:58:39 - ERROR 2 in joomla_flash_uploader/tfu/tfu_helper.php, line 2177: closedir(): supplied argument is not a valid Directory resource
Request: /components/com_joomla_flash_uploader/tfu/tfu_file.php?action=dir&dir=&ts=1273841918039&tfu_rn=1274447647191756600803842615896&tfu_is_flash_10=1&tfu_ut=-1&TFUSESSID=26b908a90e40e29198c3cab073372a93
Stack: tfu_helper.php:110:tfu_debug:ERROR 2 in joomla_flash_uploader/tfu/tfu_helper.php, line 2177: closedir(): supplied argument is not
Stack: ::on_error:2:closedir(): supplied argument is not a valid Directory resource:/home/mydomain/public_html/components/com_joomla_flash_uploader/tfu/tfu_helper.php:2177:Array( [dir] => ./../../../images/admin [myFiles] => Array ( ) [myDirs] => Ar
Stack: tfu_helper.php:2177:closedir:
Stack: tfu_file.php:149:read_dir:./../../../images/admin:Array():Array()::Array( [0] => data.pxp [1] => _vti_cnf [2] => .svn [3] => CVS [4] => thumbs):
05.14.2010 5:58:49 - 1. Config loaded
Request: /components/com_joomla_flash_uploader/tfu/tfu_upload.php?dir=&TFUSESSID=26b908a90e40e29198c3cab073372a93&size=100000&firstStart=true&zeit=1273841925216&tfu_rn=1274447647191756600803842615896&tfu_is_flash_10=1&remaining=1
Stack: tfu_upload.php:40:tfu_debug:1. Config loaded
05.14.2010 5:58:49 - 2. Authenification sucessfull
Request: /components/com_joomla_flash_uploader/tfu/tfu_upload.php?dir=&TFUSESSID=26b908a90e40e29198c3cab073372a93&size=100000&firstStart=true&zeit=1273841925216&tfu_rn=1274447647191756600803842615896&tfu_is_flash_10=1&remaining=1
Stack: tfu_upload.php:56:tfu_debug:2. Authenification sucessfull
05.14.2010 5:58:49 - 3. Directory read: ./__/__/__/images/admin
Request: /components/com_joomla_flash_uploader/tfu/tfu_upload.php?dir=&TFUSESSID=26b908a90e40e29198c3cab073372a93&size=100000&firstStart=true&zeit=1273841925216&tfu_rn=1274447647191756600803842615896&tfu_is_flash_10=1&remaining=1
Stack: tfu_upload.php:58:tfu_debug:3. Directory read: ./../../../images/admin
05.14.2010 5:58:49 - 4. Check valid extension: 0522_palermo.jpg
Request: /components/com_joomla_flash_uploader/tfu/tfu_upload.php?dir=&TFUSESSID=26b908a90e40e29198c3cab073372a93&size=100000&firstStart=true&zeit=1273841925216&tfu_rn=1274447647191756600803842615896&tfu_is_flash_10=1&remaining=1
Stack: tfu_upload.php:74:tfu_debug:4. Check valid extension: 0522_palermo.jpg
05.14.2010 5:58:49 - 4a. Extension valid.
Request: /components/com_joomla_flash_uploader/tfu/tfu_upload.php?dir=&TFUSESSID=26b908a90e40e29198c3cab073372a93&size=100000&firstStart=true&zeit=1273841925216&tfu_rn=1274447647191756600803842615896&tfu_is_flash_10=1&remaining=1
Stack: tfu_upload.php:76:tfu_debug:4a. Extension valid.
05.14.2010 5:58:49 - 5. Before move_uploaded_file : /home/mydomain/tmp/phpF63brJ -_ ./__/__/__/images/admin/0522_palermo.jpg
Request: /components/com_joomla_flash_uploader/tfu/tfu_upload.php?dir=&TFUSESSID=26b908a90e40e29198c3cab073372a93&size=100000&firstStart=true&zeit=1273841925216&tfu_rn=1274447647191756600803842615896&tfu_is_flash_10=1&remaining=1
Stack: tfu_upload.php:99:tfu_debug:5. Before move_uploaded_file : /home/mydomain/tmp/phpF63brJ -> ./../../../images/admin/0522_pale
05.14.2010 5:58:49 - ERROR 2 in joomla_flash_uploader/tfu/tfu_upload.php, line 101: move_uploaded_file(./__/__/__/images/admin/0522_palermo.jpg) [_a href='function.move-uploaded-file'_function.move-uploaded-file_/a_]: failed to open stream: Permission denied
Request: /components/com_joomla_flash_uploader/tfu/tfu_upload.php?dir=&TFUSESSID=26b908a90e40e29198c3cab073372a93&size=100000&firstStart=true&zeit=1273841925216&tfu_rn=1274447647191756600803842615896&tfu_is_flash_10=1&remaining=1
Stack: tfu_helper.php:110:tfu_debug:ERROR 2 in joomla_flash_uploader/tfu/tfu_upload.php, line 101: move_uploaded_file(./../../../images/
Stack: ::on_error:2:move_uploaded_file(./../../../images/admin/0522_palermo.jpg) [:/home/mydomain/public_html/components/com_joomla_flash_uploader/tfu/tfu_upload.php:101:Array( [GLOBALS] => Array *RECURSION* [_POST] => Array ( [Filename] => 0522_
Stack: tfu_upload.php:101:move_uploaded_file:/home/mydomain/tmp/phpF63brJ:./../../../images/admin/0522_palermo.jpg
05.14.2010 5:58:49 - ERROR 2 in joomla_flash_uploader/tfu/tfu_upload.php, line 101: move_uploaded_file() [_a href='function.move-uploaded-file'_function.move-uploaded-file_/a_]: Unable to move '/home/mydomain/tmp/phpF63brJ' to './__/__/__/images/admin/0522_palermo.jpg'
Request: /components/com_joomla_flash_uploader/tfu/tfu_upload.php?dir=&TFUSESSID=26b908a90e40e29198c3cab073372a93&size=100000&firstStart=true&zeit=1273841925216&tfu_rn=1274447647191756600803842615896&tfu_is_flash_10=1&remaining=1
Stack: tfu_helper.php:110:tfu_debug:ERROR 2 in joomla_flash_uploader/tfu/tfu_upload.php, line 101: move_uploaded_file() [function.move-uploaded-file]: Unable:/home/mydomain/public_html/components/com_joomla_flash_uploader/tfu/tfu_upload.php:101:Array( [GLOBALS] => Array *RECURSION* [_POST] => Array ( [Filename] => 0522_
Stack: tfu_upload.php:101:move_uploaded_file:/home/mydomain/tmp/phpF63brJ:./../../../images/admin/0522_palermo.jpg
05.14.2010 5:58:49 - 5a. after move_uploaded_file.
Request: /components/com_joomla_flash_uploader/tfu/tfu_upload.php?dir=&TFUSESSID=26b908a90e40e29198c3cab073372a93&size=100000&firstStart=true&zeit=1273841925216&tfu_rn=1274447647191756600803842615896&tfu_is_flash_10=1&remaining=1
Stack: tfu_upload.php:111:tfu_debug:5a. after move_uploaded_file.
05.14.2010 5:58:49 - 5b. retry move_uploaded_file : ./__/__/__/images/admin/0522_palermo.jpg
Request: /components/com_joomla_flash_uploader/tfu/tfu_upload.php?dir=&TFUSESSID=26b908a90e40e29198c3cab073372a93&size=100000&firstStart=true&zeit=1273841925216&tfu_rn=1274447647191756600803842615896&tfu_is_flash_10=1&remaining=1
Stack: tfu_upload.php:116:tfu_debug:5b. retry move_uploaded_file : ./../../../images/admin/0522_palermo.jpg
05.14.2010 5:58:49 - ERROR 2 in joomla_flash_uploader/tfu/tfu_upload.php, line 117: move_uploaded_file(./__/__/__/images/admin/0522_palermo.jpg) [_a href='function.move-uploaded-file'_function.move-uploaded-file_/a_]: failed to open stream: Permission denied
Request: /components/com_joomla_flash_uploader/tfu/tfu_upload.php?dir=&TFUSESSID=26b908a90e40e29198c3cab073372a93&size=100000&firstStart=true&zeit=1273841925216&tfu_rn=1274447647191756600803842615896&tfu_is_flash_10=1&remaining=1
Stack: tfu_helper.php:110:tfu_debug:ERROR 2 in joomla_flash_uploader/tfu/tfu_upload.php, line 117: move_uploaded_file(./../../../images/
Stack: ::on_error:2:move_uploaded_file(./../../../images/admin/0522_palermo.jpg) [:/home/mydomain/public_html/components/com_joomla_flash_uploader/tfu/tfu_upload.php:117:Array( [GLOBALS] => Array *RECURSION* [_POST] => Array ( [Filename] => 0522_
Stack: tfu_upload.php:117:move_uploaded_file:/home/mydomain/tmp/phpF63brJ:./../../../images/admin/0522_palermo.jpg
05.14.2010 5:58:49 - ERROR 2 in joomla_flash_uploader/tfu/tfu_upload.php, line 117: move_uploaded_file() [_a href='function.move-uploaded-file'_function.move-uploaded-file_/a_]: Unable to move '/home/mydomain/tmp/phpF63brJ' to './__/__/__/images/admin/0522_palermo.jpg'
Request: /components/com_joomla_flash_uploader/tfu/tfu_upload.php?dir=&TFUSESSID=26b908a90e40e29198c3cab073372a93&size=100000&firstStart=true&zeit=1273841925216&tfu_rn=1274447647191756600803842615896&tfu_is_flash_10=1&remaining=1
Stack: tfu_helper.php:110:tfu_debug:ERROR 2 in joomla_flash_uploader/tfu/tfu_upload.php, line 117: move_uploaded_file() [function.move-uploaded-file]: Unable:/home/mydomain/public_html/components/com_joomla_flash_uploader/tfu/tfu_upload.php:117:Array( [GLOBALS] => Array *RECURSION* [_POST] => Array ( [Filename] => 0522_
Stack: tfu_upload.php:117:move_uploaded_file:/home/mydomain/tmp/phpF63brJ:./../../../images/admin/0522_palermo.jpg
05.14.2010 5:58:49 - 6. NOT uploaded.
Request: /components/com_joomla_flash_uploader/tfu/tfu_upload.php?dir=&TFUSESSID=26b908a90e40e29198c3cab073372a93&size=100000&firstStart=true&zeit=1273841925216&tfu_rn=1274447647191756600803842615896&tfu_is_flash_10=1&remaining=1
Stack: tfu_upload.php:185:tfu_debug:6. NOT uploaded.
05.14.2010 5:58:49 - 9. End upload
Request: /components/com_joomla_flash_uploader/tfu/tfu_upload.php?dir=&TFUSESSID=26b908a90e40e29198c3cab073372a93&size=100000&firstStart=true&zeit=1273841925216&tfu_rn=1274447647191756600803842615896&tfu_is_flash_10=1&remaining=1
Stack: tfu_upload.php:225:tfu_debug:9. End upload
05.14.2010 5:58:49 - 10. End store session
Request: /components/com_joomla_flash_uploader/tfu/tfu_upload.php?dir=&TFUSESSID=26b908a90e40e29198c3cab073372a93&size=100000&firstStart=true&zeit=1273841925216&tfu_rn=1274447647191756600803842615896&tfu_is_flash_10=1&remaining=1
Stack: tfu_upload.php:227:tfu_debug:10. End store session
05.14.2010 5:58:50 - ERROR 2 in joomla_flash_uploader/tfu/tfu_helper.php, line 2154: opendir(./__/__/__/images/admin) [_a href='function.opendir'_function.opendir_/a_]: failed to open dir: Permission denied
Request: /components/com_joomla_flash_uploader/tfu/tfu_file.php?action=dir&dir=&ts=1273841928314&tfu_rn=1274447647191756600803842615896&tfu_is_flash_10=1&tfu_ut=5&check_upload=true&TFUSESSID=26b908a90e40e29198c3cab073372a93
Stack: tfu_helper.php:110:tfu_debug:ERROR 2 in joomla_flash_uploader/tfu/tfu_helper.php, line 2154: opendir(./../../../images/admin) [
Stack: ::on_error:2:opendir(./../../../images/admin) [function.opendir]: failed to open d:/home/mydomain/public_html/components/com_joomla_flash_uploader/tfu/tfu_helper.php:2154:Array( [dir] => ./../../../images/admin [myFiles] => Array ( ) [myDirs] => Ar
Stack: tfu_helper.php:2154:opendir:./../../../images/admin
Stack: tfu_file.php:149:read_dir:./../../../images/admin:Array():Array()::Array( [0] => data.pxp [1] => _vti_cnf [2] => .svn [3] => CVS [4] => thumbs):
05.14.2010 5:58:50 - ERROR 2 in joomla_flash_uploader/tfu/tfu_helper.php, line 2155: readdir(): supplied argument is not a valid Directory resource
Request: /components/com_joomla_flash_uploader/tfu/tfu_file.php?action=dir&dir=&ts=1273841928314&tfu_rn=1274447647191756600803842615896&tfu_is_flash_10=1&tfu_ut=5&check_upload=true&TFUSESSID=26b908a90e40e29198c3cab073372a93
Stack: tfu_helper.php:110:tfu_debug:ERROR 2 in joomla_flash_uploader/tfu/tfu_helper.php, line 2155: readdir(): supplied argument is not
Stack: ::on_error:2:readdir(): supplied argument is not a valid Directory resource:/home/mydomain/public_html/components/com_joomla_flash_uploader/tfu/tfu_helper.php:2155:Array( [dir] => ./../../../images/admin [myFiles] => Array ( ) [myDirs] => Ar
Stack: tfu_helper.php:2155:readdir:
Stack: tfu_file.php:149:read_dir:./../../../images/admin:Array():Array()::Array( [0] => data.pxp [1] => _vti_cnf [2] => .svn [3] => CVS [4] => thumbs):
05.14.2010 5:58:50 - ERROR 2 in joomla_flash_uploader/tfu/tfu_helper.php, line 2177: closedir(): supplied argument is not a valid Directory resource
Request: /components/com_joomla_flash_uploader/tfu/tfu_file.php?action=dir&dir=&ts=1273841928314&tfu_rn=1274447647191756600803842615896&tfu_is_flash_10=1&tfu_ut=5&check_upload=true&TFUSESSID=26b908a90e40e29198c3cab073372a93
Stack: tfu_helper.php:110:tfu_debug:ERROR 2 in joomla_flash_uploader/tfu/tfu_helper.php, line 2177: closedir(): supplied argument is not
Stack: ::on_error:2:closedir(): supplied argument is not a valid Directory resource:/home/mydomain/public_html/components/com_joomla_flash_uploader/tfu/tfu_helper.php:2177:Array( [dir] => ./../../../images/admin [myFiles] => Array ( ) [myDirs] => Ar
Stack: tfu_helper.php:2177:closedir:
Stack: tfu_file.php:149:read_dir:./../../../images/admin:Array():Array()::Array( [0] => data.pxp [1] => _vti_cnf [2] => .svn [3] => CVS [4] => thumbs):
[/quote][/code]