Jump to content

Enabling SSL on Third Party CubeCart Template


Anne202b

Recommended Posts

Hi all. 

I'm trying to enable SSL on my CubeCart store, however, I have a 3rd party template and my host believes it's causing a problem.

When we type https:// my background is a different color, my logo/banner at the top is gone and many of the links are broken.  Is there a way around this; an easy fix? My host is telling me I need to hire a professional web developer. Plus, they already messed up my homepage and now I have to fix it. Apparently, my site wasn't being backed up, daily, as I was told it would be. 

The good link is http://cactusandcoyote.com; it should have a brown background with my logo/banner at the top. Trying it with https:// messes it up.

I'd appreciate any help.

Thanks in advance.

 

A~

Link to comment
Share on other sites

Firstly, I would kick your host into touch straight away.  While ultimately it is your responsibility to ensure you have backups of your site, most reputable Hosting companies will do regular backups anyway but what they certainly shouldn’t have done is make changes to files without keep copies of Pre-changed files.  If you would like to chat about specialist CubeCart hosting, then please PM me.

As far as your current problem is concerned, that is interesting as a different skin is being used under https and this should not make a difference to which skin is used at all.  It is obvious that the skin has been coded with absolute http:// urls so that would need changing and this is a fairly simple but an investigation into why https is calling a completely skin would be needed

Ian

Link to comment
Share on other sites

Welcome Anne202b! Glad to see you made it to the forums.

Please remind us of the exact version of CubeCart you are using.

I am seeing many differences in the HTML.

http:
<div id="pageSurround">
  <div id="innerSurround">
    <div align="center">
      <img src="http://www.cactusandcoyote.com/store/skins/BlueVibranceCC4/styleImages/logo/Logo.png" alt="Cactus and Coyote" width="900" height="161" title="Cactus and Coyote" />

https:
<div id="pageSurround">
  <div id="innerSurround">
    <div align="center">
      <img src="/skins/BlueVibranceCC4/styleImages/logo/Logo.png" alt="Cactus and Coyote" width="900" height="161" title="Cactus and Coyote" />

Note that the <img src> does vs does not have a value for {$STORE_URL}.

This request:
<link href="http://www.cactusandcoyote.com/store/skins/BlueVibranceCC4/styleSheets/layout.css">
versus
<link href="/skins/BlueVibranceCC4/styleSheets/layout.css">

has different content. Note the https has no value for {$STORE_URL}, thus the web server is delivering content from a /skins/ folder found in the root folder.

I will say that you have two stores, or part of a store: one in the subdirectory /store/, and one in the root directory.

For some reason, CubeCart is not assigning the true value of the https STORE_URL to the template.

Let's verify the contents of /includes/global.inc.php. Do you have any of these statements in that file:

$glob['storeURL'] = 'http://something';
$glob['standard_url'] = 'http://something';
$glob['ssl_url'] = 'https://something';
$glob['cookie_domain'] = 'something';
$glob['rootRel'] = '/subdirectory/';
$glob['ssl_path'] = '/subdirectory/';

If you are using CubeCart v5 or v6, you do not need to have any of them.

If you are using CubeCart v4, make sure they are correct.

Link to comment
Share on other sites

Oh my gosh, guys. This is a bit overwhelming. I've been "chatting" with yet another person from JustHost. This person found an old backup from this morning and is restoring as we speak so I can get some of my info back on my site.  We shall see.....   No to tackle the SSL problem.

Hi BSmither, you've helped me out before on the old Cubecartforums. I was sad to see them close as I had a lot of info saved there.

I'm using a much older version, 4.3.3.  I never had the nerve to upgrade. Not very website savvy. 

I'm having trouble finding the file you are talking about. Am I supposed to go into my /skins/BlueVibrance folder? I don't see an /includes there.  I believe that's where I make most of my changes. ?? (When I open the CubeCart4.3.3. Folder, it shows apprx. 13 folders, one being the /skins/BlueVibrance folder.)

Havenswift-Hosting....thank you. I may be contacting you when I get this SSL thing figured out...maybe before!

 

Link to comment
Share on other sites

Hi Anne

You really should upgrade as V6 is massively better than V4 and it isn’t a difficult thing to do although you would need a new skin and as the code base is all different, if you have any custom code or mods, this would need to be looked at - if you wanted to come across to us then we can certainly sort all of this for you.  In fact, if you wanted to upgrade, there would be no need to sort out the issue with the SSL and multiple skins under V4 as all those problems would simply go away !

Ian

Link to comment
Share on other sites

Note: CC4 has a setting in Store Settings, Directories and Folders section. The settings should be verified here.

Since it is not likely that there is any probem with global.inc.php, you can stop looking for it.

But to answer your question, when you examine the contents of your hosted site, you may have a folder named /public_html/. Within this folder, you have your /store/ folder. Then, within /store/ is /includes/. Within /includes/ is the global.inc.php file.

Link to comment
Share on other sites

Thank you, bsmither.

As of right now, I 'think' I've decided to upgrade to V6 and just do a new skin. 

I hope you and Ian are on here often as I know I'll be needing assistance. I don't know the first thing to do, so I'll be searching the forums for direction. This is pretty scary for me... I feel pretty rusty in terms of folders, files and such.

Thanks again! 

A~

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...