GIDForums  

Go Back   GIDForums > Computer Programming Forums > MySQL / PHP Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 20-Feb-2006, 12:07
vigilantweather vigilantweather is offline
New Member
 
Join Date: Feb 2006
Posts: 28
vigilantweather is on a distinguished road
Exclamation

Config Being Replaced?


Hello,

I know our Board has not seen the best of days over the past month or so. We tried to install Mkportal on our Board last night... accidentally, the config.php file was deleted and there is no way to restore it. By the way, I am using PhpBB 2.x

I found a possible solution here:
http://www.phpbb.com/kb/article.php?article_id=48

Well, I am labeled a complete newbie to this whole php and mysql thing.

If you could please take a look at that link it would be great.

I think I am using mysql 4.x so I typed in mysql4 in the appropriate location in the newly-made config.php file... along with account info and such.

On the 2 db ones (dbname & dbhost), i did not know what to do.

Well here is my error displayed on every page on my Board...


Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/vigilant/public_html/board/db/mysql4.php on line 330

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/vigilant/public_html/board/db/mysql4.php on line 331
phpBB : Critical Error

Could not connect to the database

And here are line 330 and 331 of that file:

PHP Code:

$result['message'] = mysql_error($this->db_connect_id);
        $result['code'] = mysql_errno($this->db_connect_id); 



Any help appreciated ASAP, as I do not want to go another step further until I get "expert advice"--compared to my lack of knowledge.

Thanks.
  #2  
Old 20-Feb-2006, 13:30
vigilantweather vigilantweather is offline
New Member
 
Join Date: Feb 2006
Posts: 28
vigilantweather is on a distinguished road

Re: Config Being Replaced?


phpbb2_ delivers the same error... But have a look at http://www.vigilantweather.com/board for the current setting which is phpbb_ for the prefix.

It is "there", but with quite a long list of errors at the top. Any ideas?

Thanks.
  #3  
Old 20-Feb-2006, 14:41
vigilantweather vigilantweather is offline
New Member
 
Join Date: Feb 2006
Posts: 28
vigilantweather is on a distinguished road

Re: Config Being Replaced?


You may delete this since I cannot... It has been resolved
 
 

Recent GIDBlogToyota - 2008 July Promotion by Nihal

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
new user - apache root config... glennn Apache Web Server Forum 1 09-Mar-2006 09:26
Apache2 config issues monev Apache Web Server Forum 2 28-Jun-2004 06:19
CD burner wont burn!! robertli55 Computer Hardware Forum 1 18-Jun-2004 10:53
Yet another CD burner problem: Lite-On LSC-24082K Erwin Computer Hardware Forum 1 22-May-2004 11:28
Modum Config Please Help DUANE Open Discussion Forum 1 04-May-2004 15:16

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 19:07.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.