Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum https://www.tinywebgallery.com/forum/ |
|
Login problem https://www.tinywebgallery.com/forum/viewtopic.php?f=12&t=1927 |
Page 1 of 1 |
Author: | Grey [ 15. Apr 2009, 14:23 ] |
Post subject: | Login problem |
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. |
Author: | Grey [ 15. Apr 2009, 14:56 ] |
Post subject: | |
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. |
Author: | TinyWebGallery [ 15. Apr 2009, 15:19 ] |
Post subject: | |
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 |
Author: | Grey [ 15. Apr 2009, 15:35 ] |
Post subject: | |
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? |
Author: | TinyWebGallery [ 15. Apr 2009, 15:56 ] |
Post subject: | |
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 |
Author: | Grey [ 15. Apr 2009, 16:04 ] |
Post subject: | |
xml sent |
Author: | TinyWebGallery [ 15. Apr 2009, 16:47 ] |
Post subject: | |
Thanks. |
Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |