Page 1 of 3 123 LastLast
Results 1 to 10 of 26
  1. #1
    Join Date
    Feb 2009
    Posts
    112
    Plugin Contributions
    0

    Default Site disappeared when I added SSL

    Hello, I am having a problem since I put in SSL (not shared). But my problem is that I have lost my entire site. see www.stuffwholesale.com , I believe I have configures the two configure pages correctly chomd 644. Just a note that when I put the SSL in earlier today before I started to play with the configure pages I had my site up but it was display totally erratic. I am using zen cart 1.5.4 with Westminster new template.
    Thanks
    Ron

  2. #2
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,668
    Plugin Contributions
    11

    Default Re: Site disappeared when I added SSL

    your problem is not related to ZC. your problem is related to your apache configuration (assuming you are serving up pages using apache).

    while the certificate looks like it was installed correctly. it looks like the document root on apache is now wrong.

    contact your host, as the document root now looks wrong.

    its most definitely a hosting issue.... unless i'm wrong... in which case feel free to ignore my advice... but i do not think i am...
    Last edited by carlwhat; 21 Sep 2016 at 06:14 PM.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  3. #3
    Join Date
    Feb 2008
    Posts
    529
    Plugin Contributions
    0

    Default Re: Site disappeared when I added SSL

    Quote Originally Posted by RonGin View Post
    Hello, I am having a problem since I put in SSL (not shared)....
    SSL not shared but is your hosting shared? My previous shared host I had to use their server url in all but one of the config urls, ie hosterserver_url/my_account_name which then opened the site in SSL and with my domain name showing. For some (other) unknown reason one of the urls had to remain as my own domain name.

  4. #4
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,668
    Plugin Contributions
    11

    Default Re: Site disappeared when I added SSL

    Quote Originally Posted by soxophoneplayer View Post
    SSL not shared but is your hosting shared? My previous shared host I had to use their server url in all but one of the config urls, ie hosterserver_url/my_account_name which then opened the site in SSL and with my domain name showing. For some (other) unknown reason one of the urls had to remain as my own domain name.
    i would not recommend them as a host. a good hosting company can configure the server to only use your domain name and your own SSL certificate. now-a-days, i do not *think* you even need a dedicated IP address.

    from what i can tell, the OP has their own SSL on a shared host.

    best.

  5. #5
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: Site disappeared when I added SSL

    A Dedicated IP is indeed not needed anymore. Modern server configurations can use SNI. This allows you to have multiple ssl's on a single (shared) IP address. I use this on all my own, and my clients servers nowadays. The only "minor" downfall is that older (obsolete) browsers like IE8 and android 2.x phones do not work with SNI, and will give an error for your sites.

    Quote Originally Posted by carlwhat View Post
    i would not recommend them as a host. a good hosting company can configure the server to only use your domain name and your own SSL certificate. now-a-days, i do not *think* you even need a dedicated IP address.

    from what i can tell, the OP has their own SSL on a shared host.

    best.

  6. #6
    Join Date
    Feb 2009
    Posts
    112
    Plugin Contributions
    0

    Default Re: Site disappeared when I added SSL

    HEllO, And thanks for all the advice, here is what the hosting company replied to me.
    Thank you for contacting Directnic Support regarding your site not showing up after installing SSL. We have enabled errors to display by creating a configuration file in includes/local/configure.php and the error we are seeing is this: Parse error: syntax error, unexpected $end in /home/erbornb2/public_html/includes/configure.php on line 1

    Your configuration file in that location has all of the code entered on line 1. I am not sure if that's the problem or if there are any other syntax issues in that block of code but that is where I would advise looking for the source of the problem. We will go ahead and leave the error reporting on to assist you in discovering the issue. When you would like to disable it, just delete the configuration.php file in public_html/includes/local/configure.php.
    So I went and changed the includes/congfigue.php on the http; back to just http: and not https. And now all I see is the error report.
    But I don't think that is going to work because for the last two day I had that configuration in there.
    I don't know what to do.
    Ron?

  7. #7
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,668
    Plugin Contributions
    11

    Default Re: Site disappeared when I added SSL

    you configure.php is not correct.

    post the contents. someone should be able to tell you where you went adrift...
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  8. #8
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,739
    Plugin Contributions
    0

    Default Re: Site disappeared when I added SSL

    Your configuration file in that location has all of the code entered on line 1.
    Sounds like the config file looked ok to you in whatever editor you are using but upon upload the files collapses because the editor is borking up the line endings.
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  9. #9
    Join Date
    Feb 2009
    Posts
    112
    Plugin Contributions
    0

    Default Re: Site disappeared when I added SSL

    I have download edit pad lite now and tried putting the configure file in perspective but I think I still have a problem because the site is showing this Warning STRICT ERROR REPORTING IS ON, also when I type the address in at www.stuffwholesale.com it show up as non ssl but when I click the links it show SSL should that be so.

    Here is the configure file: Note this is the one in the main directory includes/configure NOT the one in the admin:
    <?php
    /**
    * dist-configure.php
    *
    * @package Configuration Settings circa 1.5.2
    * @copyright Copyright 2003-2012 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version GIT: $Id: Author: DrByte Wed Nov 6 20:54:59 2013 -0500 Modified in v1.5.2 $
    * @private
    */
    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg-http://www.yourdomain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.yourdomain.com
    define('HTTP_SERVER', 'https://www.stuffwholesale.com');
    define('HTTPS_SERVER', 'https://www.stuffwholesale.com');

    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL', 'false');

    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!

    // * DIR_WS_* = Webserver directories (virtual/URL)
    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_INCLUDES', 'includes/');
    define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
    define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
    define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
    define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
    define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
    define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

    // * DIR_FS_* = Filesystem directories (local/physical)
    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
    define('DIR_FS_CATALOG', '/home/erbornb2/public_html/');
    //the following path is a COMPLETE path to the /logs/ folder eg: /var/www/vhost/accountname/public_html/store/logs ... and no trailing slash
    define('DIR_FS_LOGS', DIR_FS_CATALOG . '/logs');

    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
    define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
    define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', 'zc_'); // prefix for database table names -- preferred to be left empty
    define('DB_CHARSET', 'utf8');
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', 'erbornb2_zc2');
    define('DB_SERVER_PASSWORD', 'G[A@OVzc[i10#)8');
    define('DB_DATABASE', 'erbornb2_zc2');

    // The next 2 "defines" are for SQL cache support.
    // For SQL_CACHE_METHOD, you can select from: none, database, or file
    // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
    // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
    // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
    define('SQL_CACHE_METHOD', 'file');
    define('DIR_FS_SQL_CACHE', DIR_FS_CATALOG.'cache');
    here is the Admin file: This is the file that is not showing right for some reason This is opened in Edit pad but I had to fix it to show this otherwise it was one row.
    <?php/** * SAMPLE (but NOT FUNCTIONAL) file * * @package Configuration Settings * @package Admin * @copyright Copyright 2003-2014 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 * @version GIT: $Id: Author: DrByte May 24 2014 Modified in v1.5.3 $ * @private *//** * WE RECOMMEND THAT YOU USE SSL PROTECTION FOR YOUR ENTIRE ADMIN: * To do that, make sure you use a "https:" URL for BOTH the HTTP_SERVER and HTTPS_SERVER entries: */ define('HTTP_SERVER', 'https://www.stuffwholesale.com'); define('HTTPS_SERVER','https://www.stuffwholesale.com');
    define('HTTP_CATALOG_SERVER', 'http://www.stuffwholesale.com'); define('HTTPS_CATALOG_SERVER', 'https://www.stuffwholesale.com'); // secure webserver for admin? Valid choices are 'true' or 'false' (including quotes). define('ENABLE_SSL_ADMIN', 'true'); // secure webserver for storefront? Valid choices are 'true' or 'false' (including quotes). define('ENABLE_SSL_CATALOG', 'true'); define('DIR_WS_ADMIN', preg_replace('#^' . str_replace('-', '\-', zen_parse_url(HTTP_SERVER, '/path')) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/'); define('DIR_WS_CATALOG', '/'); define('DIR_WS_HTTPS_ADMIN', preg_replace('#^' . str_replace('-', '\-', zen_parse_url(HTTPS_SERVER, '/path')) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/'); define('DIR_WS_HTTPS_CATALOG', '/');// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!// * DIR_WS_* = Webserver directories (virtual/URL) // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder) define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/'); define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');// * DIR_FS_* = Filesystem directories (local/physical) define('DIR_FS_ADMIN', preg_replace('#/includes/$#', '/', realpath(dirname(__FILE__) . '/../') . '/')); define('DIR_FS_CATALOG', '/home/erbornb2/public_html/'); //the following path is a COMPLETE path to the /logs/ folder eg: /var/www/vhost/accountname/public_html/store/logs ... and no trailing slash define('DIR_FS_LOGS', DIR_FS_CATALOG . '/logs'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');// define our database connection define('DB_TYPE', 'mysql'); define('DB_PREFIX', 'zc_'); define('DB_CHARSET', 'utf8'); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'erbornb2_zc2'); define('DB_SERVER_PASSWORD', 'redacted'); define('DB_DATABASE', 'redacted'); // The next 2 "defines" are for SQL cache support. // For SQL_CACHE_METHOD, you can select from: none, database, or file // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash define('SQL_CACHE_METHOD', 'file'); define('DIR_FS_SQL_CACHE', DIR_FS_CATALOG.'cache');//Explanations of the webserver and path parameters:// HTTP_SERVER is your Main webserver: eg-http://www.yourdomain.com// HTTPS_SERVER is your Secure webserver: eg-https://www.yourdomain.com// HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.yourdomain.com// HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.yourdomain.com/* * URLs for your site will be built via: * HTTP_SERVER plus DIR_WS_ADMIN or * HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or * HTTP_SERVER plus DIR_WS_CATALOG or * HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG * ...depending on your system configuration settings */

  10. #10
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,668
    Plugin Contributions
    11

    Default Re: Site disappeared when I added SSL

    Quote Originally Posted by barco57 View Post
    Sounds like the config file looked ok to you in whatever editor you are using but upon upload the files collapses because the editor is borking up the line endings.
    is that an actual computer symptom, borking?? i can never seem to get my computers to bork properly.....

    ron,
    it looks to me you are in a much better place. your site is up, Your SSL is installed, things are moving properly...

    you have a system variable STRICT_ERROR_REPORTING defined as true somewhere. i would look for the code and find out where you added the line:

    define('STRICT_ERROR_REPORTING', true);

    and either delete that line or comment it out.

    is your admin now coming up as well?
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v138a HSBC not working when SSL is integrated on site
    By amruta2104 in forum Addon Payment Modules
    Replies: 1
    Last Post: 13 Apr 2012, 06:04 AM
  2. v139h Admin Login problem after Netfirms added SSL to my site
    By mike_m29 in forum General Questions
    Replies: 9
    Last Post: 9 Apr 2012, 06:45 PM
  3. No Tax Added When New Country Added to Zone
    By mach9 in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 0
    Last Post: 30 Sep 2010, 10:42 AM
  4. When entering custom product meta tags, site wide keywords are added on still?
    By amdowney in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 26 Sep 2008, 10:42 PM
  5. Added SSL, Now have Parse Error when trying to use ADMIN
    By minson in forum General Questions
    Replies: 2
    Last Post: 22 Mar 2007, 02:05 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR