1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.


Discussion in 'Web Design & Development' started by Pyrogopher, Oct 27, 2007.

Thread Status:
Not open for further replies.
  1. Pyrogopher

    Pyrogopher Thread Starter

    Oct 27, 2007

    I inherited a website to maintain and it contains some MySQL, of which I know nothing about. The script had been working fine for a while, but we've changed domains and now it's not working. I have the site with MidPhase.

    The error message is:

    Warning: mysql_pconnect(): Access denied for user 'organict'@'localhost' (using password: YES) in /usr/home/organict/public_html/include/class/_database.php on line 20

    Fatal error: Call to undefined function: _dd_error() in /usr/home/organict/public_html/include/class/_database.php on line 20

    Lines 19-22 are:

    function connect() {
    $this->connection = mysql_pconnect(DB_SERVER, DB_USERNAME, DB_PASSWORD) or _dd_error(E_SQL, 'Connection');
    mysql_select_db(DB_CATALOG, $this->connection);

    I appreciate any help on this issue. Guess it's time to learn some MySQL...
  2. MMJ

    MMJ Guest

    Oct 15, 2006
    This is not a MySQL error and does not require MySQL knowledge.

    The problem, as the error obviously states is that you are trying to call a function that isn't defined.

    You can either remove the call to _dd_error or find out why PHP can't find it.

    Look at the page that has the functions in it.
  3. haswalt


    Nov 22, 2004
    First off i'd fix the pconnect error.

    That will clear it up. Find out what the username and password is of the connection on the new system and also check mysql_pconnect is enabled by the server.

    Also then find out while _dd_error(); is not a real function as MMJ said
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/644185

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice