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 11. Dec 2018, 14:07

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 23. Jan 2011, 20:21 
Offline

Joined: 23. Jan 2011, 19:58
Posts: 9
Location: London
Hi
I purchased the TFU and am using it in standalone mode (pro license)

I created a new subdomain and all the 2.12.1 files are uploaded to the root of that directory, so no .htaccess issues of any kind.
I've played with the config file and php.ini so it's all set it up to upload files (only) and it all works perfectly .....

Until I try to set up authentication.

I create a user in the .htusers file and use the password_generator to create the long string encrypted password and leave the rest as default.

Files uploaded and refresh the browser .... prompt for user/password.
I enter the name/auth and it fails with "You are trying to use the TWG Upload Flash without authentication, the server login failed, expired or the configuration could not be found"

I tries test/test, but the results are the same.

It all seemed very straight forward up until this point
I searched on here, but found nothing, read and re-read the faq..

Am I missing something obvious? ... chmod or .htaccess for the .htuser file or something like that?

Thanks in advance
CW


Top
 Profile  
 
PostPosted: 23. Jan 2011, 20:52 
Offline

Joined: 23. Jan 2011, 19:58
Posts: 9
Location: London
Oh ffs!!!!

Fixed it.
In the htuser file it shows:
$GLOBALS["users"]=array(
array("test","xxxx","upload","","")
);

I created a new line for the new user BUT .... I didn't spot that I needed to ad a comma (,) at the end of the first array.

$GLOBALS["users"]=array(
array("test","xxxx","upload","",""), <---- there
array("newuser","xxxx","upload","true","true")
);

Works now :roll:


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 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