This topic is locked

Error 2 (connecting)

6/17/2009 7:29:00 PM
PHPRunner General questions
A
agsolutions author

Hello,
I connected to my database successfully and managed to create my files using phprunner and uploaded the files to my web server.
Now when I try to access my site on my browser, I get the following error:
Error type 2

Error description mysql_connect() [function.mysql-connect]: Access denied for user 'dukemedi_dukem'@'75.102.22.138' (using password: YES ....
I even changed the hostname to localhost in dbcommon.php and it still doesnt work, after doing this I get the following error:
Error type 256

Error description Smarty error: unable to write to $compile_dir '/home/dukemedi/public_html/DB/2/templates_c'. Be sure $compile_dir is writable by the web server user.
Please help

E
everyday_ 6/17/2009

did you set template_c folder to 777 using ftp?

A
agsolutions author 6/18/2009

did you set template_c folder to 777 using ftp?


I dont really understand what you mean? please explain?

Thanks

A
agsolutions author 6/18/2009

Can anyone else contribute here please? admins?

Thanks

J
Jane 6/18/2009

Hi,
You need to make sure "templates_c" directory is writable by the web server user.

Usually you can assign correct permissions using your control panel. Also you may ask your webhoting company to help you with this.

A
agsolutions author 6/18/2009

Hi,

You need to make sure "templates_c" directory is writable by the web server user.

Usually you can assign correct permissions using your control panel. Also you may ask your webhoting company to help you with this.


Thanks, I changed the permissions myself! worked like a charm! thanks to both!