Results 1 to 7 of 7
  1. #1
    Join Date
    Feb 2007
    Location
    United Kingdom
    Posts
    13
    Plugin Contributions
    0

    Default Shared SSL Problems

    I know that the general advice for using shared SSL certificates is "don't", but I've foolishly already paid for the service on my Easyspace server, so I might as well try and use it before forking out more for a dedicated certificate.

    I have changed both config files to point to the secure site, and I have uploaded an identical copy of all of my folders to the secure server. So far so good. But the problem I'm having is that when I try to go to checkout or log in page on the secure server, the page jumps straight to the the zc_install folder on the secure site (or would if it were there). It seems that Zencart doesn't recognise what's going on and tries to undertake a fresh install on the secure server...which I'm assuming that I don't have to do.

    Also when I try and log into the secure admin site, I get the following error message:

    Warning: main(/vhost/vhost6/s/o/l/MYWEBSITE.co.uk/www/includes/autoload_func.php): failed to open stream: No such file or directory in /home/web/secure/html/MYWEBSITE/www/admin/includes/application_top.php on line 147

    Fatal error: main(): Failed opening required '/vhost/vhost6/s/o/l/MYWEBSITE.co.uk/www/includes/autoload_func.php' (include_path='.:') in /home/web/secure/html/MYWEBSITE/www/admin/includes/application_top.php on line 147

    I'm guessing that this has something to do with sessions or similar, but it's possible that I'm making some really basic error.

    Has anyone else been able to solve this problem?

  2. #2
    Join Date
    Jul 2007
    Location
    Chicago & Arkansas I split time LOL
    Posts
    149
    Plugin Contributions
    0

    Default Re: Shared SSL Problems

    I do not think its your error. Have you talked to the hosting company? I would be curious what they have your cart hosted on ie Linux or Windows. Because I see the word virtual host in your statement. And since this involves SSL and they have to be using Name Based Virtul Host's in order to share a certificate that is a major ordeal all by itself. So again is the hosting company aware of your problem. Because I reall believe it is in there setup. I am guessing this is a new site and you have not had it working before?

    Rich

  3. #3
    Join Date
    Feb 2007
    Location
    United Kingdom
    Posts
    13
    Plugin Contributions
    0

    Default Re: Shared SSL Problems

    Thanks for the info. Yep - this is a new site, and I haven't got the Shared SSL working yet. I have posted an inquiry with my host, and I'll let you know what they say.

  4. #4
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Shared SSL Problems

    Are they requiring you to have a complete set of folders for ssl and non ssl?

    you have 2 seperate server paths here
    vhost/vhost6/s/o/l/MYWEBSITE.co.uk/www/includes/

    and
    /home/web/secure/html/MYWEBSITE/www/admin/includes


    IF you had to add a complete duplicate of your files to the ssl server you will need to amend your server paths,

    as to the statement of shared SSL,

    If the server is setup right and you have been instructed HOW the setup works then you are OK,
    Zen cart PCI compliant Hosting

  5. #5
    Join Date
    Feb 2007
    Location
    United Kingdom
    Posts
    13
    Plugin Contributions
    0

    Default Re: Shared SSL Problems

    [FONT=Times New Roman]Thanks again for your help! However, I have a couple more questions to get straight before I go and pester my hosting company some more…[/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Times New Roman]Assuming that there is no redirection jiggery-pokery between servers to allow shared SSL with only one set of files (or is there?), what I would like is that the secure pages (admin, checkout, etc) are accessed through the secure site, and that the rest of the website is viewed via the unsecure server.[/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Times New Roman]I’m assuming therefore that you need to keep two identical sets of files on each server – both secure and unsecure, even though this would presumably mean that a good deal of the files are redundant on each (as you would never access e.g. checkout through the unsecure site).[/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Times New Roman]Regarding the two server paths, currently my Config files are identical on each server. From what you are saying, do I need to tailor the Config files to suit each one? i.e. change the Define DIR_FS_ADMIN and DIR_FS_CATALOG entries at the bottom of each set of configure.php files?[/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Times New Roman]Cheers,[/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Times New Roman]Martyn[/FONT]

  6. #6
    Join Date
    Feb 2007
    Location
    United Kingdom
    Posts
    13
    Plugin Contributions
    0

    Default Re: Shared SSL Problems

    OK, I've changed the DIR_FS_ADMIN and DIR_FS_CATALOG entries in the secure version of the configure.php files, and it (seems to) work OK. I've also ammended the path to the "cache" directory in the Configure.php files on the secure server, although I'm not really sure if this is necessary.

    Having scanned through a few other posts, what's all this "symlink" business? Can I get away with one set of files only and still operate shared SSL?

    Martyn

  7. #7
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Shared SSL Problems

    you can ask your host to set a sym link
    Zen cart PCI compliant Hosting

 

 

Similar Threads

  1. Replies: 8
    Last Post: 11 Oct 2012, 12:21 AM
  2. Replies: 5
    Last Post: 24 Aug 2012, 08:17 PM
  3. Shared SSL problems
    By filfish in forum General Questions
    Replies: 12
    Last Post: 7 Apr 2009, 03:41 PM
  4. Shared SSL, admin and HTML problems
    By Zeb Macahan in forum General Questions
    Replies: 9
    Last Post: 21 Jan 2008, 02:16 AM

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