Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

can't have more than two users?
https://www.tinywebgallery.com/forum/viewtopic.php?f=12&t=1616
Page 1 of 1

Author:  thrap [ 2. Aug 2008, 00:40 ]
Post subject:  can't have more than two users?

Hi,

I have a problem with .htusers.php. If I add more than two users I can't login, I only get the message: "You are trying to use twg upload flash without authentification, the server login failed, expired or the configuration could not be found".
If I only have two users it works perfectly.

I'm running TFU standalone version 2.7.7 Freeware edition (according to the "?", tfu_config.php says 2.7.5) on an old Win98 computer with PWS4, PHP Version 4.4.8

tfu.log is empty.

Can enyone help me?

Thanks /Erik

Author:  TinyWebGallery [ 2. Aug 2008, 00:42 ]
Post subject: 

Then you are most likely not using correct php synatax.

if you call tfu_login.php directly. Are you getting an error message?
if yes - fix it!

/Michael

Author:  thrap [ 2. Aug 2008, 00:47 ]
Post subject: 

No error message. I get the same info as from tfu_config.php

/Erik

Author:  TinyWebGallery [ 2. Aug 2008, 08:29 ]
Post subject: 

this is an example with 4 users:

$GLOBALS["users"]=array( array("test","a94a8fe5ccb19ba61c4c0873d391e987982fbbd3","upload","",""), array("test1","a94a8fe5ccb19ba61c4c0873d391e987982fbbd3","upload","",""), array("test2","a94a8fe5ccb19ba61c4c0873d391e987982fbbd3","upload","",""), array("test3","a94a8fe5ccb19ba61c4c0873d391e987982fbbd3","upload","","")
);

which works fine for me. I don't get any error message.

When do you get the message? right away when you start it?

/Michael

Author:  thrap [ 2. Aug 2008, 13:30 ]
Post subject: 

I noticed I were missing the "," between the array's

Thank you!

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/