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 19. Sep 2018, 23:18

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 10 posts ] 
Author Message
PostPosted: 9. Oct 2013, 18:31 
Offline

Joined: 9. Oct 2013, 18:04
Posts: 4
Hi. I am having a problem where I am trying to use a master profile so that different users (which are automatically created and logged in via a Chronoform) can upload files to their own directories.

Believe it or not, in IE, it works perfectly.

In Firefox, it reports "You are not logged in" and mentions about the master profile.

In Chrome, the "You are not logged in" warning is skipped and I get the uploader. However, I am automatically placed in a previous user's directory.

It seems to me that there is something odd about how the various browsers handle session variables and cookies.


Stats:
Joomla 3.1.5
JFUploader 3.1
Chronoforms 4.0.2
Windows 2008 Server


The log should show three attempts:
1st: IE (user = gif-1-1-test-615) SUCCESS
2nd: FF(user = gct-1-1-Test-36) FAIL
3rd: Chrome (user = mae-1-1-Test-888) ALMOST

Checking Joomla's users confirms that all three were created and logged in successfully.

Log:
10.09.2013 12:16:25 - Action:dir; Directory: ./__/__/__/__/aduploads/gif-1-1-test-615
Request: /adftp/components/com_jfuploader/tfu/tfu_file.php?action=dir&dir=&ts=1381335235062&tfu_rn=1384721415523471979591338777658&tfu_is_flash_10=1&tfu_ut=-1&TFUSESSID=334663db99dd64f6247891930b754028&remaining=0
Stack: tfu_file.php:49:tfu_debug:Action:dir; Directory: ./../../../../aduploads/gif-1-1-test-615
Current memory usage: 2420 KB
10.09.2013 12:16:41 - 1. Config loaded
Request: /adftp/components/com_jfuploader/tfu/tfu_upload.php?dir=&TFUSESSID=334663db99dd64f6247891930b754028&PHPSESSID=334663db99dd64f6247891930b754028&size=100000&firstStart=true&zeit=1381335250490&tfu_rn=1384721415523471979591338777658&tfu_is_flash_10=1&remaining=1/
Stack: tfu_upload.php:38:tfu_debug:1. Config loaded
Current memory usage: 2412 KB
10.09.2013 12:16:41 - 2. Authenification sucessfull
Request: /adftp/components/com_jfuploader/tfu/tfu_upload.php?dir=&TFUSESSID=334663db99dd64f6247891930b754028&PHPSESSID=334663db99dd64f6247891930b754028&size=100000&firstStart=true&zeit=1381335250490&tfu_rn=1384721415523471979591338777658&tfu_is_flash_10=1&remaining=1/
Stack: tfu_upload.php:55:tfu_debug:2. Authenification sucessfull
Current memory usage: 2413 KB
10.09.2013 12:16:41 - 3. Directory read: ./__/__/__/__/aduploads/gif-1-1-test-615
Request: /adftp/components/com_jfuploader/tfu/tfu_upload.php?dir=&TFUSESSID=334663db99dd64f6247891930b754028&PHPSESSID=334663db99dd64f6247891930b754028&size=100000&firstStart=true&zeit=1381335250490&tfu_rn=1384721415523471979591338777658&tfu_is_flash_10=1&remaining=1/
Stack: tfu_upload.php:57:tfu_debug:3. Directory read: ./../../../../aduploads/gif-1-1-test-615
Current memory usage: 2413 KB
10.09.2013 12:16:41 - 3a. $_FILES content:
Array
(
[Filedata] => Array
(
[name] => closedcircle.png
[type] => application/octet-stream
[tmp_name] => /tmp/phpk7V3FK
[error] => 0
[size] => 305
)

)

Request: /adftp/components/com_jfuploader/tfu/tfu_upload.php?dir=&TFUSESSID=334663db99dd64f6247891930b754028&PHPSESSID=334663db99dd64f6247891930b754028&size=100000&firstStart=true&zeit=1381335250490&tfu_rn=1384721415523471979591338777658&tfu_is_flash_10=1&remaining=1/
Stack: tfu_upload.php:71:tfu_debug:3a. $_FILES content:
Array
(
[Filedata] => Array
(
[name] => closedcircle.pn
Current memory usage: 2415 KB
10.09.2013 12:16:41 - 4. Check valid extension: closedcircle.png
Request: /adftp/components/com_jfuploader/tfu/tfu_upload.php?dir=&TFUSESSID=334663db99dd64f6247891930b754028&PHPSESSID=334663db99dd64f6247891930b754028&size=100000&firstStart=true&zeit=1381335250490&tfu_rn=1384721415523471979591338777658&tfu_is_flash_10=1&remaining=1/
Stack: tfu_upload.php:82:tfu_debug:4. Check valid extension: closedcircle.png
Current memory usage: 2415 KB
10.09.2013 12:16:41 - 4a. Extension valid.
Request: /adftp/components/com_jfuploader/tfu/tfu_upload.php?dir=&TFUSESSID=334663db99dd64f6247891930b754028&PHPSESSID=334663db99dd64f6247891930b754028&size=100000&firstStart=true&zeit=1381335250490&tfu_rn=1384721415523471979591338777658&tfu_is_flash_10=1&remaining=1/
Stack: tfu_upload.php:84:tfu_debug:4a. Extension valid.
Current memory usage: 2415 KB
10.09.2013 12:16:41 - 5. Before move_uploaded_file : /tmp/phpk7V3FK -> ./__/__/__/__/aduploads/gif-1-1-test-615/closedcircle.png
Request: /adftp/components/com_jfuploader/tfu/tfu_upload.php?dir=&TFUSESSID=334663db99dd64f6247891930b754028&PHPSESSID=334663db99dd64f6247891930b754028&size=100000&firstStart=true&zeit=1381335250490&tfu_rn=1384721415523471979591338777658&tfu_is_flash_10=1&remaining=1/
Stack: tfu_upload.php:108:tfu_debug:5. Before move_uploaded_file : /tmp/phpk7V3FK -> ./../../../../aduploads/gif-1-1-test-615/closedcirc
Current memory usage: 2416 KB
10.09.2013 12:16:41 - 5a. After move_uploaded_file.
Request: /adftp/components/com_jfuploader/tfu/tfu_upload.php?dir=&TFUSESSID=334663db99dd64f6247891930b754028&PHPSESSID=334663db99dd64f6247891930b754028&size=100000&firstStart=true&zeit=1381335250490&tfu_rn=1384721415523471979591338777658&tfu_is_flash_10=1&remaining=1/
Stack: tfu_upload.php:120:tfu_debug:5a. After move_uploaded_file.
Current memory usage: 2416 KB
10.09.2013 12:16:41 - 6. Uploaded.
Request: /adftp/components/com_jfuploader/tfu/tfu_upload.php?dir=&TFUSESSID=334663db99dd64f6247891930b754028&PHPSESSID=334663db99dd64f6247891930b754028&size=100000&firstStart=true&zeit=1381335250490&tfu_rn=1384721415523471979591338777658&tfu_is_flash_10=1&remaining=1/
Stack: tfu_upload.php:141:tfu_debug:6. Uploaded.
Current memory usage: 2416 KB
10.09.2013 12:16:41 - 7. Internal processing done.
Request: /adftp/components/com_jfuploader/tfu/tfu_upload.php?dir=&TFUSESSID=334663db99dd64f6247891930b754028&PHPSESSID=334663db99dd64f6247891930b754028&size=100000&firstStart=true&zeit=1381335250490&tfu_rn=1384721415523471979591338777658&tfu_is_flash_10=1&remaining=1/
Stack: tfu_upload.php:174:tfu_debug:7. Internal processing done.
Current memory usage: 2416 KB
10.09.2013 12:16:41 - 9. End upload
Request: /adftp/components/com_jfuploader/tfu/tfu_upload.php?dir=&TFUSESSID=334663db99dd64f6247891930b754028&PHPSESSID=334663db99dd64f6247891930b754028&size=100000&firstStart=true&zeit=1381335250490&tfu_rn=1384721415523471979591338777658&tfu_is_flash_10=1&remaining=1/
Stack: tfu_upload.php:241:tfu_debug:9. End upload
Current memory usage: 3140 KB
10.09.2013 12:16:41 - 10. End store session
Request: /adftp/components/com_jfuploader/tfu/tfu_upload.php?dir=&TFUSESSID=334663db99dd64f6247891930b754028&PHPSESSID=334663db99dd64f6247891930b754028&size=100000&firstStart=true&zeit=1381335250490&tfu_rn=1384721415523471979591338777658&tfu_is_flash_10=1&remaining=1/
Stack: tfu_upload.php:243:tfu_debug:10. End store session
Current memory usage: 3140 KB
10.09.2013 12:16:41 - Action:dir; Directory: ./__/__/__/__/aduploads/gif-1-1-test-615
Request: /adftp/components/com_jfuploader/tfu/tfu_file.php?action=dir&dir=&ts=1381335250650&tfu_rn=1384721415523471979591335250490&tfu_is_flash_10=1&tfu_ut=5&check_upload=true&TFUSESSID=334663db99dd64f6247891930b754028&remaining=0
Stack: tfu_file.php:49:tfu_debug:Action:dir; Directory: ./../../../../aduploads/gif-1-1-test-615
Current memory usage: 2422 KB
10.09.2013 12:16:58 - Action:ping; Directory: ./__/__/__/__/aduploads/bsep-1-1-test-950
Request: /adftp/components/com_jfuploader/tfu/tfu_file.php?action=ping&ts=1381335267289&tfu_rn=1386001912315652391141273854057&tfu_is_flash_10=1&TFUSESSID=8659421e6054bfb7950ae4d7e13e1eb5
Stack: tfu_file.php:49:tfu_debug:Action:ping; Directory: ./../../../../aduploads/bsep-1-1-test-950
Current memory usage: 2486 KB
10.09.2013 12:18:57 - Action:dir; Directory: ./__/__/__/__/aduploads/bsep-1-1-test-950
Request: /adftp/components/com_jfuploader/tfu/tfu_file.php?action=dir&dir=&ts=1381335386816&tfu_rn=1384209628538656273471333263844&tfu_is_flash_10=1&tfu_ut=-1&TFUSESSID=8659421e6054bfb7950ae4d7e13e1eb5&remaining=0
Stack: tfu_file.php:49:tfu_debug:Action:dir; Directory: ./../../../../aduploads/bsep-1-1-test-950
Current memory usage: 2490 KB
10.09.2013 12:19:09 - 1. Config loaded
Request: /adftp/components/com_jfuploader/tfu/tfu_upload.php?dir=&TFUSESSID=8659421e6054bfb7950ae4d7e13e1eb5&PHPSESSID=8659421e6054bfb7950ae4d7e13e1eb5&size=100000&firstStart=true&zeit=1381335398536&tfu_rn=1384209628538656273471333263844&tfu_is_flash_10=1&remaining=1/
Stack: tfu_upload.php:38:tfu_debug:1. Config loaded
Current memory usage: 2494 KB
10.09.2013 12:19:09 - 2. Authenification sucessfull
Request: /adftp/components/com_jfuploader/tfu/tfu_upload.php?dir=&TFUSESSID=8659421e6054bfb7950ae4d7e13e1eb5&PHPSESSID=8659421e6054bfb7950ae4d7e13e1eb5&size=100000&firstStart=true&zeit=1381335398536&tfu_rn=1384209628538656273471333263844&tfu_is_flash_10=1&remaining=1/
Stack: tfu_upload.php:55:tfu_debug:2. Authenification sucessfull
Current memory usage: 2495 KB
10.09.2013 12:19:09 - 3. Directory read: ./__/__/__/__/aduploads/bsep-1-1-test-950
Request: /adftp/components/com_jfuploader/tfu/tfu_upload.php?dir=&TFUSESSID=8659421e6054bfb7950ae4d7e13e1eb5&PHPSESSID=8659421e6054bfb7950ae4d7e13e1eb5&size=100000&firstStart=true&zeit=1381335398536&tfu_rn=1384209628538656273471333263844&tfu_is_flash_10=1&remaining=1/
Stack: tfu_upload.php:57:tfu_debug:3. Directory read: ./../../../../aduploads/bsep-1-1-test-950
Current memory usage: 2495 KB
10.09.2013 12:19:09 - 3a. $_FILES content:
Array
(
[Filedata] => Array
(
[name] => arrow_left.png
[type] => application/octet-stream
[tmp_name] => /tmp/phpjp4ckT
[error] => 0
[size] => 1081
)

)

Request: /adftp/components/com_jfuploader/tfu/tfu_upload.php?dir=&TFUSESSID=8659421e6054bfb7950ae4d7e13e1eb5&PHPSESSID=8659421e6054bfb7950ae4d7e13e1eb5&size=100000&firstStart=true&zeit=1381335398536&tfu_rn=1384209628538656273471333263844&tfu_is_flash_10=1&remaining=1/
Stack: tfu_upload.php:71:tfu_debug:3a. $_FILES content:
Array
(
[Filedata] => Array
(
[name] => arrow_left.png

Current memory usage: 2496 KB
10.09.2013 12:19:09 - 4. Check valid extension: arrow_left.png
Request: /adftp/components/com_jfuploader/tfu/tfu_upload.php?dir=&TFUSESSID=8659421e6054bfb7950ae4d7e13e1eb5&PHPSESSID=8659421e6054bfb7950ae4d7e13e1eb5&size=100000&firstStart=true&zeit=1381335398536&tfu_rn=1384209628538656273471333263844&tfu_is_flash_10=1&remaining=1/
Stack: tfu_upload.php:82:tfu_debug:4. Check valid extension: arrow_left.png
Current memory usage: 2496 KB
10.09.2013 12:19:09 - 4a. Extension valid.
Request: /adftp/components/com_jfuploader/tfu/tfu_upload.php?dir=&TFUSESSID=8659421e6054bfb7950ae4d7e13e1eb5&PHPSESSID=8659421e6054bfb7950ae4d7e13e1eb5&size=100000&firstStart=true&zeit=1381335398536&tfu_rn=1384209628538656273471333263844&tfu_is_flash_10=1&remaining=1/
Stack: tfu_upload.php:84:tfu_debug:4a. Extension valid.
Current memory usage: 2496 KB
10.09.2013 12:19:09 - 5. Before move_uploaded_file : /tmp/phpjp4ckT -> ./__/__/__/__/aduploads/bsep-1-1-test-950/arrow_left.png
Request: /adftp/components/com_jfuploader/tfu/tfu_upload.php?dir=&TFUSESSID=8659421e6054bfb7950ae4d7e13e1eb5&PHPSESSID=8659421e6054bfb7950ae4d7e13e1eb5&size=100000&firstStart=true&zeit=1381335398536&tfu_rn=1384209628538656273471333263844&tfu_is_flash_10=1&remaining=1/
Stack: tfu_upload.php:108:tfu_debug:5. Before move_uploaded_file : /tmp/phpjp4ckT -> ./../../../../aduploads/bsep-1-1-test-950/arrow_lef
Current memory usage: 2497 KB
10.09.2013 12:19:09 - 5a. After move_uploaded_file.
Request: /adftp/components/com_jfuploader/tfu/tfu_upload.php?dir=&TFUSESSID=8659421e6054bfb7950ae4d7e13e1eb5&PHPSESSID=8659421e6054bfb7950ae4d7e13e1eb5&size=100000&firstStart=true&zeit=1381335398536&tfu_rn=1384209628538656273471333263844&tfu_is_flash_10=1&remaining=1/
Stack: tfu_upload.php:120:tfu_debug:5a. After move_uploaded_file.
Current memory usage: 2497 KB
10.09.2013 12:19:09 - 6. Uploaded.
Request: /adftp/components/com_jfuploader/tfu/tfu_upload.php?dir=&TFUSESSID=8659421e6054bfb7950ae4d7e13e1eb5&PHPSESSID=8659421e6054bfb7950ae4d7e13e1eb5&size=100000&firstStart=true&zeit=1381335398536&tfu_rn=1384209628538656273471333263844&tfu_is_flash_10=1&remaining=1/
Stack: tfu_upload.php:141:tfu_debug:6. Uploaded.
Current memory usage: 2497 KB
10.09.2013 12:19:09 - 7. Internal processing done.
Request: /adftp/components/com_jfuploader/tfu/tfu_upload.php?dir=&TFUSESSID=8659421e6054bfb7950ae4d7e13e1eb5&PHPSESSID=8659421e6054bfb7950ae4d7e13e1eb5&size=100000&firstStart=true&zeit=1381335398536&tfu_rn=1384209628538656273471333263844&tfu_is_flash_10=1&remaining=1/
Stack: tfu_upload.php:174:tfu_debug:7. Internal processing done.
Current memory usage: 2497 KB
10.09.2013 12:19:09 - 9. End upload
Request: /adftp/components/com_jfuploader/tfu/tfu_upload.php?dir=&TFUSESSID=8659421e6054bfb7950ae4d7e13e1eb5&PHPSESSID=8659421e6054bfb7950ae4d7e13e1eb5&size=100000&firstStart=true&zeit=1381335398536&tfu_rn=1384209628538656273471333263844&tfu_is_flash_10=1&remaining=1/
Stack: tfu_upload.php:241:tfu_debug:9. End upload
Current memory usage: 3221 KB
10.09.2013 12:19:09 - 10. End store session
Request: /adftp/components/com_jfuploader/tfu/tfu_upload.php?dir=&TFUSESSID=8659421e6054bfb7950ae4d7e13e1eb5&PHPSESSID=8659421e6054bfb7950ae4d7e13e1eb5&size=100000&firstStart=true&zeit=1381335398536&tfu_rn=1384209628538656273471333263844&tfu_is_flash_10=1&remaining=1/
Stack: tfu_upload.php:243:tfu_debug:10. End store session
Current memory usage: 3221 KB
10.09.2013 12:19:09 - Action:dir; Directory: ./__/__/__/__/aduploads/bsep-1-1-test-950
Request: /adftp/components/com_jfuploader/tfu/tfu_file.php?action=dir&dir=&ts=1381335398703&tfu_rn=1384209628538656273471335398536&tfu_is_flash_10=1&tfu_ut=5&check_upload=true&TFUSESSID=8659421e6054bfb7950ae4d7e13e1eb5&remaining=0
Stack: tfu_file.php:49:tfu_debug:Action:dir; Directory: ./../../../../aduploads/bsep-1-1-test-950
Current memory usage: 2491 KB


Top
 Profile  
 
PostPosted: 10. Oct 2013, 19:29 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10892
How have you set the session handling of Joomla?

Best, Michael


Top
 Profile  
 
PostPosted: 10. Oct 2013, 19:46 
Offline

Joined: 9. Oct 2013, 18:04
Posts: 4
I have it set to none to avoid the warning JFU indicates. My understanding is that JFU takes over the session handling?


Top
 Profile  
 
PostPosted: 10. Oct 2013, 21:12 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10892
No - JFU uses the default session. But Joomla does also have an internal DB session where JFU does not have access to.
Have you already tried the internal session workaround of JFU? This is needed for Firefox on some servers.
See http://www.tinywebgallery.com/en/tfu/tfu_faq_1.php b)

Best, Michael


Top
 Profile  
 
PostPosted: 10. Oct 2013, 21:43 
Offline

Joined: 9. Oct 2013, 18:04
Posts: 4
I have not because I did not quite understand it. In my /administrator/components/com_jfuploader directory, there is no sub-directory TFU. There is one in /components/com_jfuploader. In the latter, I had put the e-mail plugin, and that had worked. There is no session_cache in any of the folders.


Top
 Profile  
 
PostPosted: 10. Oct 2013, 21:51 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10892
you have moved the tfu folder to the site. So /components/com_jfuploader/tfu is fine. Create the session_cache folder there.

Best, Michael


Top
 Profile  
 
PostPosted: 14. Oct 2013, 15:35 
Offline

Joined: 9. Oct 2013, 18:04
Posts: 4
I'm not certain that that did anything. I'm sure I probably missed a step. Would it be possible, if I create a test environment, for you to help check out what is going on? If yes, I'll create the environment and pm you all the login info you need. I need to get this to work on at least Firefox as well as IE, so I'm halfway there. It could very well be that I missed setting a flag/parameter.

I appreciate all of your walkthroughs and tutorials. I'm wondering, though, if I am missing something basic as several of them give me a very general idea of what needs to be done, but sometimes I don't think they explicitly tell me exactly what I need to do.

For example, I have downloaded and am using the e-mail plugin. I know that you mentioned in the readme that you could have it send a second e-mail to someone else. I haven't looked at the mail plugin's code yet, but I'm assuming that I can create a second call to a mail function where I can specify a different message template to use. I don't think I should have any trouble doing this myself. From the code of your's that I have read, everything is very well commented and I thank you for that. If I haven't mentioned it before, I think you did a great job with the JFU component.


Top
 Profile  
 
PostPosted: 14. Oct 2013, 17:04 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10892
you can create a testinstall and I can take a quick look there. But depending on the server setup the upload unfortunately does not work on all server configurations.

Plugins do have the problem that most people need them a little bit different. So most of the time you have to adopt them to your needs.
The e-mail plugin is actually quite powerfull but also not very easy. In Joomla you can enable that e.g. the uploader itself and the administrator do get an email with even a different template.

Best, Michael

Best, Michael


Top
 Profile  
 
PostPosted: 9. Oct 2014, 13:11 
Offline

Joined: 9. Oct 2014, 13:09
Posts: 1
in the config i added only one size. (due to the project requirements), ie the dropdown has only one choice 1200.

we use the latest pro version for joomla 2.5 on the site.

the project requires that we do not give the choice to users : there is only one size thus no choice possible in the dropdown.

we were hoping that if a user tries to upload for example an image of 2400x1400 pixels , the uploader would resize it to 1200 pixels (proportionally)
on the other hand, if the user tries to upload an 125x125 pixels image, the image would not get resized to 1200x1200 pixels-.


Join online my braindumps and PMI to pass Cornell University exam in first try.


Last edited by alden on 27. Oct 2014, 13:26, edited 1 time in total.

Top
 Profile  
 
PostPosted: 9. Oct 2014, 21:07 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10892
And what is your question?

You can enter one size and hide the resize dropdown. So you are fine. And images are not getting resized to a bigger size anyway.
So I think you don't have any problem here.

Best, Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


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 | Datenschutz/ Privacy policy