Results 1 to 10 of 32

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Location
    West Virginia
    Posts
    321
    Plugin Contributions
    1

    Default Re: site doesnt work

    Im sorry but I still dont quite understand. I have read the https://www.zen-cart.com/tutorials/i...hp?article=101 and it talks about if I move my forlder "Which im not" and now you saying I just have to modify my config.php file (which is located where) and what do I modify? I just want to change my web host directory to point to that folder (rbackyard) so my Zencart website can be used so if I change the directory to (/rbackyard) what exactly will I have to chang in the ZenCart files

    Thanks,
    Chad

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: site doesnt work

    What do you have currently for lines 15-26 of your includes/configure.php file?
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Aug 2006
    Location
    West Virginia
    Posts
    321
    Plugin Contributions
    1

    Default Re: site doesnt work

    here is lines 14-27

    Code:
    // 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', 'http://www.rbackyard.net');
      define('HTTPS_SERVER', 'https://www.rbackyard.net');
    
      // 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', '/rbackyard/');
      define('DIR_WS_HTTPS_CATALOG', '/rbackyard/');

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: site doesnt work

    SInce you are making changes to your hosting setup such that any web address starting www.rbackyard.net actually goes to www.rbackyard.net/rbackyard, you need to stop Zen Cart from then looking for the rbackyard folder that visitors will already be in.

    To do this you change these two lines
    define('DIR_WS_CATALOG', '/rbackyard/');
    define('DIR_WS_HTTPS_CATALOG', '/rbackyard/');
    to
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');
    in both of your configure.php files.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    Join Date
    Aug 2006
    Location
    West Virginia
    Posts
    321
    Plugin Contributions
    1

    Default Re: site doesnt work

    Thanks a million! Is this the only thing I have to change?

  6. #6
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: site doesnt work

    As long as you do it for both configure.php files, that should be enough. Moving (or in this case re-directing) Zen Carts is one of those things that's really difficult to get your head around, and yet really easy in practise. If you have any further problems with this, come back here and we'll sort them.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  7. #7
    Join Date
    Aug 2006
    Location
    West Virginia
    Posts
    321
    Plugin Contributions
    1

    Default Re: site doesnt work

    KUROI, I did what you said and the site works! But, the admin section doesnt. I log into my admin section with http://www.rbackyard.net/admin/login.php and it show fine but when I put in my pass and user it gives me an 404 error.

    Thanks,
    Chad

 

 

Similar Threads

  1. Alpha2Product filter - doesnt work on my site
    By cisi in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 14 May 2013, 08:53 AM
  2. I installed on a linux sever now my template doesnt work and my admin doesnt
    By tabartabar in forum Installing on a Linux/Unix Server
    Replies: 16
    Last Post: 10 Mar 2010, 05:23 AM
  3. MAP Pricing Admin Error - Urgent, site doesnt work
    By 65fastback2+2 in forum All Other Contributions/Addons
    Replies: 10
    Last Post: 31 Mar 2009, 11:31 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