MySQL

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Pyrogopher

Thread Starter
Joined
Oct 27, 2007
Messages
1
Howdy,

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...
 

MMJ

Guest
Joined
Oct 15, 2006
Messages
3,625
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.
 
Joined
Nov 22, 2004
Messages
414
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
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

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 807,865 other people just like you!

Latest posts

Staff online

Top