Results 1 to 6 of 6
  1. #1
    Join Date
    Sep 2005
    Posts
    19
    Plugin Contributions
    0

    Default Cannot connect to database in store after upgrade

    I upgraded to Zencart 1.3.8a, which then wanted to upgrade my database, after which I get the following message on my website (store):

    Sorry!
    There seems to be a problem connecting to our database. Please give us a few minutes to remedy the problem. Thank you.

    I can log into my admin pages fine and can see my database records, but just can't connect in my website store. Both my configure.php files are the same. I have played around with a few changes but none have worked. I have created another user and password and tried to use that but it never worked either. My brainstorming is not storming anymore. I'd appreciate any help.

  2. #2
    Join Date
    Jan 2004
    Posts
    58,249
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: Cannot connect to database in store after upgrade

    Quote Originally Posted by jcattanach View Post
    Both my configure.php files are the same.
    Identical?
    They shouldn't be.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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
    Join Date
    Sep 2005
    Posts
    19
    Plugin Contributions
    0

    Default Re: Cannot connect to database in store after upgrade

    No, sorry, I meant that they were the same with regards to the database name, username, password info (in define our database connection)

  4. #4
    Join Date
    Jan 2004
    Posts
    58,249
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: Cannot connect to database in store after upgrade

    What permission level is set on your /includes/configure.php file?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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
    Sep 2005
    Posts
    19
    Plugin Contributions
    0

    Default Re: Cannot connect to database in store after upgrade

    Permission level is 644

  6. #6
    Join Date
    Jan 2004
    Posts
    58,249
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: Cannot connect to database in store after upgrade

    Quote Originally Posted by jcattanach View Post
    Sorry!
    There seems to be a problem connecting to our database. Please give us a few minutes to remedy the problem. Thank you.
    This message only appears when Zen Cart cannot connect to your database successfully.

    How it works:
    a) the configure.php file is read, loading the database settings
    b) a connection to the database is attempted
    c) if a failure happens here, you'll get that message
    d) if connection is successful, it attempts to access the specified database-name
    e) if a failure happens here, you'll get that error message
    f) if connection is successful, normal store operation proceeds.

    So, if the configure.php file is incomplete, not readable by PHP, or has PHP syntax errors in it, you'll have a problem.
    If the database settings cannot be used to successfully connect to the database and access the group of tables used for Zen Cart, you'll have a problem.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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.

 

 

Similar Threads

  1. Can't connect to my database.
    By misty16 in forum General Questions
    Replies: 32
    Last Post: 13 Oct 2010, 05:10 PM
  2. Cannot connect to database
    By actorxfactor in forum Installing on a Linux/Unix Server
    Replies: 7
    Last Post: 18 Sep 2007, 10:05 PM
  3. Replies: 2
    Last Post: 29 Dec 2006, 04:52 AM
  4. cannot connect to database
    By east coast in forum General Questions
    Replies: 1
    Last Post: 23 May 2006, 04:42 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •