coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Permissions & Access Rights => Topic started by: kevincarlson on February 27, 2005, 09:09:16 AM

Title: Repeating username/password prompts at startup
Post by: kevincarlson on February 27, 2005, 09:09:16 AM
I just installed 1.3.2 and batch uploaded a set of files to a subdirectory under albums, per the batch upload instructions.
When first loading the startup page, I'm now seeing repeating popup windows, each asking for a username and password.

There appears to be one login window for each thumbnail image on the startup page.  I close each of these 12 login screens, and only placeholders appear for each of the thumbnail images.

This seems to be a permissions issue, yet I've set set the albums directory to 777 with no change.

Any suggestions?  

Thanks,
Kevin
Title: Re: Repeating username/password prompts at startup
Post by: Joachim Müller on February 27, 2005, 09:27:55 AM
having pop-ups with password prompts definitely is not a coppermine feature - you must have some hotlink protection enabled (e.g. by .htaccess means) that keeps the script from accessing the pics. Post a deep link to one of the pics you uploaded, e.g. http://yourdomain.tld/your_coppermine_folder/albums/your_subfolder/yourpic.jpg

Joachim
Title: Re: Repeating username/password prompts at startup
Post by: kevincarlson on February 27, 2005, 08:19:21 PM
Interestingly, I got a password prompt and then "Authorization required" message when attempting to directly view an image!

However, I had never used .htaccess to limit directory access.  I did FTP the files from a friend's server, though - so I went to a shell window, typed "ls -a" to show hidden files, and sure enough, there was a .htaccess file!  I deleted that and now everything works!

Thanks for your input - Live and learn I guess!  ;D