Jump to content

subdomain link


Guest viper682

Recommended Posts

Guest viper682

I added a subdomain to my domain and moved my store to the subdomain. I am trying to link my main site to the subdomain. I am having a problem with the cart. When you click to add something to the cart being directed from the main site to the store it comes up with an error message. If you are in the store its fine. I want to use this main site to bring you in because it is easier to edit the html and add links.

I am also having a problem with pictures on the main site some ofthem are showing some are not can someone help me with my html.

http://ercollectibles.com

http://store.ercollectibles.com

I noticed when you go through the main site into the store it has http://store.ercollectibles/store/.com so it has to be something to do with my html.

Thanks

Link to comment
Share on other sites

Guest viper682

moving the store is not a problem I already did that. The problem I am having is creating a html site that resembles the store I have been trying to modify the "view source" of the store so that the domain will link into the store when anything is clicked on and I know how to create a link in a web page. THe trouble is making it resemble the store when I use the view source file and edit it I get an error with the cube cart when I try to check out : I would like the main domain to link into the subdomain. I ended up uploading many files from the store to the main domain to and i know I shouldn't have to do that there must be a way for the domain to link to the subdomain I have tried tinkering with the path not much luck

Http://ercollectibles.com

http://store.ercollectibles.com

Not Found

The requested URL /store/index.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

--------------------------------------------------------------------------------

Apache/1.3.33 Server at store.ercollectibles.com Port 80

Link to comment
Share on other sites

OK dude, maybe I'm unable to help you. I gave you those links because your problem is evidently related to the path . . .

I noticed when you go through the main site into the store it has http://store.ercollectibles/store/.com so it has to be something to do with my html.

I think your html links should be set as http://ercollectibles.com/store/ instead of http://store.ercollectibles.com. At any rate, either of those should work, but http://store.ercollectibles/store/.com cannot possibly work, unless your server directory path looks like this:

  • /ercollectibles/store/store/

:wacko:

IOW, you can work out your web design and HTML, XML, CSS etc. coding problems all day long but if there is a problem either with the path set in CC config files or with the URLs you're coding, IT WON'T WORK!!!

If you read those posts, either will tell you where to check on paths in CC. If CC path is set correctly, the problem is with your skill at coding HTML . . .

Link to comment
Share on other sites

Guest viper682

the renaming looks good but the domain is not actually a store and it is already set to the subdomain so that end of it is okay because this is what it says

$glob['dbdatabase'] = 'ercolle1_ccrt2' ;

$glob['dbhost' ] = 'localhost' ;

$glob['dbpassword'] = 'MQ0Y[E17e8jq' ;

$glob['dbprefix' ] = '' ;

$glob['dbusername'] = 'ercolle1_ccrt2' ;

$glob['installed' ] = '1' ;

$glob['rootDir' ] = '/home/ercolle1/public_html/store' ;

$glob['rootRel' ] = '/' ;

$glob['storeURL' ] = 'http://store.ercollectibles.com' ;

I still can't figure out on the domain why it is coming up as http://ercollectibles.com/store/index.php that is the major problem and I have tried editing the .css files, indexes I am just not having much luck

Link to comment
Share on other sites

Guest sunshine

This problem is related to SSL cert. When browing your site, even as 'Guest' their not in SSL mode. But when they go to 'Add to Cart' or view personal profile, the SSL kicks in; or triest o anyway. The problem for you then becomes the fact that your main is on a diffeant level. SSL Wildcards are used for this purpose. I could be wrong here, but I think therein lies your problem. You cannot interchange legitamately between www.domain.com and www.secure.domain.com. that might be a losing battle and not because of CC, rather the specifics of the cert. *Wildcard*

Link to comment
Share on other sites

Guest viper682

I was able to figure the other problem out it was what I was asking for but I guess I was misunderstood it turned out to be a html problem it had to do with the links I fixed it with one item now I have to do it with the rest.

Now I am having a problem I had once before however it is only with one page. The problem is my basket now I checked the .css files because that is how Markscarts told me to fix it and it worked before. The problem is my logo and most of the items on the page load twice however one of the boxes only loads once the page is:

http://store.ercollectibles.com/cart.php?act=cart

Any ideas on this one

Link to comment
Share on other sites

Guest viper682

<!-- BEGIN: body -->

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<body>

<div id="pageSurround">

<div id="topHeader">

<div>{SEARCH_FORM}</div>

<div>{SESSION}</div>

</div>

<table border="0" cellspacing="5px" width="98%" cellpadding="5px" align="center" style="margin-right:5px">

<tr valign="top">

<td width="165px">

{CATEGORIES}

{RANDOM_PROD}

{INFORMATION}

{CURRENCY}

{LANGUAGE}

</td>

<td style="width:98%">

{PAGE_CONTENT}

</td>

<td width="250px" cellpadding="5px">

{SHOPPING_CART}

{POPULAR_PRODUCTS}

{SALE_ITEMS}

{MAIL_LIST}

</td></tr></table>

<br clear="all" />

{SITE_DOCS}

</div>

</body>

<meta http-equiv="Content-Type" content="text/html; charset={VAL_ISO}" />

<title>{META_TITLE}</title>

<meta name="description" content="{META_DESC}" />

<meta name="keywords" content="{META_KEYWORDS}" />

<link href="skins/{VAL_SKIN}/styleSheets/layout.css" rel="stylesheet" type="text/css" />

<link href="skins/{VAL_SKIN}/styleSheets/style.css" rel="stylesheet" type="text/css" />

<script language="javascript" src="js/jslibrary.js" type="text/javascript"></script>

</head>

<body>

<div id="pageSurround">

<div id="topHeader">

<div>{SEARCH_FORM}</div>

<div>{SESSION}</div>

</div>

<div>

<div class="colLeftCheckout">

{CART_NAVI}

</div>

<div class="colMainCheckout">

{PAGE_CONTENT}

</div>

</div>

<br clear="all" />

{SITE_DOCS}

</div>

</body>

</html>

<!-- END: body -->

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...