Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 14. Dec 2017, 04:29

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 19 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: 24. Oct 2012, 00:53 
Offline

Joined: 24. Oct 2012, 00:30
Posts: 9
Hi.
Why I get IO error when I uplad files? This is not permissions problem because I can create folders. PHP variables (memory limit, post size, execution time, file upload size) are ok.
The problem appered afer I changed server hosting. Previously worked fine.

I use:
Joomla 1.5
JFU version: 2.16

Please help.

K.


Top
 Profile  
 
PostPosted: 24. Oct 2012, 10:37 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10571
Have you read the FAQ 1?

http://www.tinywebgallery.com/en/tfu/tfu_faq_1.php

Best, Michael


Top
 Profile  
 
PostPosted: 5. Nov 2012, 01:48 
Offline

Joined: 24. Oct 2012, 00:30
Posts: 9
I've read the FAQ1. I have no idea whats is wrong. I can upload file by standard upload form, by media component of joomla administration site. In JFU still I get io error message. Sometimes I have flash crash. Logs (JFU and system) are empty. I upgreaded JFU to 2.17 version too. I disabled mod_rewrite in Apache. The same error is on Chrome, Opera, Firefox web browser (i didn't checked on IE).
Is there are any processes before file is upload to server?

Thanks,
K.


Top
 Profile  
 
PostPosted: 5. Nov 2012, 01:52 
Offline

Joined: 24. Oct 2012, 00:30
Posts: 9
mistake...not "mod_rewrite" - I've disabled mod_security


Top
 Profile  
 
PostPosted: 5. Nov 2012, 01:57 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10571
Have you enabled the upload debug?

Best,
Michael


Top
 Profile  
 
PostPosted: 5. Nov 2012, 21:42 
Offline

Joined: 24. Oct 2012, 00:30
Posts: 9
Yes. I have enabled upload debug but is empty. Logs are working because when I have enabled enhanced debug i've got this:

Request: /services/p86/administrator/components/com_jfuploader/tfu/tfu_file.php?action=dir&changedir=true&dir=&index=1&ts=1352144227833&tfu_rn=1355742220422469750512148652843&tfu_is_flash_10=1&TFUSESSID=g3up8nbvuem1vbi4t3tb8s3db7
Stack: tfu_file.php:52:tfu_debug:Action:dir; Directory: ./../../../../tmp
Current memory usage: 2601 KB

...every time I change remote directory.

Regards,
Tomasz


Top
 Profile  
 
PostPosted: 5. Nov 2012, 21:56 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10571
o.k. - Then the tfu_upload.php is not even called.

You can first check on the access.log of the server if the request comes to the server at all or if it is blocked before.
Than you can look in the server error file where you should normally than find a more detailed reason.

Does this happen with all files? All sizes?

Best,
Michael


Top
 Profile  
 
PostPosted: 5. Nov 2012, 23:59 
Offline

Joined: 24. Oct 2012, 00:30
Posts: 9
Yes. All files, all sizes.


Top
 Profile  
 
PostPosted: 6. Nov 2012, 00:14 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10571
have you checked the logs I wrote?

Best, Michael


Top
 Profile  
 
PostPosted: 6. Nov 2012, 00:45 
Offline

Joined: 24. Oct 2012, 00:30
Posts: 9
Yes. I have got this when I use JFU and try to upload file:

- - [06/Nov/2012:01:39:02 +0300] "GET /services/p86/administrator/index.php?option=com_jfuploader&act=upload HTTP/1.1" 200 5893 "https://www.domainname.com/services/p86/administrator/index.php?option=com_jfuploader&act=upload" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:16.0) Gecko/20100101 Firefox/16.0"
- - [06/Nov/2012:01:39:02 +0300] "GET /services/p86/administrator/components/com_jfuploader/tfu/tfu_217.swf?joomla=true&lang=pl&session_id=45b3ni9ptr44ctooquchq2fne4&base=components/com_jfuploader/tfu&relative_dir=/services/p86/administrator/&show_size=false& HTTP/1.1" 304 293 "https://www.domainname.com/services/p86/administrator/index.php?option=com_jfuploader&act=upload" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:16.0) Gecko/20100101 Firefox/16.0"
- - [06/Nov/2012:01:39:03 +0300] "POST /services/p86/administrator/components/com_jfuploader/tfu/tfu_login.php?ts=1352155142607&TFUSESSID=45b3ni9ptr44ctooquchq2fne4 HTTP/1.1" 200 3508 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:16.0) Gecko/20100101 Firefox/16.0"
- - [06/Nov/2012:01:39:03 +0300] "POST /services/p86/administrator/components/com_jfuploader/tfu/tfu_file.php?action=dir&dir=&ts=1352155143123&tfu_rn=1352788849514219118162152740987&tfu_is_flash_10=1&tfu_ut=-1&TFUSESSID=45b3ni9ptr44ctooquchq2fne4 HTTP/1.1" 200 1284 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:16.0) Gecko/20100101 Firefox/16.0"
- - [06/Nov/2012:01:39:11 +0300] "POST /services/p86/administrator/components/com_jfuploader/tfu/tfu_file.php?action=dir&changedir=true&dir=&index=14&ts=1352155151095&tfu_rn=1352788849514219118162152740987&tfu_is_flash_10=1&TFUSESSID=45b3ni9ptr44ctooquchq2fne4 HTTP/1.1" 200 948 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:16.0) Gecko/20100101 Firefox/16.0"
- - [06/Nov/2012:01:39:13 +0300] "POST /services/p86/administrator/components/com_jfuploader/tfu/tfu_file.php?action=dir&changedir=true&dir=&index=1&ts=1352155152863&tfu_rn=1352788849514219118162152740987&tfu_is_flash_10=1&TFUSESSID=45b3ni9ptr44ctooquchq2fne4 HTTP/1.1" 200 948 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:16.0) Gecko/20100101 Firefox/16.0"
- - [06/Nov/2012:01:39:17 +0300] "GET /services/p86/administrator/index.php HTTP/1.1" 200 6500 "https://www.domainname.com/services/p86/administrator/index.php?option=com_jfuploader&act=upload" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:16.0) Gecko/20100101 Firefox/16.0"



...any information about tfu_upload.php
In error.log I don't have any information about this operations.

Regards,
Tomasz


Top
 Profile  
 
PostPosted: 6. Nov 2012, 10:46 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10571
This is not good. This means that the call to the tfu_upload.php is blocked before somewhere.

have you tried to use the .htaccess to disable mod_security?

Unfortunately the upload request is not visible in any browser extension like firebug, http headers so the log files on the server are the only place to look at.

Are you maybe using https with a self signed certificate?

I also found a very interesting article here:
http://www.catalysts.cc/wissenswertes/f ... c-clients/

"after further investigation of the network traffic we finally found the problem! It turned out to indeed be a Mac player bug that only arises with certain webserver configurations. More specifically, our webserver had some redirection rules in place that aimed to correct broken links, enforce https, and such. The problematic rule was the one that appended a slash to all requests that addressed a directory but ommited the trailing slash, and the upload request turned out to be such a request. While the Windows version of the Flash player understood that redirect and re-uploaded the file to the new location the Mac player just dropped the connection and bailed out with that ominous i/o error."

so do you have any redirection rules?

And can you please also test on my demo if the upload fails for you?
http://www.tinywebgallery.com/en/tfu/web_demo1.php

Best,
Michael


Top
 Profile  
 
PostPosted: 6. Nov 2012, 17:28 
Offline

Joined: 24. Oct 2012, 00:30
Posts: 9
I found problem.
There is a problem with SSL. When I call page via SSL there is io: error. No SSL, no error, but I don't use self signed certificate.
I can't use JFU with SSL page?

Regards,
Tomasz


Top
 Profile  
 
PostPosted: 6. Nov 2012, 18:34 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10571
Do you have a valid certificate? because without it does not work.

Best,
Michael


Top
 Profile  
 
PostPosted: 6. Nov 2012, 21:16 
Offline

Joined: 24. Oct 2012, 00:30
Posts: 9
What do You mean "valid certificate"? I have verified certificate by GeoTrust Inc. for this domain.


Top
 Profile  
 
PostPosted: 7. Nov 2012, 10:26 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10571
You need a certificate your browser does accept without any feedback from you.

But if you don't have one upload with Firefox under Windows should fail as well.

I can try to add the / at the end like they wrote in this forum.
But you would have to test different solutions for me then.

Best, Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO