There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
access audio avg avg 8 bios blue screen boot bsod computer connection cpu crash css dell desktop dma driver drivers dvd email error excel explorer firefox firefox 3 freeze gimp graphics hard drive hardware hijackthis hjt install internet internet explorer itunes keyboard laptop macro malware monitor motherboard network networking outlook outlook 2003 outlook 2007 outlook express pio problem problems router seo server slow sound sp3 spyware trojan usb video virtumonde virus vista vundo windows windows vista windows xp winxp wireless
Web Design & Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
MySQL


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
Pyrogopher's Avatar
Junior Member with 1 posts.
 
Join Date: Oct 2007
27-Oct-2007, 09:59 AM #1
MySQL
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's Avatar
MMJ MMJ is offline
Distinguished Member with 3,208 posts.
 
Join Date: Oct 2006
27-Oct-2007, 10:41 AM #2
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.
__________________
Guys, please, this is free tech support, act accordingly.

afk for a while
haswalt's Avatar
Computer Specs
Senior Member with 416 posts.
 
Join Date: Nov 2004
Location: South Coast, UK
Experience: Advanced
28-Oct-2007, 05:56 AM #3
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
__________________
LQD Internet Limited
We've just got better! With the launch of our new site we have SLASHED our prices and upped the offering. Check it out!

10% Discount for ALL Tech Support Guy Members
Simply use the promo code of "T3CHGUY" when ordering to recieve your 10% discount on all shared and reseller hosting packages.
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 01:53 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.