Results 1 to 9 of 9
  1. #1
    Join Date
    Feb 2007
    Posts
    43
    Plugin Contributions
    0

    Default Configure.php, paths. Store down after installing SSL

    Hello all, I recently got an SSL & am trying to configure my cart. Having read thru a bunch of posts I edited the 2 config.php's with the SSL address, somehow that seemed to change the relative path and I can't access the catalog or admin. Help!


    store is (supposed) to be at big7records.com/catalog


    INCLUDES configure.php

    define('HTTP_SERVER', 'http://www.big7records.com');
    define('HTTPS_SERVER', 'https://www.big7records.com');

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


    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');


    ADMIN INCLUDES configure.php

    define('HTTP_SERVER', 'http://www.big7records.com');
    define('HTTPS_SERVER', 'https://big7records.com');
    define('HTTP_CATALOG_SERVER', 'http://www.big7records.com');
    define('HTTPS_CATALOG_SERVER', 'https://big7records.com');


    define('ENABLE_SSL_CATALOG', 'false');
    define('ENABLE_SSL_ADMIN', 'false');


    Changed the path on these trying to get it to work:

    define('DIR_WS_ADMIN', '/catalog/admin/');
    define('DIR_WS_CATALOG', '/catalog/');
    define('DIR_WS_HTTPS_ADMIN', '/catalog/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/catalog/');

  2. #2
    Join Date
    Feb 2007
    Posts
    43
    Plugin Contributions
    0

    Default Re: Configure.php, paths. Store down after installing SSL

    Actually I dont know if the issue is with the path, the page that is not found is actually a redirect to http://www.big7records.com/catalog/zc_install/index.php

    Why does it try to go to the installer?

  3. #3
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Configure.php, paths. Store down after installing SSL

    Code:
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');
    should be:
    Code:
    define('DIR_WS_CATALOG', '/catalog/');
    define('DIR_WS_HTTPS_CATALOG', '/catalog/');
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Configure.php, paths. Store down after installing SSL

    Quote Originally Posted by Monica79 View Post
    Actually I dont know if the issue is with the path, the page that is not found is actually a redirect to http://www.big7records.com/catalog/zc_install/index.php

    Why does it try to go to the installer?
    It tries to go to the installer because it's not finding valid data in your configure.php file and is making the only assumption it can .... that you need help rebuilding the file or to do a fresh install.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Feb 2007
    Posts
    43
    Plugin Contributions
    0

    Default Re: Configure.php, paths. Store down after installing SSL

    Thanx for the help.
    I made that change but it's still not finding valid data.
    Catalog page still redirects...for the admin page tho i get:

    Warning: main(/includes/autoload_func.php) [function.main]: failed to open stream: No such file or directory in /homepages/30/d190000162/htdocs/catalog/admin/includes/application_top.php on line 147


    That path seems right I dont get it. There must be another path setting in the configure.php that I am missing?

  6. #6
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Configure.php, paths. Store down after installing SSL

    Your DIR_FS_CATALOG and DIR_FS_CATALOG_ADMIN settings must be incorrect as well.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Feb 2007
    Posts
    43
    Plugin Contributions
    0

    Default Re: Configure.php, paths. Store down after installing SSL

    Thanx, the key was that some of them have to be complete paths like /homepages/30/d190000162/htdocs/catalog/

    So the configure.php's were lacking MySQL settings, I put all that in and now I am getting:

    Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /homepages/30/d190000162/htdocs/catalog/admin/includes/configure.php on line 86 (the 'USE_PCONNECT' line)


    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', '');
    define('DB_SERVER', 'db477.perfora.net');
    define('DB_SERVER_USERNAME', 'dbo197238294');
    define('DB_SERVER_PASSWORD', 'mypassword');
    define('DB_DATABASE', 'db197238294'');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage

  8. #8
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Configure.php, paths. Store down after installing SSL

    Quote Originally Posted by Monica79 View Post
    Thanx, the key was that some of them have to be complete paths like /homepages/30/d190000162/htdocs/catalog/
    The DIR_FS.... stuff assumes complete paths.
    DIR_WS are relative paths.

    Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /homepages/30/d190000162/htdocs/catalog/admin/includes/configure.php on line 86 (the 'USE_PCONNECT' line)

    define('DB_DATABASE', 'db197238294'');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    The line before the pconnect contains mismatched quotation marks. You've closed it with double quotes when you opened with single quotes.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Feb 2007
    Posts
    43
    Plugin Contributions
    0

    Default Re: Configure.php, paths. Store down after installing SSL

    Arg I'm going cross-eyed. TY!

 

 

Similar Threads

  1. defining paths and data base info in configure.php
    By nomad in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 23 Jan 2011, 04:50 AM
  2. Urgent help required.. Website all blank after editing configure.php to add SSL
    By hamid84 in forum Templates, Stylesheets, Page Layout
    Replies: 15
    Last Post: 24 Mar 2010, 12:02 AM
  3. configure.php paths - sanity check please
    By Brian1234 in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 23 Feb 2008, 04:53 AM
  4. After installing an SSL cert, my store now hangs
    By gameboi in forum General Questions
    Replies: 2
    Last Post: 19 Oct 2007, 02:47 AM
  5. DIR_WS_TEMPLATE errors after edit configure.php to setup SSL
    By andrereis in forum General Questions
    Replies: 4
    Last Post: 7 Aug 2007, 12:09 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