Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14
  1. #11

    Default Re: upgraded and now nothing shows...

    The database name, user name and password are correct. No prefix.

    So what about the fact that these files, as I said, do not even exist? Is that a bug? Or is that a normal (but never explained) phenomenon?

    Did I do the right thing, then, in just copying my old versions of these files?? (And, if so, why should I have to do this, exactly?)

    I think this is the section that has me confused:


    . . . . . . . .
    // 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', '/zencart/');
    define('DIR_WS_HTTPS_CATALOG', '/zencart/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_INCLUDES', 'includes/');
    . . . . . . . .


    What are these "catalogs"? Where should they go? Do I have to create these directories, or are they part of the install? What should the path/hierarchies be, relative to my shop?

    In particular : What does this mean? :


    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)


    (My store is a subdomain of a web site, so there is no real way to make a path relative to the root. Or is there?? Do I have to do some crazy directory path with a bunch of ".."s? -- like ../../../../store/ or something?)

    Am I even making any sense?

    Is it a bad idea to even use a subdomain?

    Thanks for your patience.

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

    Default Re: upgraded and now nothing shows...

    Zen Cart does not include the 2 configure.php files otherwise you would risk overwritting an existing site on an upgrade ...

    Instead, for NEW INSTALLS, there are the dist-configure.php
    /includes/dist-configure.php
    /admin/includes/dist-configure.php

    On a NEW INSTALL, these could be rename to:
    /includes/configure.php
    /admin/includes/configure.php


    On an UPGRADE you would copy the two files:
    /includes/configure.php
    /admin/includes/configure.php

    from your LIVE site to your UPGRADE site and edit them to alter the paths, database name, username and password ...
    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!

  3. #13

    Default Re: upgraded and now nothing shows...

    I wasn't using an "upgrade" site -- just replacing my old one (which was completely deleted).

    In any case, that doesn't make sense to me because even when there were no "configure.php" files on my server, my store still showed an error message ("warning: I am able to write to the files includes/configure.php" ... "this is a security risk" ... etc.). Changed the permissions on the "dist-configure.php" files, error persisted.

    So I tried to (as you suggested) rename the "dist-configure.php" files to just "configure.php" and give them read-only permissions. I then went to my store, and it did not seem to exist -- instead, it defaulted to the installer folder (which I had renamed). So I entered the URL of the installer (with my re-named folder), and installed again. And again. And again.

    This is weird. But eventually (for no reason that I can discern), after the 3rd re-intall, suddenly the "configure.php" files existed again. (Though the "dist-configure.php" files are ALSO still there -- which I find bewildering, given your last post.)

    So:

    1.) when you "install" ZenCart, and it asks you for your database info, does that info get written to a file ("configure.php" and/or "dist-configure.php"), or does it not? If not, why not?

    2.) when you're doing a fresh install -- not an upgrade (though I fail to see much difference, frankly) -- why would the "configure.php" files not be installed?

    3.) if it is this "configure.php" file that is the crux of the shopping cart -- telling the cart where the database is and how to connect to it -- why aren't instructions for setting up / editing this file in the FIRST LINE of the first page of the FAQ / documentation?

    It seems to me ZenCart so frequently puts the cart miles before the horse. (And I'm still putting my boots on ...)

    Probably I am still missing something. Maybe someone can clarify.

  4. #14

    Re: upgraded and now nothing shows...

    By the way ...

    Nothing actually works in my store (regarding the database). ZenCart is installed, but I still have none of my products or anything.

    Regarding "configure.php" and "dist-configure.php" files -- which one "overrides," or supercedes, the other?

    Because right now I have this in "configure.php" :

    // 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://store.zippermosaics.com');
    define('HTTPS_SERVER', 'https://store.zippermosaics.com');

    (Which looks right)

    and I have this in "dist-configure.php" :

    // 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://localhost');
    define('HTTPS_SERVER', 'https://localhost');

    (which seems wrong to me, but on the other hand I believe when I installed ZenCart the server was in fact "localhost" -- which my host company said was correct. Should it be my domain name instead??)

    I have this in "configure.php" :

    define('DIR_FS_CATALOG', '/var/subdomains/store/');

    And I have this in "dist-configure.php" "

    define('DIR_FS_CATALOG', '/');


    ???

    Can I simply DELETE these bloody "dist-configure.php" files, or what?

    Very confused.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v151 paypal freezes up - shows a white screen and nothing else
    By mespe in forum General Questions
    Replies: 3
    Last Post: 30 Jul 2015, 03:07 PM
  2. v154 I changed home web directory and nothing is working now
    By RiazShahid in forum Basic Configuration
    Replies: 4
    Last Post: 4 Apr 2015, 02:50 PM
  3. i just upgraded to 150 and when i go in there is nothing
    By unusualfinds in forum Upgrading to 1.5.x
    Replies: 8
    Last Post: 3 May 2012, 02:43 PM
  4. Alright, I just uploaded 1.39c,....and now nothing works?
    By BenhamCollectibles in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 24 May 2010, 11:43 PM
  5. Upgraded from 1.3.7 to 1.3.8 and now error
    By LoriW. in forum Upgrading from 1.3.x to 1.3.9
    Replies: 8
    Last Post: 23 Feb 2008, 06:54 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