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 27. Nov 2024, 11:00

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 11 posts ] 
Author Message
PostPosted: 26. Feb 2009, 17:05 
Offline

Joined: 26. Mar 2008, 12:46
Posts: 11
Hello Michael,

Small problem which popped up with two customers in the last week.

When customers do an upload TFU appears to stop.
After a bit of research I found out that $_SESSION["TFU_LAST_UPLOADS"] didn't even exist. All other session vars appeared to be present.

After I deleted the session_cache directory everything worked again for a while until the same problem appeared.

Could there be a problem with simultanious uploads?
What if two users use the puloader at the same time?


Top
 Profile  
 
 Post subject:
PostPosted: 26. Feb 2009, 17:20 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
This is not a problem because each of them have their own session.

Are you using TFU standalone or JFU?

But even when using the session_cache folder this is strange because after the upload I actually save the session if session cache folder exists.
Which version do you use?

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 26. Feb 2009, 17:26 
Offline

Joined: 26. Mar 2008, 12:46
Posts: 11
We use TFU Standalone version 2.7

If the session_cache folder is removed, will it be put back after an upload?


Top
 Profile  
 
 Post subject:
PostPosted: 26. Feb 2009, 17:31 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
it's actually created if TFU detects a problem. Are you using 2.7.0?

Because TFU is at 2.8.3 already and a lot of improvements where done.

I have enhanced the session recovery in 2.7.1, 2.7.4.1 and 2.8.0.3. Especially the one in 2.7.4.1 could fix your problem because before the session cache folder could be created by an invalid request and now it's cleaned up automatically.

- Michael


Last edited by TinyWebGallery on 26. Feb 2009, 17:43, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: 26. Feb 2009, 17:32 
Offline

Joined: 26. Mar 2008, 12:46
Posts: 11
I'll upgrade to 2.8 and see what happens.

Thanks Michael!


Top
 Profile  
 
 Post subject:
PostPosted: 26. Feb 2009, 17:44 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Be aware that the php files where refactored. Therefore it looks a little bit different but it should be much easier now ;).

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 26. Feb 2009, 17:46 
Offline

Joined: 26. Mar 2008, 12:46
Posts: 11
ooooohhhh ... backup time! :)


Thanks again.


Top
 Profile  
 
 Post subject:
PostPosted: 20. Mar 2009, 15:34 
Offline

Joined: 26. Mar 2008, 12:46
Posts: 11
That didn't help tho.

Customer complained again with the same problem.
All session vars are lost and the session_cache directory is back.
After deleting the directory things go back to normal.


Top
 Profile  
 
 Post subject:
PostPosted: 20. Mar 2009, 15:49 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
don't you get this error message in the log:

It seems that the session handling of the server is not o.k. TFU already tried a workaround that does not seem to work. TFU deleted the session_cache folder.....

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 20. Mar 2009, 15:51 
Offline

Joined: 26. Mar 2008, 12:46
Posts: 11
This is in the log file:

03.20.2009 14:10:50 - ERROR 8 in /var/www/html/back/tfu/tfu_config.php, line 3: A session had already been started - ignoring session_start()


Top
 Profile  
 
 Post subject:
PostPosted: 20. Mar 2009, 15:57 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Are you sure you did not mix up versions somehow? Because in tfu_config.php is not session_start() !

- Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 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:
cron
powered by phpbb | Datenschutz/ Privacy policy