Results 1 to 7 of 7
  1. #1
    Join Date
    Aug 2010
    Posts
    17
    Plugin Contributions
    0

    help question Subdomain appearing in a FRAMESET

    Would it be wrong to setup a shop as a subdomain, like the shop.mywebsite.com referring to www.mywebsite.com/shop?
    My problem appears when I ask for the source code (right mouse click), and it tells me that the site is using frames (which I do not use, and I am pretty sure it's not in the default Zen Cart installation).
    It also tells me that I have a problem with foreign language characters, because the 'main page' does not have a CHARSET in sync with the MySQL database.

    The source code is not Zen Carts, but is like:

    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
    <html><head><title>shop.mywebsite.com</title></head><frameset rows="100%"><frame src="http://www.mywebsite.com/shop">
    <noframes><p>Your user agent does not support frames or is currently configured not to display frames. However
    you may visit <a href="http://www.mywebsite.com/shop">the page that was supposed to be here</a></p></noframes></frameset></html>

    This might be a standard solution for a subdomain setup, but will cause problems with foreign languages, or am I missing something?

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    18,031
    Plugin Contributions
    1

    Default Re: Subdomain appearing in a FRAMESET

    Subdomains are fine, but yoursite.com/shop might be better. Zencart will not install anything in a frame. A link to the actual site would help.

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

    Default Re: Subdomain appearing in a FRAMESET

    Thanks for the answer, I know it's not a problem inside Zen Cart, it is just something I encountered during the setup.
    Even on the admin pages, the 'FRAMESET' message appears, and might cause problems with getting foreign characters to work.

    Try visiting: http://shop.astridsoase.no/ instead of http://www.astridsoase.no/

    It is not specific for this website, try it on a vanilla Zen Cart installation, and it will behave the same.

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    18,031
    Plugin Contributions
    1

    Default Re: Subdomain appearing in a FRAMESET

    Sorry, but I'm not seeing any mention of 'frameset' in the source of that page.

  5. #5
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    3,946
    Plugin Contributions
    1

    Default Re: Subdomain appearing in a FRAMESET

    Quote Originally Posted by jarlee View Post
    Would it be wrong to setup a shop as a subdomain, like the shop.mywebsite.com referring to www.mywebsite.com/shop?
    Nothing wrong at all. In fact of all the various setup possibilities this is my preferred method.

    Quote Originally Posted by jarlee View Post
    This might be a standard solution for a subdomain setup, but will cause problems with foreign languages, or am I missing something?
    No it's not standard at all. Furthermore I'm not seeing any framesets on your pages either. Perhaps try a different browser? What browser plugins do you use? Perhaps one of these is inserting the framesets?

    Cheers
    Rod
    New support site for the ozpost shipping module now live!

  6. #6
    Join Date
    Aug 2010
    Posts
    17
    Plugin Contributions
    0

    Default Re: Subdomain appearing in a FRAMESET

    Thanks for looking :)

    This is getting more difficult to explain than I thought, sorry for being a little bit obfuscated.

    I use Firefox (latest) normally, and (tx for the remark to try other browsers, I already used IE on it), it seems that IE does not have a problem with this. I build in an 'escape from frame' javascript, and this solves my personal problem with the hoster to redirect in frames (or so it seems). Zen Cart doesn't care for frames and behaves correctly, so no problem there, it is just getting more difficult to setup the foreign language support, if I cannot control all HTML settings from the beginning on.
    I have two settings at the host I can use to have the subdomain installed. A web-alias, and a web-forward, and the alias seemed the right one to use. I'll try the other, and see if that would fit my setup better.

    Thanks all.

  7. #7
    Join Date
    Jan 2004
    Posts
    58,246
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: Subdomain appearing in a FRAMESET

    Quote Originally Posted by jarlee View Post
    I have two settings at the host I can use to have the subdomain installed. A web-alias, and a web-forward
    The symptoms you describe are akin to a "frame forwarding" option.

    You should contact your hosting company for specific assistance.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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.

 

 

Similar Threads

  1. dev subdomain
    By sarodude in forum General Questions
    Replies: 5
    Last Post: 12 Jul 2010, 03:28 PM
  2. subdomain
    By wrapper in forum General Questions
    Replies: 6
    Last Post: 9 Oct 2008, 01:18 PM
  3. Need to use frameset? I want to play music throughout my site
    By tbfs92 in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 24 Sep 2008, 06:53 PM

Bookmarks

Posting Permissions

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