Results 1 to 10 of 20

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Embedding Flash with xml data

    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.

  2. #2
    Join Date
    Sep 2010
    Posts
    17
    Plugin Contributions
    0

    Default Re: Embedding Flash with xml data

    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.

  3. #3
    Join Date
    Sep 2010
    Posts
    17
    Plugin Contributions
    0

    Default Re: Embedding Flash with xml data

    Exact folder structure:

    mp3files (folder contains mp3s)
    Scripts (folder contains flash js files)
    swf file
    xml file

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Embedding Flash with xml data

    Quote Originally Posted by JennieD View Post
    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.
    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.

  5. #5
    Join Date
    Sep 2010
    Posts
    17
    Plugin Contributions
    0

    Default Re: Embedding Flash with xml data

    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.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Embedding Flash with xml data

    Quote Originally Posted by JennieD View Post
    So, that's saying that the store's files are under /shop/another-test/fanfare/
    Quote Originally Posted by JennieD View Post
    Exact folder structure:

    mp3files (folder contains mp3s)
    Scripts (folder contains flash js files)
    swf file
    xml file
    And that's suggesting that the mp3s are under
    /shop/another-test/fanfare/mp3files
    Quote Originally Posted by JennieD View Post
    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"
    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.

  7. #7
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Embedding Flash with xml data

    Quote Originally Posted by JennieD View Post
    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.
    The "404" in that log message means "404 Not Found", as in: no, that file did not play as a result of that particular request, because it could not be located at the path specified.
    .

    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.

  8. #8
    Join Date
    Sep 2010
    Posts
    17
    Plugin Contributions
    0

    Default Re: Embedding Flash with xml data

    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...

  9. #9
    Join Date
    Sep 2010
    Posts
    17
    Plugin Contributions
    0

    Default Re: Embedding Flash with xml data

    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.

 

 

Similar Threads

  1. Integrating Zen Cart with XML feed? or with Tech Data
    By ahreno in forum General Questions
    Replies: 4
    Last Post: 28 Apr 2009, 09:20 PM
  2. Embedding flash in sidebox
    By jvanree in forum General Questions
    Replies: 4
    Last Post: 18 Dec 2008, 01:14 AM
  3. Embedding Flash Video at Top of Page
    By mdlesk in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 14 Jan 2008, 01:11 PM
  4. Flash with XML hack: could use an iFrame
    By websitebob in forum General Questions
    Replies: 0
    Last Post: 29 Aug 2007, 11:00 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