Page 1 of 2 12 LastLast
Results 1 to 10 of 28

Hybrid View

  1. #1
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Links Inoperable, all link locations

    I opened /includes/configure.php and changed this line:
    What application did you open that file with??

    If not a code editor then yes most likely muffed it up

    One free code editor is notepad++
    Zen-Venom Get Bitten

  2. #2
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,915
    Plugin Contributions
    13

    Default Re: Links Inoperable, all link locations

    it seems that the current problem is related to your DB credentials.

    i would double check these entries in the configure.php file (and most closely the last 3):

    Code:
    define('DB_TYPE', 'mysql'); // always 'mysql'
    define('DB_PREFIX', ''); // prefix for database table names -- preferred to be left empty
    define('DB_CHARSET', 'utf8'); // 'utf8' or 'latin1' are most common
    define('DB_SERVER', 'localhost');  // address of your db server
    define('DB_SERVER_USERNAME', 'USERNAME');
    define('DB_SERVER_PASSWORD', 'PASSWORD');
    define('DB_DATABASE', 'DATABASE NAME');
    good luck!
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  3. #3
    Join Date
    Dec 2012
    Posts
    66
    Plugin Contributions
    0

    Default Re: Links Inoperable, all link locations

    carlwhat,

    Thanks kindly for the direction. I did discover that somehow I managed to wipe out practically all of the unique configuration data in my includes/configure.php file. I've restored most of that data, although I still haven't been able to link my Zen Cart site with the ZC database that I set up for my store. I should be able to resolve this glitch fairly easily, as I only need to get the correct address for my database.

    I'm relieved to know that I can get back my customized site from the abyss by correcting my errors. I suppose that I could have restored it from my last backup, but it seemed fruitless to me to restore a broken site, as I would still have to resolve the problems that I'm now well on my way to resolving.

    Again, thanks for the help,

    Ken Baker

  4. #4
    Join Date
    Dec 2012
    Posts
    66
    Plugin Contributions
    0

    Default Re: Links Inoperable, all link locations

    Good morning, kobra,


    You ask:

    Quote Originally Posted by kobra View Post
    What application did you open that file with??

    If not a code editor then yes most likely muffed it up

    One free code editor is notepad++
    I do happen to use Notepad++, v. 6.9.1 (still with the kludgy desktop icon, for sentimental reasons). Whatever happened essentially reset my configure.php files to the default, out-of-the-box settings (save for the SSL setting that I manually changed, which did change to 'false'). So far this morning I've been able to recoup about 95% of my customized Zen Cart setup, though I can't view it at present, as I haven't been able to get Zen Cart connected to the ZC database that I set up for my store. That should be a relatively easy glitch to resolve, which I expect that I can manage on my own.

    I recognize, of course, that I caused this problem, not the ZC program. I know that software programs occasionally misbehave, but in my experience the problems that I've encountered with programs almost always turn out to be problems with me.

    I'm still a bit puzzled by the SSL problem. I have a shared SSL certificate through my hosting service with HostGator (not the best SSL choice, I know, but I can't afford an individual SSL certificate at present). Before setting up Zen Cart originally, I got the secure server address from HostGator. Thus, when I configured my Zen Cart store, I activated SSL and entered the secure server address that I had been given by HostGator. I thought that these steps would ensure that the SSL pages would work properly when I activated my Zen Cart store. Obviously that wasn't the case. I clearly recognize that this SSL glitch arises somewhere between me and HostGator, as I'm sure that this built-in Zen Cart SSL protocol has worked fine for likely thousands of other ZC sites. I'm on hold with HostGator (67 minutes and counting) to figure out what went wrong.

    Again, thanks for your help,

    Ken Baker

  5. #5
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Links Inoperable, all link locations

    So, looking at the path that was provided above for both the store and the "secure" connection, they appear to point to two different locations. This is an issue with setup of the ZC software when entering the path(es) for reaching the various locations.

    Ie: gator4244.hostgator.com/-kennith69/index.php would typically point to the index.php file that is located in the public_html folder of the user kennith69. Your store is in a web-facing sub-directory of catalog. So that part must also be accounted for. Should also note that when attempting to access your domain name without the sub-directory of catalog (like most people will tend to do) a customer is presented with options from which to choose, but are not "part" of the website... but, perhaps you have plans to rectify that.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #6
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Links Inoperable, all link locations

    As to the "replaced" configure.php, your host ought to offer restore possibilities from your cPanel. If not, then it would be recommended that you find a host that does. Would simply restore the configure.php from sometime yesterday before the change to at least get the store front back. Though your admin/include/configure.php ought to have all the DB information you need in order to restore that functionality. :) it should also have just about everything else needed as well, though the https: related info may be off still.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  7. #7
    Join Date
    Dec 2012
    Posts
    66
    Plugin Contributions
    0

    Default Re: Links Inoperable, all link locations

    mc12345678,

    I did in fact recreate the data in my includes/configure.php from the data in my admin/includes/configure.php. I've also at this point managed (with HostGator's help) to reestablish the database connection. Strangely, though, none of the template files nor the css files are operating, so I'm just getting the raw text of the index page (including the define_main_page.php file). None of the links work, so I can't view any of the other pages that I've defined. It's a puzzle that I'll have to keep pecking at, I suppose.

    Regards,

    Ken Baker

  8. #8
    Join Date
    Dec 2012
    Posts
    66
    Plugin Contributions
    0

    Default Re: Links Inoperable, all link locations

    mc12345678

    Thanks for your help here and in your earlier posting. You write:

    Quote Originally Posted by mc12345678 View Post
    So, looking at the path that was provided above for both the store and the "secure" connection, they appear to point to two different locations. This is an issue with setup of the ZC software when entering the path(es) for reaching the various locations.
    The Zen Cart configure.php files allow the entry of two separate server URLs, one for the HTTP server and one for the HTTPS server. I assumed that this dual entry meant that, through some protocol, the Zen Cart program could track the two locations and pull files as needed. So the non-SSL and the SSL links do indeed point to two different locations/servers (non-secure and secure). Perhaps I've misunderstood your direction, but if Zen Cart won't work with separate non-SSL and SSL servers, I don't know what to do here, other than to disable SSL for the nonce.

    As for the differing renderings of lunekeltkar.xibeta.com and lunekeltkar.xibeta.com/catalog, I intend to have a much larger website that will include the store but much else as well; with the website envelope, the current bare directory tree resulting from lunekeltkar.xibeta.com will go away. Right now I'm just trying to get the store set up and working. I suppose that there's a slim chance that some handful of people may stumble onto the directory tree before I get everything set to go, but that's not causing me any deep concern at present.

    Best,

    Ken Baker

  9. #9
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,915
    Plugin Contributions
    13

    Default Re: Links Inoperable, all link locations

    ken,
    it seems that you got the DB working again. you are still having a problem with your configure.php file.

    your links are not working because from here:

    http://lunekeltkar.xibeta.com/catalog/

    they point to:

    http://lunekeltkar.xibeta.com/index.php?main_page=featured_products

    and they need to point to:

    http://lunekeltkar.xibeta.com/catalog/index.php?main_page=featured_products

    i'm guessing its one of these 3 variables:

    Code:
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');
    define('DIR_FS_CATALOG', '/home/username/public_html/');
    one of them needs to have "catalog" in there.

    good luck!
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  10. #10
    Join Date
    Dec 2012
    Posts
    66
    Plugin Contributions
    0

    Default Re: Links Inoperable, all link locations

    Sorry, Carl,

    You wrote . . .

    Quote Originally Posted by carlwhat View Post

    i'm guessing its one of these 3 variables:

    Code:
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');
    define('DIR_FS_CATALOG', '/home/username/public_html/');
    one of them needs to have "catalog" in there.
    . . . but I didn't see your post until after posting my Success! note. You were exactly right: I had neglected to enter the definition for DIR_WS_CATALOG. Once I did, my store site thankfully stepped back from oblivion at the edge of the abyss. I much appreciate your taking time to help me fix these blunders.

    Best,

    Ken Baker

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. cross link entire categories to multiple locations?
    By johnny roastbeef in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 18 Oct 2012, 09:14 PM
  2. v139f linksmanager - all links listed in my link category pages have suddenly disappeared
    By asiaradiosales in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 28 Feb 2012, 05:44 AM
  3. all locations for url paths?
    By nathanscrivener in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 26 Nov 2010, 04:09 PM
  4. Replies: 1
    Last Post: 1 Jul 2009, 08:09 PM
  5. How to add a simle text link under New/All Products links in CAT side box?
    By oavs in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 7 Dec 2008, 03:17 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