Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2006
    Posts
    8
    Plugin Contributions
    0

    Default Help need configure.php

    I changed a code in the configure.php from

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

    to

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

    and came up with an error (0 DB_ERROR_NOT_CONNECTED) after changing the permission from 444 to 777 and uploading the changes.

    i then changed it back to

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

    and i still come up with the same error message
    0 DB_ERROR_NOT_CONNECTED

    can someone please help me

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

    Default Re: Help need configure.php

    the DB_ERROR_NOT_CONNECTED occurs when your database-settings in the configure.php file do not match the required settings to talk to your database server.

    I suspect that your edits mangled those settings...




    Also ... when changing those settings from /shop/ to // you should just use / (not double // )
    .

    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.

  3. #3

    Default Re: Help need configure.php

    get a fresh copy of configure.php files and put the correct settings in, and upload/ overwrite them on the server. make sure not to move any lines around, just change whats needed and make sure that your mysql settings are EXACTLY like those you setup when you created the database.

    hope this helps

  4. #4
    Join Date
    Apr 2006
    Posts
    8
    Plugin Contributions
    0

    Default Re: Help need configure.php

    Thankyou so much for youe replies

    But i rang my host provider, they are great, and the problem is now fixed, he said there was nothing wrong with any of the files but wanted to try something, this is what he done.

    Copy the password in the includes/configure.php
    define('DB_SERVER_PASSWORD', 'xxx[xxxxxxxx');

    Delete the define statement,
    then recreate the define statement and past the password back in

    For some unknown reason, this fixed it

    Thanks again

 

 

Similar Threads

  1. Need help with Admin configure.php
    By xdawg12 in forum General Questions
    Replies: 2
    Last Post: 18 Feb 2010, 11:00 PM
  2. Can't rename dist-configure.php because there is already a configure.php
    By mamasylvia in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 17 Mar 2008, 06:57 AM
  3. configure.php file help need
    By o.martin in forum Installing on a Linux/Unix Server
    Replies: 9
    Last Post: 25 Jan 2007, 05:53 AM
  4. upgraded to 1.3.6, need help with configure.php
    By ttalk in forum Upgrading from 1.3.x to 1.3.9
    Replies: 3
    Last Post: 13 Jan 2007, 05:23 PM
  5. I need a fresh configure.php
    By chrispowers in forum General Questions
    Replies: 1
    Last Post: 28 Sep 2006, 10:43 PM

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