Zen Cart Logo
Forums / All Other Contributions/Addons / Media Manager clips broken -- using CEON URI Mapping

Media Manager clips broken -- using CEON URI Mapping

Views: 2,327

Results 1 to 16 of 16
16 Jun 2011, 7:33 PM
#1
gradyscott avatar

gradyscott

New Zenner

Join Date:
Jun 2011
Posts:
10
Plugin Contributions:
0

Media Manager clips broken -- using CEON URI Mapping

I have no problem uploading or linking my Media Manager files. My problem comes when I click on the media collection. For some reason, I get a 404 error. I'm certain that the files are where they should be (I've checked numerous times). :frusty: I've tried everything from modifying and/or removing media .htaccess and at best get a page that pulls up with a broken image icon.

I do have CEONs URI Mapping, and I've heard that sometimes this causes mods not to work. Is there anybody who has the Media Manager working?:cry:

16 Jun 2011, 8:09 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Media Manager clips broken -- using CEON URI Mapping

Have you perhaps tried turning your URI Mapping addon OFF to test?

16 Jun 2011, 8:16 PM
#3
gradyscott avatar

gradyscott

New Zenner

Join Date:
Jun 2011
Posts:
10
Plugin Contributions:
0

Re: Media Manager clips broken -- using CEON URI Mapping

DrByte:

Have you perhaps tried turning your URI Mapping addon OFF to test?

Yes, I have tried turning off the module. In doing so, when I click on the Media Collection, I'm taken to the home page.

16 Jun 2011, 8:25 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Media Manager clips broken -- using CEON URI Mapping

What's the URL?

16 Jun 2011, 8:29 PM
#5
gradyscott avatar

gradyscott

New Zenner

Join Date:
Jun 2011
Posts:
10
Plugin Contributions:
0

Re: Media Manager clips broken -- using CEON URI Mapping

DrByte:

What's the URL?

The Media Collection is here

16 Jun 2011, 8:34 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Media Manager clips broken -- using CEON URI Mapping

While the site is in down-for-maintenance mode I can't do much other than guess.

So ... if you right-click on a media-collection link, and copy it to your clipboard and then open a new tab in your browser and paste it in, what does the URL look like?
Paste it here also.

16 Jun 2011, 8:38 PM
#7
gradyscott avatar

gradyscott

New Zenner

Join Date:
Jun 2011
Posts:
10
Plugin Contributions:
0

Re: Media Manager clips broken -- using CEON URI Mapping

DrByte:

While the site is in down-for-maintenance mode I can't do much other than guess.

So ... if you right-click on a media-collection link, and copy it to your clipboard and then open a new tab in your browser and paste it in, what does the URL look like?
Paste it here also.

Man, I'm so sorry! :oops: I made the store live for you. Wasn't thinking too clearly! The Url looks like this lowkeymusicentertainment.com/store/media/CantMakeYouLoveMe.mp3
:frusty:

16 Jun 2011, 8:56 PM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Media Manager clips broken -- using CEON URI Mapping

Try this temporarily: Admin->Configuration->My Store->Missing Page Check ... set it to Off (and take note of what it was set to before you change it ... and mention it in your reply)
Then try clicking the link again.

If that doesn't make any difference, try renaming your /store/.htaccess file to htaccess_bad and try again (This further disables any URI mapping)
And then if that still doesn't work, do a similar renaming of your /store/media/.htaccess to htaccess_bad and try again (this disables security protections)

And of course ... use your FTP program to ensure that the file of that exact name (mixed upper-lower-case) actually exists on the server in that folder.

16 Jun 2011, 9:33 PM
#9
gradyscott avatar

gradyscott

New Zenner

Join Date:
Jun 2011
Posts:
10
Plugin Contributions:
0

Re: Media Manager clips broken -- using CEON URI Mapping

DrByte:

Try this temporarily: Admin->Configuration->My Store->Missing Page Check ... set it to Off (and take note of what it was set to before you change it ... and mention it in your reply)
Then try clicking the link again.

If that doesn't make any difference, try renaming your /store/.htaccess file to htaccess_bad and try again (This further disables any URI mapping)
And then if that still doesn't work, do a similar renaming of your /store/media/.htaccess to htaccess_bad and try again (this disables security protections)

And of course ... use your FTP program to ensure that the file of that exact name (mixed upper-lower-case) actually exists on the server in that folder.

Doc you're a genius, turning off the CEON mod, and renaming the store/.htaccess file did the trick! :clap::D
Here's the million dollar question; is there a way to turn the URI module back on and keep the media collection error free?

16 Jun 2011, 9:35 PM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Media Manager clips broken -- using CEON URI Mapping

gradyscott:

Doc you're a genius, turning off the CEON mod, and renaming the store/.htaccess file did the trick! :clap::D
Here's the million dollar question; is there a way to turn the URI module back on and keep the media collection error free?
Sure: You'll have to fix whatever rules the CEON URI Mapping module had that aren't compatible with your media collection links. I suspect the .htaccess rewrite rules are the culprit. Perhaps the support thread for that module might be of help?

16 Jun 2011, 9:47 PM
#11
gradyscott avatar

gradyscott

New Zenner

Join Date:
Jun 2011
Posts:
10
Plugin Contributions:
0

Re: Media Manager clips broken -- using CEON URI Mapping

DrByte:

Sure: You'll have to fix whatever rules the CEON URI Mapping module had that aren't compatible with your media collection links. I suspect the .htaccess rewrite rules are the culprit. Perhaps the support thread for that module might be of help?

I'll check and give it a go. I noticed that for some reason, the URI module has caused conflicts with quite a few modules! :dontgetit

16 Jun 2011, 9:51 PM
#12
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Media Manager clips broken -- using CEON URI Mapping

All of those addons that try to rewrite the URLs for human "friendliness" have reputations of breaking one thing or another.

The search engines don't need any such addons to work just fine with URLs generated by unaltered Zen Cart.

16 Jun 2011, 10:02 PM
#13
gradyscott avatar

gradyscott

New Zenner

Join Date:
Jun 2011
Posts:
10
Plugin Contributions:
0

Re: Media Manager clips broken -- using CEON URI Mapping

DrByte:

All of those addons that try to rewrite the URLs for human "friendliness" have reputations of breaking one thing or another.

The search engines don't need any such addons to work just fine with URLs generated by unaltered Zen Cart.

:D I can dig it! I found the culprit as well. In the store/.htaccess file
I was missing the rewrite rule for the Media folder. I inserted RewriteCond %{REQUEST_URI} !/media [NC] and turned everything back on. Everything works fine now!

In summation, one could say that if you have problems with the URI mod, check the rewrite rules. Doc, you saved a lot of headaches, and I'm glad you're willing to help this forum out :bigups:

16 Jun 2011, 10:09 PM
#14
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Media Manager clips broken -- using CEON URI Mapping

Glad you got it sorted out!

17 Jun 2011, 11:12 AM
#15
gradyscott avatar

gradyscott

New Zenner

Join Date:
Jun 2011
Posts:
10
Plugin Contributions:
0

Re: Media Manager clips broken -- using CEON URI Mapping

DrByte:

Glad you got it sorted out!

I actually thought I had it figured out! I was sleepy and didn't further investigate. When I added a new clip, I got the blank page again :censored:

I renamed the store/media .htaccess file something different, and now everything is good. Is this .htaccess necessary, or can it be deleted?

17 Jun 2011, 11:56 AM
#16
gradyscott avatar

gradyscott

New Zenner

Join Date:
Jun 2011
Posts:
10
Plugin Contributions:
0

Re: Media Manager clips broken -- using CEON URI Mapping

gradyscott:

I actually thought I had it figured out! I was sleepy and didn't further investigate. When I added a new clip, I got the blank page again :censored:

I renamed the store/media .htaccess file something different, and now everything is good. Is this .htaccess necessary, or can it be deleted?

:oops::oops: My fault, an employee was messing with the .htaccess files and to cover installed a fresh clean version from our database. This version didn't have the <FilesMatch "(^swfobject.js$|^audio_player_standard_gray.swf$|.*.(mp3|mp4|swf|avi|mpg|wma|rm|ra|ram|wmv)$)" > in it. I noticed that if this line isn't there or the audio player isn't allowed, you'll get the broken page! :shocking::shocking: