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 1. Nov 2024, 04:22

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  [ 7 posts ] 
Author Message
 Post subject: Login problem
PostPosted: 15. Apr 2009, 14:23 
Offline

Joined: 15. Apr 2009, 13:46
Posts: 4
Sorry for my english. :(
I'm using TFU standalone.
v. 2.8.1
When I'm trying to load TFU I get error message "You are trying to use the TWG Upload Flash without authentification, the server login failed, expired or the configuration could not be found!"
It happens after apache restart by server owner (probably).
Well, I've check config file? it's ok.
Then I get tfu_login.php directly - all server settings is ok.
Then I try to find tfu.log - no such file.
When I'm trying to get tfu_upload.php directly I get message Not logged in!
If i do echo $login; in tfu_upload.php I get 'true'.
After all this actions I put into tfu_login.php
(before if (isset($_POST['twg_user']) && isset($_POST['twg_pass']) ))
a line:
file_put_contents('my.log','user: '.$_POST['twg_user']);
then I try to use TFU and I get not any $_POST['twg_user'] in my log file.
In addition, twg_user is undefined key of $POST :(
It seems to me that the flash do not send any post data to tfu_login.php and therefore function setSessionVariables(); not executed.

Any suggestions?

PS.: Sorry for my english once more.


Top
 Profile  
 
 Post subject:
PostPosted: 15. Apr 2009, 14:56 
Offline

Joined: 15. Apr 2009, 13:46
Posts: 4
Ooops... Seems it is a server owner problem...
When I run script test.php
Code:
<?
print_r($_POST);
echo '<form method=POST action=test.php>
<input type=text name=tst><input type=submit></form>';
?>

I see just "Array ( )"
Server do not receive any post data. With GET data everything's ok.


Top
 Profile  
 
 Post subject:
PostPosted: 15. Apr 2009, 15:19 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
twg_user is always sent by the flash. If it is not there then it is filterered somewhere. Have you tried your setup on a different server as well?

And what do you mena with ther restart. Was it working before?

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 15. Apr 2009, 15:35 
Offline

Joined: 15. Apr 2009, 13:46
Posts: 4
Yes, it working before.
I think problem happend after my reqest about max_post_size.
And now (after 2 days of experiments) I think that server owner just made some mistake and set max_post_size to zero :))
Thanx for help

Offtop: I made translation of TFU in russian, is it needed?


Top
 Profile  
 
 Post subject:
PostPosted: 15. Apr 2009, 15:56 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Please send me the xml. I will add this to new next version. 2.9 is already ready (in the forum) but I can still add it there.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 15. Apr 2009, 16:04 
Offline

Joined: 15. Apr 2009, 13:46
Posts: 4
xml sent


Top
 Profile  
 
 Post subject:
PostPosted: 15. Apr 2009, 16:47 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Thanks.


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