EDITED: more errors !!!! PHP/ MySQL ... HELP

Status
Not open for further replies.

iinfi

mekalodu
i m trying to create a forum using PHP BB ... i m havng no clue abt this error ... this error crops up when i press start install in Php BB 2 installation ...
Warning: mysql_connect(): Lost connection to MySQL server during query in /usr/local/apache2/htdocs/eplforum/db/mysql4.php on line 48

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /usr/local/apache2/htdocs/eplforum/db/mysql4.php on line 330

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /usr/local/apache2/htdocs/eplforum/db/mysql4.php on line 331
phpBB : Critical Error

Could not connect to the database
 

Deep

Version 2.0
iinfi said:
Database Server Hostname / DSN:

what sud i write in the above option ??

put it localhost or whatever your host has provided hostname (99.99999% of the host have mysql server running on same machine i.e. localhost)

then it should work :)

Deep
 

Deep

Version 2.0
put mysql host name as "mysql" without ""

check this page: *dhost.info/index.php?l=f

Deep
 
OP
iinfi

iinfi

mekalodu
in my forum when i try to upload an Avtar using admin user i get the following errors ..

Warning: move_uploaded_file(./images/avatars/109804846643080b1cee6fe.gif): failed to open stream: Permission denied in /usr/local/apache2/htdocs/eplforum/includes/usercp_avatar.php on line 241

Warning: move_uploaded_file(): Unable to move '/usr/local/apache2/htdocs/ter/php6KnO7e' to './images/avatars/109804846643080b1cee6fe.gif' in /usr/local/apache2/htdocs/eplforum/includes/usercp_avatar.php on line 241

what do these mean ... i m unable to use any GIFs or JPGs as my avtar ...... (i m talking abt another forum which i m trying to make and not this DIGIT forum)
 

Deep

Version 2.0
chaneg CHMOD of folder avatars to 777

u can easliy do it using FTP clients like SmartFTP

Deep
 
OP
iinfi

iinfi

mekalodu
thanks man .... wonder how u can answer any question thrown up at u ... what are u?? done some PHd in web/servers .. or something like that .... ;)
 

Deep

Version 2.0
haha nothing, I have faced these kind of problems many times so know the answer :)

About me, I run a small company which provided web designing, development, hosting and SEO services :)

Regards
Deep
 
Status
Not open for further replies.
Top Bottom