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 12. Nov 2018, 19:53

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: 29. Jun 2013, 07:50 
Offline

Joined: 29. Jun 2013, 07:39
Posts: 11
Hello!

I'm running the registered version 1.9 of TWG on my server and everything worked like a charm so far.

But when I upload some files in the backend using the flash uploader, my authentication gets lost. More precisely, after the upload is finished, the folder listing of the flash uploader turns white and when I reload the page or when I try to access another page of the backend, I have to log in again.

After this incident, I get the following log message:
Quote:
Security tokens did not match. Session: 1376068787374045628282485540762 : param 1376068787374045628282483796470 no further actions are allowed.


Any idea how to fix this?


Top
 Profile  
 
PostPosted: 29. Jun 2013, 17:32 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10915
which browser do you use?

have you used the session workaround like described here:
http://www.tinywebgallery.com/en/tfu/tfu_faq_1.php

search for session workaround...

Best, michael


Top
 Profile  
 
PostPosted: 30. Jun 2013, 08:56 
Offline

Joined: 29. Jun 2013, 07:39
Posts: 11
Well, I tried a few things without success :(

I set $keep_internal_session_handling = true;, but no session_cache directory has being created afterwards. And even if I create it manually (with chmod 777), it remains empty. Also I modified my php.ini to disable suhosin as suggested by your link but that didn't help either (I am not really sure whether suhosin was even active in the first place). What else could I do?

Here's a more detailed debug report:

Quote:
06.30.2013 8:18:21 - Action:dir; Directory: __/__/pictures
Request: /twg19/admin/upload/tfu_file.php?action=dir&dir=&ts=1372573100766&tfu_rn=1377399405310077723772574385472&tfu_is_flash_10=1&tfu_ut=-1&TFUSESSID=015ad88a67d87efeba6cd73a83116ee2&remaining=0
Stack: tfu_file.php:49:tfu_debug:Action:dir; Directory: ../../pictures
Current memory usage: 1536 KB
06.30.2013 8:18:22 - Action:dir; Directory: __/__/pictures
Request: /twg19/admin/upload/tfu_file.php?action=dir&changedir=true&dir=&index=2&ts=1372573101705&tfu_rn=1377399405310077723772574385472&tfu_is_flash_10=1&TFUSESSID=015ad88a67d87efeba6cd73a83116ee2
Stack: tfu_file.php:49:tfu_debug:Action:dir; Directory: ../../pictures
Current memory usage: 1536 KB
06.30.2013 8:18:26 - 1. Config loaded
Request: /twg19/admin/upload/tfu_upload.php?dir=&TFUSESSID=015ad88a67d87efeba6cd73a83116ee2&PHPSESSID=015ad88a67d87efeba6cd73a83116ee2&size=100000&firstStart=true&zeit=1372573105446&tfu_rn=1377399405310077723772574385472&tfu_is_flash_10=1&description=&remaining=1/
Stack: tfu_upload.php:38:tfu_debug:1. Config loaded
Current memory usage: 1539 KB
06.30.2013 8:18:26 - 2. Authenification sucessfull
Request: /twg19/admin/upload/tfu_upload.php?dir=&TFUSESSID=015ad88a67d87efeba6cd73a83116ee2&PHPSESSID=015ad88a67d87efeba6cd73a83116ee2&size=100000&firstStart=true&zeit=1372573105446&tfu_rn=1377399405310077723772574385472&tfu_is_flash_10=1&description=&remaining=1/
Stack: tfu_upload.php:55:tfu_debug:2. Authenification sucessfull
Current memory usage: 1540 KB
06.30.2013 8:18:26 - 3. Directory read: __/__/pictures/test
Request: /twg19/admin/upload/tfu_upload.php?dir=&TFUSESSID=015ad88a67d87efeba6cd73a83116ee2&PHPSESSID=015ad88a67d87efeba6cd73a83116ee2&size=100000&firstStart=true&zeit=1372573105446&tfu_rn=1377399405310077723772574385472&tfu_is_flash_10=1&description=&remaining=1/
Stack: tfu_upload.php:57:tfu_debug:3. Directory read: ../../pictures/test
Current memory usage: 1540 KB
06.30.2013 8:18:26 - 3a. $_FILES content:
Array
(
[Filedata] => Array
(
[name] => IMG_0308.JPG
[type] => application/octet-stream
[tmp_name] => /tmp/php8gSRkb
[error] => 0
[size] => 206956
)

)

Request: /twg19/admin/upload/tfu_upload.php?dir=&TFUSESSID=015ad88a67d87efeba6cd73a83116ee2&PHPSESSID=015ad88a67d87efeba6cd73a83116ee2&size=100000&firstStart=true&zeit=1372573105446&tfu_rn=1377399405310077723772574385472&tfu_is_flash_10=1&description=&remaining=1/
Stack: tfu_upload.php:71:tfu_debug:3a. $_FILES content:
Array
(
[Filedata] => Array
(
[name] => IMG_0308.JPG

Current memory usage: 1541 KB
06.30.2013 8:18:26 - 4. Check valid extension: IMG_0308.JPG
Request: /twg19/admin/upload/tfu_upload.php?dir=&TFUSESSID=015ad88a67d87efeba6cd73a83116ee2&PHPSESSID=015ad88a67d87efeba6cd73a83116ee2&size=100000&firstStart=true&zeit=1372573105446&tfu_rn=1377399405310077723772574385472&tfu_is_flash_10=1&description=&remaining=1/
Stack: tfu_upload.php:82:tfu_debug:4. Check valid extension: IMG_0308.JPG
Current memory usage: 1540 KB
06.30.2013 8:18:26 - 4a. Extension valid.
Request: /twg19/admin/upload/tfu_upload.php?dir=&TFUSESSID=015ad88a67d87efeba6cd73a83116ee2&PHPSESSID=015ad88a67d87efeba6cd73a83116ee2&size=100000&firstStart=true&zeit=1372573105446&tfu_rn=1377399405310077723772574385472&tfu_is_flash_10=1&description=&remaining=1/
Stack: tfu_upload.php:84:tfu_debug:4a. Extension valid.
Current memory usage: 1540 KB
06.30.2013 8:18:26 - 5. Before move_uploaded_file : /tmp/php8gSRkb -> __/__/pictures/test/IMG_0308.JPG
Request: /twg19/admin/upload/tfu_upload.php?dir=&TFUSESSID=015ad88a67d87efeba6cd73a83116ee2&PHPSESSID=015ad88a67d87efeba6cd73a83116ee2&size=100000&firstStart=true&zeit=1372573105446&tfu_rn=1377399405310077723772574385472&tfu_is_flash_10=1&description=&remaining=1/
Stack: tfu_upload.php:108:tfu_debug:5. Before move_uploaded_file : /tmp/php8gSRkb -> ../../pictures/test/IMG_0308.JPG
Current memory usage: 1541 KB
06.30.2013 8:18:26 - 5a. After move_uploaded_file.
Request: /twg19/admin/upload/tfu_upload.php?dir=&TFUSESSID=015ad88a67d87efeba6cd73a83116ee2&PHPSESSID=015ad88a67d87efeba6cd73a83116ee2&size=100000&firstStart=true&zeit=1372573105446&tfu_rn=1377399405310077723772574385472&tfu_is_flash_10=1&description=&remaining=1/
Stack: tfu_upload.php:120:tfu_debug:5a. After move_uploaded_file.
Current memory usage: 1541 KB
06.30.2013 8:18:26 - 6. Uploaded.
Request: /twg19/admin/upload/tfu_upload.php?dir=&TFUSESSID=015ad88a67d87efeba6cd73a83116ee2&PHPSESSID=015ad88a67d87efeba6cd73a83116ee2&size=100000&firstStart=true&zeit=1372573105446&tfu_rn=1377399405310077723772574385472&tfu_is_flash_10=1&description=&remaining=1/
Stack: tfu_upload.php:141:tfu_debug:6. Uploaded.
Current memory usage: 1541 KB
06.30.2013 8:18:26 - 6a. Processing description:
Request: /twg19/admin/upload/tfu_upload.php?dir=&TFUSESSID=015ad88a67d87efeba6cd73a83116ee2&PHPSESSID=015ad88a67d87efeba6cd73a83116ee2&size=100000&firstStart=true&zeit=1372573105446&tfu_rn=1377399405310077723772574385472&tfu_is_flash_10=1&description=&remaining=1/
Stack: tfu_upload.php:157:tfu_debug:6a. Processing description:
Current memory usage: 1541 KB
06.30.2013 8:18:26 - 7. Internal processing done.
Request: /twg19/admin/upload/tfu_upload.php?dir=&TFUSESSID=015ad88a67d87efeba6cd73a83116ee2&PHPSESSID=015ad88a67d87efeba6cd73a83116ee2&size=100000&firstStart=true&zeit=1372573105446&tfu_rn=1377399405310077723772574385472&tfu_is_flash_10=1&description=&remaining=1/
Stack: tfu_upload.php:174:tfu_debug:7. Internal processing done.
Current memory usage: 1541 KB
06.30.2013 8:18:26 - 8. Execute plugin: twg_plugin.php
Request: /twg19/admin/upload/tfu_upload.php?dir=&TFUSESSID=015ad88a67d87efeba6cd73a83116ee2&PHPSESSID=015ad88a67d87efeba6cd73a83116ee2&size=100000&firstStart=true&zeit=1372573105446&tfu_rn=1377399405310077723772574385472&tfu_is_flash_10=1&description=&remaining=1/
Stack: tfu_upload.php:179:tfu_debug:8. Execute plugin: twg_plugin.php
Current memory usage: 1542 KB
06.30.2013 8:18:26 - Security tokens did not match. Session: 1377399405310077723772574385472 : param 1377399405310077723772573105446 no further actions are allowed.
Request: /twg19/admin/upload/tfu_file.php?action=dir&dir=&ts=1372573106275&tfu_rn=1377399405310077723772573105446&tfu_is_flash_10=1&tfu_ut=5&check_upload=true&TFUSESSID=015ad88a67d87efeba6cd73a83116ee2&remaining=0
Stack: tfu_helper.php:1411:tfu_debug:Security tokens did not match. Session: 1377399405310077723772574385472 : param 13773994053100777237
Stack: tfu_file.php:228:checkSessionTempDir:5
Current memory usage: 1542 KB


Top
 Profile  
 
PostPosted: 30. Jun 2013, 11:40 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10915
Where have you created the session_cache folder?
Because ther should be files in there.

The proble is the 8a. end of plugins is missing. it seems there is an error inside the plugins.
Have you made any special settings in TWG.

Best, Michael


Top
 Profile  
 
PostPosted: 30. Jun 2013, 12:40 
Offline

Joined: 29. Jun 2013, 07:39
Posts: 11
TinyWebGallery wrote:
Have you made any special settings in TWG.

If I remember correctly, no. Yesterday, I replaced both the config.php and config_internal.php by the corresponding original files from the zip-file. And I'm pretty sure that I didn't edit any other files. But I changed some things in the my_config.php-file (as posted in the other thread with my second silly problem ;) )

I created the "session_cache" folder in the root folder of TWG, i.e. the one containing config.php and so on.


Top
 Profile  
 
PostPosted: 30. Jun 2013, 14:11 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10915
This is not the right folder! The session_cache folder it has to be below admin/upload.

Never modify config.php and config_internal.php. my_config.php does always overwrite.
I'll take a look with the config of the other thread tonight.

Best, Michael


Top
 Profile  
 
PostPosted: 30. Jun 2013, 16:45 
Offline

Joined: 29. Jun 2013, 07:39
Posts: 11
TinyWebGallery wrote:
Never modify config.php and config_internal.php. my_config.php does always overwrite.

I needed some time to figure that out ;-) But as I said, now I have the original config files from the installation package.

I also created the session_cache folder in the right place, now there are files in it :) But it doesn't help me... maybe I start from scratch in the hope that these problems sort themselves out.


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

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:
powered by phpbb | Datenschutz/ Privacy policy