Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2009
    Posts
    5
    Plugin Contributions
    0

    Default How to close database connection?

    My website displays error and redirect to nddbc.html, I contact my host get the reply that I didn't close connection which connected by index.php, and they have connection number restriction.

    somebody met this problem? How can I solve it?
    thanks.

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,690
    Plugin Contributions
    11

    Default Re: How to close database connection?

    Please be more specific on the error you are getting. Copy the error or give us a screenshot.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

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

    Default Re: How to close database connection?

    Ensure that in your configure.php files you have the USE_PCONNECT setting set to 'false'.
    Kuroi Web Design and Development | Twitter

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

  4. #4
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: How to close database connection?

    Sounds like a website problem as opposed to a script problem.

    You need to find out the following:
    - what is the connection limit set by your Hoster
    - who are your visitors; SEs Bots, actual visitors or ???
    - is the site under any kind of attack; DoS, hack attempts or something else

    Use the tools within your Hosting Control panel to start with; Stats program like AWstats, last visitors, error logs, etc. If you still cannot determine the above 3 items, ask your Hoster for guidance or seek professional help.

 

 

Similar Threads

  1. v150 Database Setup Issue: Connection to Database failed, on iPage
    By tempoart in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 10 Jul 2012, 07:43 AM
  2. "Connection to Database failed" upon install - I think I need database name help
    By jasong1968 in forum Installing on a Linux/Unix Server
    Replies: 7
    Last Post: 30 Nov 2011, 10:50 AM
  3. Database Connection
    By stars62 in forum General Questions
    Replies: 1
    Last Post: 11 Sep 2009, 11:33 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