fatal error msg

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mobilekranti
Forum Newbie
Posts: 3
Joined: Sat Apr 25, 2009 10:13 am

fatal error msg

Post by mobilekranti »

can any one help me wid dis prblem???


Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'Your DATABASE US'@'localhost' (using password: YES) in /home/mobilekr/public_html/zedge/3rdparty/adodb/drivers/adodb-mysql.inc.php on line 358

Fatal error: Call to a member function getarray() on a non-object in /home/mobilekr/public_html/zedge/modules/home/index.php on line 2424
Daisy100
Forum Newbie
Posts: 6
Joined: Sat Apr 25, 2009 10:48 am

Re: fatal error msg

Post by Daisy100 »

Could you test whether you could connect directly to mysql using the username/password.
I presume the array is populated by connecting to the database and as the array is empty you have an error message.
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: fatal error msg

Post by Benjamin »

:arrow: Moved to PHP - Code
mobilekranti
Forum Newbie
Posts: 3
Joined: Sat Apr 25, 2009 10:13 am

Re: fatal error msg

Post by mobilekranti »

Well Sir actually i am not sure about how php works (coding point of view). Ok let me just get into some details..i got a unlimited hosting from bluehost.com. Now i was about to get a freelancer to get my work done but , while researching online i found clone script of zedge.net so i extracted the folder contents and pasted in the public directory of my hosting account under the folder zedge, and when i just tried to open the url the above stated message popped up. Now i really want to get things working and i cant waste lot of money as a student .

Will anyone please guide me .
Thanks

here is the link which shows the error,
http://www.mobilekranti.com/zedge
mobilekranti
Forum Newbie
Posts: 3
Joined: Sat Apr 25, 2009 10:13 am

Re: fatal error msg

Post by mobilekranti »

Ok well i have sorted out the sql error, now this is the error which remains, any help with this..
http://www.mobilekranti.com/zedge
Post Reply