Results 1 to 10 of 10
  1. #1
    Join Date
    Jun 2009
    Location
    NYC
    Posts
    5
    Plugin Contributions
    0

    Default Prompted for User/Pass in Media Manager

    *gong*

    Most respect to the great Zen forum.

    I've been trying to load the media manager multiple times, and every time I tried to access the file, I keep being prompted for the password to access the folder logs, when the URL clearly doesnt point to the logs folder...

    I have been trying to solve this with my host and isp (1and1/optimum) for a week with their best answer being "restart the modem" *sigh

    I've tried the link with different DNS, ISP, locations, and browsers with no luck.

    here's the screenshot and the link to the file ...
    http://whosehaus.com/Markku_Stuff/Picture_5.jpg

    http://www.whosehaus.com/digistore/m...H006_bueno.mp3

    Please anyone, someone... help?
    I think it could be something simple that I overlooked.

    thank you...

  2. #2
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Prompted for User/Pass in Media Manager

    Quote Originally Posted by santostrid View Post

    I've been trying to load the media manager multiple times,
    <snip>
    http://www.whosehaus.com/digistore/m...H006_bueno.mp3
    Just to clarify, are you having a problem loading the *media manager* or the media *files* ?

    If it is the media files (as indicated by the link), then the access error is normal and expected. Files in this directory are protected by the .htaccess file.

    If you are having the problem with the media manager (via the admin control panel) then you do indeed have a problem.

    Please clarify your situation.

    Cheers
    Rod

  3. #3
    Join Date
    Jun 2009
    Location
    NYC
    Posts
    5
    Plugin Contributions
    0

    Default Re: Prompted for User/Pass in Media Manager

    Ahh... that makes sense...

    it Is the media *files*. So what should I do now? should I delete it?

    but if so, how come 1and1's tech support was able to access it through their local isp in the phillipines? Shouldn't it be restricted for all?

    thanks Rod... the fog is thinning ...

    Strid

  4. #4
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Prompted for User/Pass in Media Manager

    Quote Originally Posted by santostrid View Post
    Ahh... that makes sense...
    it Is the media *files*. So what should I do now? should I delete it?
    Delete what? the .mp3 file or the .htaccess file?

    I'm not sure what you are actually trying to do.

    Quote Originally Posted by santostrid View Post
    but if so, how come 1and1's tech support was able to access it through their local isp in the phillipines? Shouldn't it be restricted for all?
    The .htaccess file only restricts access by a web browser, the tech support probably accessed it via FTP (with a "super user" account)
    Just guessing.

    Cheers
    Rod

  5. #5
    Join Date
    Jun 2009
    Location
    NYC
    Posts
    5
    Plugin Contributions
    0

    Default Re: Prompted for User/Pass in Media Manager

    Hi Rod...

    I meant, should I delete the .htaccess file in the 'media' folder?

    I'm trying to work the media manager... the player itself is loading (i tried both the traditional way, as well as the flash mod), but the mp3 files wont play.
    With the default MM, it'll show the name of the file, but then when i click it, it'd take me to the page with the login ...
    With the flash, it'll just show the player, with no mp3...
    What should I do so that it'll play?

    the tech support probably accessed it via FTP (with a "super user" account)
    That's what I said, but then they sent me the screenshots of them opening/saving the mp3 file from the above link...

  6. #6
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Prompted for User/Pass in Media Manager

    What is the content of your /media/.htaccess file?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Jun 2009
    Location
    NYC
    Posts
    5
    Plugin Contributions
    0

    Default Re: Prompted for User/Pass in Media Manager

    i don't know the first thing about .htaccess files, so i think in the beginning, I just copied and pasted from somewhere...

    Below is the content and *** I put in place of personal infos...

    Can you show me what's the right content should be?

    Options +Indexes
    Satisfy any
    Order Deny,Allow
    Deny from all
    RemoveType .html .gif .mp3
    AuthType Basic
    AuthName "Access for /logs"
    AuthUserFile /***** /htpasswd
    require user ******

    Getting closer, I feel :) woohoo...thank you!

  8. #8
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Prompted for User/Pass in Media Manager

    I'm not sure why you've got a .htaccess file in your /media/ folder in the first place. Zen Cart doesn't include one because it's not needed.

    And, since you've got AuthXXXX and Require XXXX statements in it, it's going to prompt you for a valid login if you attempt to access any files in that folder ... and that's counter-productive if you *want* people to be able to access those media files, such as you described initially.

    So ... I recommend that you just delete the /media/.htaccess file unless you have a concrete reason for adding it.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Jun 2009
    Location
    NYC
    Posts
    5
    Plugin Contributions
    0

    Default Re: Prompted for User/Pass in Media Manager

    Makes perfect sense...

    And IT'S WORKING!!!!! thank you thank you thank you thank you....

    the .htaccess file was invisible as well, so i would never thought of it being a problem... so Phewwwwww.... Thank you again, Doc and Rob...

    Strid

  10. #10
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Prompted for User/Pass in Media Manager

    Quote Originally Posted by santostrid View Post
    Hi Rod...
    I meant, should I delete the .htaccess file in the 'media' folder?
    I see DrByte has already steered you in the right direction (while I was sleeping). I too was wondering why you had a .htaccess file in that directory, but figured you'd put there for a reason.

    I was also going to point you the FAQ file. If you've not seen it already you may find it worth reading.

    Cheers
    Rod

 

 

Similar Threads

  1. Unable to upload media using media manager
    By ThomasT in forum Basic Configuration
    Replies: 17
    Last Post: 5 Aug 2010, 08:04 PM
  2. Replies: 0
    Last Post: 13 Mar 2009, 10:00 PM
  3. Programming Question: user/pass to other db
    By websurfer in forum General Questions
    Replies: 1
    Last Post: 27 Aug 2008, 02:04 AM
  4. Prompted for credentials - downloads
    By Dale Thomas in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 Feb 2007, 03:24 AM
  5. Changing sort order of media clips in media manager
    By Lovere in forum General Questions
    Replies: 2
    Last Post: 12 Jul 2006, 08:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg