Site maintenance: Tuesday 17 Nov, from 10:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / General Questions / Subdomain appearing in a FRAMESET

Subdomain appearing in a FRAMESET

Started by jarlee on 13 Sep 2012, 7:47 PM · Views: 888

Results 1 to 7 of 7
13 Sep 2012, 7:47 PM
#1
jarlee avatar

jarlee

New Zenner

Join Date:
Aug 2010
Posts:
25
Plugin Contributions:
0

Subdomain appearing in a FRAMESET

Would it be wrong to setup a shop as a subdomain, like the shop.mywebsite.com referring to https://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?

13 Sep 2012, 7:59 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

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.

13 Sep 2012, 9:10 PM
#3
jarlee avatar

jarlee

New Zenner

Join Date:
Aug 2010
Posts:
25
Plugin Contributions:
0

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.

14 Sep 2012, 3:56 AM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Subdomain appearing in a FRAMESET

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

14 Sep 2012, 9:45 AM
#5
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Subdomain appearing in a FRAMESET

jarlee:

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.

jarlee:

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

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

14 Sep 2012, 2:41 PM
#6
jarlee avatar

jarlee

New Zenner

Join Date:
Aug 2010
Posts:
25
Plugin Contributions:
0

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.

14 Sep 2012, 7:45 PM
#7
drbyte avatar

drbyte

Sensei

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

Re: Subdomain appearing in a FRAMESET

jarlee:

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