What's the file structure on your local site, and how does that differ from the live site? That may give you some clues.
What's the file structure on your local site, and how does that differ from the live site? That may give you some clues.
.
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.
The only difference is on the server the files are in the 'shop' folder with all the Zencart stuff, and locally they are in the root folder for the web site (was trying out 3 different applications for this site).
The only other difference is the additional php file to include the ref to the swfobject_modified.js, which I'm pretty sure that's OK now.
I've also just tried changing the file names to exclude spaces - not ideal as it shows them that way in the flash player.
I've looked at the logs, the only error now is for a gif file it's not finding that's apparently mentioned in the stylesheet. I can see the GET requests are being made for the songs in the playlist, if I click another song that also produces a GET request on the server.
I think there must be some sort of problem with the flash file, I'll try testing another flash object on the page.
Exact folder structure:
mp3files (folder contains mp3s)
Scripts (folder contains flash js files)
swf file
xml file
Are those GET requests successful? ie: do they return a 200-OK response? or a 404-not-found response?
Is the path mentioned in the log for those GET requests actually the correct path to the mp3 files?
What happens if you put that path in your browser (after the domain name of course) and try to open the mp3 that way?
.
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.
This is example from log file
radiationsun.co.uk 212.159.59.73 - - [07/Sep/2010:17:46:59 +0100] "GET /shop/mp3_files/Spells.mp3 HTTP/1.1" 404 9433 "-" "Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8"
If I put that path into my browser the mp3 file plays in the default player.
So, that's saying that the store's files are under /shop/another-test/fanfare/
And that's suggesting that the mp3s are under
/shop/another-test/fanfare/mp3files
And that's saying that the test was to /shop/mp3_files/Spells.mp3
But those are all different:
/shop/another-test/fanfare/
/shop/another-test/fanfare/mp3files
/shop/mp3_files/Spells.mp3
.
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.
.
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.
Hi
I'm not sure I totally get this. The zencart main folder is the shop folder, it's just the product page that resides under the Url
http://www.radiationsun.co.uk/shop/another-test/fanfare
I've installed the CEON seo module which is why I've got that nice URL, but the main folder is the shop folder.
I agree it looks like the file is not being found, confirmed by this latest test:
http://www.radiationsun.co.uk/shop/test4.html
But I can't for the life of me see why - oh I wonder if it has something to do with the CEON module rewriting urls....
I'll just check this out...
OK, have uploaded the same set of files to another server, and it works fine. I'm pretty sure now this has to do with the CEON module as it's definitely server specific and that's pretty much the only thing I've added, but my brains are totally addled and I'm going to have dinner before I try and work it out.
The working example is here:
http://www.jenniedawson.co.uk/radiation/test.html
I can't think why I didn't think of this before as I already had to exclude the media folder from the rewrite. Hopefully I'll be able to put the necessary files in the media folder to fix it.
Thanks for all the help.. will let you know if it works.