Page 1 of 1

fatal error msg

Posted: Sat Apr 25, 2009 10:19 am
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

Re: fatal error msg

Posted: Sat Apr 25, 2009 11:05 am
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.

Re: fatal error msg

Posted: Sat Apr 25, 2009 12:10 pm
by Benjamin
:arrow: Moved to PHP - Code

Re: fatal error msg

Posted: Sat Apr 25, 2009 7:09 pm
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

Re: fatal error msg

Posted: Sat Apr 25, 2009 7:42 pm
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