Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Oct 2007
    Posts
    11
    Plugin Contributions
    0

    red flag switching to www.sitename.com

    Ok, here's the problem. I have Zencart installed and working, with SSL. However, the certificate we have is for www.printographics.com. Zencart uses just printographics.com (no www). That renders our certificate invalid. When I try to change the config file to add the www, I'm unable to log in as a customer. Is there another spot I have to change that?

    Please help! This is the third issue I've had (the other two have not been resolved, even the one back in October), and I've very frustrated with lack of support here.

  2. #2
    Join Date
    Jun 2004
    Posts
    613
    Plugin Contributions
    0

    Default Re: switching to www.sitename.com

    i would say you had missed one of the many places you need to add www in the config files

  3. #3
    Join Date
    Jun 2004
    Posts
    613
    Plugin Contributions
    0

    Default Re: switching to www.sitename.com

    you could also modify your .htaccess to add the www

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: switching to www.sitename.com

    Quote Originally Posted by Dubird View Post
    and I've very frustrated with lack of support here.
    That's the sad thing about free advice... You can always offer to pay someone to assist - then you call the shots...

    Generally, if your cert was issued WITHOUT the WWW, then the simplest solution is to ditch the cert and get another one with WWW.

    Sounds like that you will have problems trying to configure redirects. A similar issue was raised a few days ago and I recall there being a .htaccess solution to this.

    Search the forum for SSL .htaccess .
    20 years a Zencart User

  5. #5
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: switching to www.sitename.com

    Just re-read your post... if your zencart is operating without the www, then take a close look at your configure.php files .
    20 years a Zencart User

  6. #6
    Join Date
    Jun 2004
    Posts
    613
    Plugin Contributions
    0

    Default Re: switching to www.sitename.com

    Quote Originally Posted by Chrome Orange View Post
    i would say you had missed one of the many places you need to add www in the config files
    4 places, 2 in the admin config and 2 in the store config, off the top of my head

  7. #7
    Join Date
    Oct 2007
    Posts
    11
    Plugin Contributions
    0

    Default Re: switching to www.sitename.com

    First off, thank you for replying. ^^


    Ok, the lines i changed were:

    Code:
    define('HTTP_SERVER', 'http://printographics.com');
    define('HTTPS_SERVER', 'https://printographics.com');
    to add the www. And that's when it messes up. The cert was issued with the www, so that's what i want to add it. I don't see anyother spot in either configure file where it would be added.
    Last edited by Dubird; 25 Feb 2008 at 08:11 PM.

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: switching to www.sitename.com

    You should just change:
    Code:
    define('HTTP_SERVER', 'http://printographics.com');
    define('HTTPS_SERVER', 'https://printographics.com');
    to be:
    define('HTTP_SERVER', 'http://www.printographics.com');
    define('HTTPS_SERVER', 'https://www.printographics.com');
    NOTE: both configure.php files:
    /includes/configure.php
    /admin/includes/configure.php

    should reflect these changes for all of the HTTP_ settings ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  9. #9
    Join Date
    Oct 2007
    Posts
    11
    Plugin Contributions
    0

    Default Re: switching to www.sitename.com

    That's what I did do, but it would basicly do the page like this. It's not doing it now, and I did find one in the configure file for the admin that i missed, but now I can't login at all. No error, it just sends me back to the login page.

  10. #10
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: switching to www.sitename.com

    You appear to have errors on your site ...

    Check that there are not extra characters, spaces or blank lines at the top of the configure.php file as I am seeing junk on your site now ...

    Also be sure the the configure.php file is set to 644 or 777 to overwrite with the new changes and then set it back to 644 or 444 depending on what your site requires ...

    NOTE: A file set to 444 cannot be overwritten ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 where to put the "store" www.foobar.com/store or www.store.foobar.com ?
    By petepdx in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 12 Aug 2012, 08:55 AM
  2. Replies: 7
    Last Post: 8 Dec 2010, 12:53 PM
  3. Replies: 5
    Last Post: 27 Apr 2010, 07:56 PM
  4. Blank page at www.sitename.com/catalog/zc_install
    By ericasmum in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 2 Apr 2010, 04:51 AM
  5. Replies: 4
    Last Post: 19 Feb 2009, 06:02 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