Results 1 to 7 of 7

Thread: Database Error - Too Many Connections

  1. #1
    Britster
    Guest

    Default Database Error - Too Many Connections

    Hi guys,

    This is a weird one. I'm getting 10-20 error report emails come through at a time, but I'm unable to reproduce the problem by doing anything specific on my site. Here's the error email text:

    Code:
    Database error in Britster
    Mysql error:
    Too many connections
    
    Debug backtrace:
    Array
    (
        [1] => Array
            (
                [file] => /home/britster/public_html/rewrite_name.php
                [line] => 61
                [args] => Array
                    (
                        [0] => /home/britster/public_html/inc/db.inc.php
                    )
    
                [function] => require_once
            )
    
    )
    
    
    Called script: /rewrite_name.php
    
    Request parameters:
    Array
    (
    )
    
    
    --
    Auto-report system
    Running Dolphin 6.0.0002 SmartPro on a semi-dedicated box. The SQL server is localhost.

    I've searched here and on Expertzzz for a solution - but nothing I'm seeing is working. Any ideas what else I might try?

    Thanks in advance!

    Paul

  2. #2
    thetazz's Avatar
    Join Date
    Oct 2007
    Posts
    93

    Default

    1 way to kill off the problem is to kill off ray it will help a bit
    Mod. Dolphin 6.02 - with little or no bugs
    TegneForum - tegning er sjovt, men flere tegninger er sjovere!

  3. #3
    Britster
    Guest

    Default

    Can't do that unfortunately! Ray's featureset is now an integral (and essential) part of our site. Unless somebody's actually found a way to replace all the media players and the chat room with other products?

  4. #4
    bigal0228's Avatar
    Join Date
    Sep 2007
    Posts
    409
    Blog Entries
    1

    Default Not sure from your email notice...

    But there seems to be someting missing in your file or the email. I've looked at mine, and it should be calling from profiles, and it APPEARS from your email that it's trying to call from the rewrite_name.php file again... not SURE....



    require_once( "inc/header.inc.php" );
    require_once( BX_DIRECTORY_PATH_INC .'db.inc.php' );
    $sRequest = "SELECT `ID`,`NickName` FROM `Profiles` WHERE {$rewriteNick}";
    $profArr = db_arr( $sRequest );

    if ($profArr)
    {
    $_REQUEST['ID'] = $profArr['ID'];
    if( $flag )
    {
    header("Location: " . $site['url'] . $profArr['NickName']);
    }
    require_once( BX_DIRECTORY_PATH_ROOT. 'profile.php' );
    exit();
    If at first you don't succeed, go to a forum and ask like hell. (Using Joomla 1.5.18, JomSocial 1.6.12, Fully Customized)
    <div>

<a href="http://www.fancamtastic.com/?idAff=5"><img src="http://www.fancamtastic.com/media/images/banners/Banner6.gif" width="445" height="49" border="0"></a><br />
<a href="http://www.fancamtastic.com/?idAff=5"></a>

</div>

  5. #5
    Britster
    Guest

    Default

    Thanks for the reply Al - where's that code taken from?

  6. #6
    bigal0228's Avatar
    Join Date
    Sep 2007
    Posts
    409
    Blog Entries
    1

    Default From the rewrite_name.php

    Located in your root directory...
    If at first you don't succeed, go to a forum and ask like hell. (Using Joomla 1.5.18, JomSocial 1.6.12, Fully Customized)
    <div>

<a href="http://www.fancamtastic.com/?idAff=5"><img src="http://www.fancamtastic.com/media/images/banners/Banner6.gif" width="445" height="49" border="0"></a><br />
<a href="http://www.fancamtastic.com/?idAff=5"></a>

</div>

  7. #7
    Britster
    Guest

    Default

    No go... That's just what my version of the file looks like. It's stopped doing it for now though - and without me changing a thing!!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. MySQL Error [persistant connections]
    By ElFalu in forum General Troubleshooting
    Replies: 0
    Last Post: 10-14-2007, 09:53 AM
  2. Ray Self Connections
    By Smoge in forum Ray Community Widget Suite
    Replies: 1
    Last Post: 09-28-2007, 08:00 AM
  3. Database Error mod
    By CodyT in forum Free Mod Exchange
    Replies: 0
    Last Post: 07-09-2007, 05:52 PM
  4. Database access error after database upload
    By sanne in forum Database
    Replies: 1
    Last Post: 06-03-2007, 06:49 AM
  5. failed connections to my database
    By outlander in forum Web Hosting Talk
    Replies: 1
    Last Post: 06-22-2006, 01:30 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
  •