Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 12-08-2005, 04:55 PM   #1 (permalink)
mekalodu
 
iinfi's Avatar
 
Join Date: Oct 2004
Location: Navi Mumbai
Posts: 1,519
Default EDITED: more errors !!!! PHP/ MySQL ... HELP


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 ...
Quote:
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
__________________
mekalodu
iinfi is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 12-08-2005, 05:00 PM   #2 (permalink)
mekalodu
 
iinfi's Avatar
 
Join Date: Oct 2004
Location: Navi Mumbai
Posts: 1,519
Default

Database Server Hostname / DSN:

what sud i write in the above option ??
__________________
mekalodu
iinfi is offline  
Old 12-08-2005, 07:59 PM   #3 (permalink)
Version 2.0
 
Deep's Avatar
 
Join Date: Jan 2004
Location: Mumbai
Posts: 977
Default

Quote:
Originally Posted by iinfi
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 Ganatra -
www.whoisdeep.com
www.twitter.com/DeepXP/
Deep is offline  
Old 12-08-2005, 08:36 PM   #4 (permalink)
mekalodu
 
iinfi's Avatar
 
Join Date: Oct 2004
Location: Navi Mumbai
Posts: 1,519
Default

tried localhost ... not working ...
__________________
mekalodu
iinfi is offline  
Old 12-08-2005, 08:37 PM   #5 (permalink)
Version 2.0
 
Deep's Avatar
 
Join Date: Jan 2004
Location: Mumbai
Posts: 977
Default

Quote:
Originally Posted by iinfi
tried localhost ... not working ...
ur trying to install on local machine?

make sure mysql service is on...

Deep
__________________
- Deep Ganatra -
www.whoisdeep.com
www.twitter.com/DeepXP/
Deep is offline  
Old 12-08-2005, 08:46 PM   #6 (permalink)
mekalodu
 
iinfi's Avatar
 
Join Date: Oct 2004
Location: Navi Mumbai
Posts: 1,519
Default

no at dhost.info .... i have uploaded the required php BB files
__________________
mekalodu
iinfi is offline  
Old 12-08-2005, 09:16 PM   #7 (permalink)
Version 2.0
 
Deep's Avatar
 
Join Date: Jan 2004
Location: Mumbai
Posts: 977
Default

put mysql host name as "mysql" without ""

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

Deep
__________________
- Deep Ganatra -
www.whoisdeep.com
www.twitter.com/DeepXP/
Deep is offline  
Old 13-08-2005, 01:11 AM   #8 (permalink)
mekalodu
 
iinfi's Avatar
 
Join Date: Oct 2004
Location: Navi Mumbai
Posts: 1,519
Default

thanks man....done ....
__________________
mekalodu
iinfi is offline  
Old 13-08-2005, 07:52 AM   #9 (permalink)
Broken In
 
Join Date: Aug 2005
Location: ::Geek-O-Sphere::
Posts: 120
Default

Is it working now?
__________________
------------------------------------------
Master Search Engine Optimization Tutorial.

Sitez::
1) Broadband-O-Sphere
2) [url=http://techbulletin.net]TechBulletin[url]
Retro is offline  
Old 13-08-2005, 11:02 AM   #10 (permalink)
mekalodu
 
iinfi's Avatar
 
Join Date: Oct 2004
Location: Navi Mumbai
Posts: 1,519
Default

yes boss ... .... was a bit busy so i have not added anything in the forum as yet ....
__________________
mekalodu
iinfi is offline  
Old 21-08-2005, 11:41 AM   #11 (permalink)
mekalodu
 
iinfi's Avatar
 
Join Date: Oct 2004
Location: Navi Mumbai
Posts: 1,519
Default

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

Quote:

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)
__________________
mekalodu
iinfi is offline  
Old 21-08-2005, 11:45 AM   #12 (permalink)
Version 2.0
 
Deep's Avatar
 
Join Date: Jan 2004
Location: Mumbai
Posts: 977
Default

chaneg CHMOD of folder avatars to 777

u can easliy do it using FTP clients like SmartFTP

Deep
__________________
- Deep Ganatra -
www.whoisdeep.com
www.twitter.com/DeepXP/
Deep is offline  
Old 22-08-2005, 01:10 AM   #13 (permalink)
mekalodu
 
iinfi's Avatar
 
Join Date: Oct 2004
Location: Navi Mumbai
Posts: 1,519
Default

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 ....
__________________
mekalodu
iinfi is offline  
Old 22-08-2005, 01:13 AM   #14 (permalink)
Version 2.0
 
Deep's Avatar
 
Join Date: Jan 2004
Location: Mumbai
Posts: 977
Default

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
__________________
- Deep Ganatra -
www.whoisdeep.com
www.twitter.com/DeepXP/
Deep is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
Refbacks are On


 
Latest Threads
- by abhidev
- by Sujeet
- by Sarath
- by Krow

Advertisement




All times are GMT +5.5. The time now is 08:36 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2