could not connect to database

Hulp nodig bij een modificaties of op zoek naar een MOD? Bekijk ons archief. Support wordt helaas niet meer verleend.
Forumregels

Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
phpBB2.0.x
Gaialynn
Berichten: 16
Lid geworden op: 01 mar 2006, 11:37

Bericht door Gaialynn » 01 mar 2006, 14:49

Bedankt voor de hulp maar... hier houd het op voor mij... database legen en opnieuw beginnen? Of heeft iemand nog een idee?

Ik blijf diezelfde fout krijgen:
  • Er is een fout opgetreden tijdens het updaten van de database
    Table 'phpbb_auth_access' already exists
en op de site (http://www.gaialynn.com/forum) staat:
  • phpBB : Critical Error

    Could not query config information

    DEBUG MODE

    SQL Error : 1146 Table 'db_forum.forum_config' doesn't exist

    SELECT * FROM forum_config

    Line : 213
    File : common.php

Gebruikersavatar
Diablo Gamer
Berichten: 1394
Lid geworden op: 02 jan 2004, 20:33
Locatie: Dalen/Drenthe/Holland
Contacteer:

Bericht door Diablo Gamer » 01 mar 2006, 15:05

dat is idd het beste ja met een nieuwe database te beginen
It`s nice to be important, but it`s more important to be nice.

Gaialynn
Berichten: 16
Lid geworden op: 01 mar 2006, 11:37

Bericht door Gaialynn » 01 mar 2006, 16:20

okay, ik meld me weer als het forum erop staat, of juist niet...

Iig bedankt voor alle hulp en moeite

Lynn :thumb:

Ytrecq
Berichten: 228
Lid geworden op: 03 okt 2005, 16:51

Bericht door Ytrecq » 01 mar 2006, 17:05

Volgensmij heb je config.php niet geCHMOD naar 777 dat doe je door in je FTP programma met de rechtermuisknop op config.php te klikken en dan alle negen vakjes selecteren(waarschijnlijk onder CHMOD:) of in een invoerveld(met iest met CHMOD erin ervoor) het driecijferignummer te veranderen in 777. Vergeet niet na afloop alles weer terug te zetten.
Eigenlijk hoef je jouw database niet leeg te maken. Gewoon wat je eerder poste in config.php plakken en uploaden.
sudo apt-get remove windows

Gebruikersavatar
Bee
Berichten: 13403
Lid geworden op: 29 aug 2004, 10:30

Bericht door Bee » 01 mar 2006, 17:07

Diablo Gamer schreef:dat is idd het beste ja met een nieuwe database te beginen
Dat is helemaal niet nodig, die oplossing is alleen nodig als het echt niet anders kan. Je verliest er namelijk veel meer gegevens mee dan door gewoon even de queries die je nodig hebt laat uitvoeren, in dit geval:

Code: Selecteer alles

CREATE TABLE forum_config (
    config_name varchar(255) NOT NULL,
    config_value varchar(255) NOT NULL,
    PRIMARY KEY (config_name)
);
en vervolgens

Code: Selecteer alles

INSERT INTO forum_config (config_name, config_value) VALUES ('config_id','1');
INSERT INTO forum_config (config_name, config_value) VALUES ('board_disable','0');
INSERT INTO forum_config (config_name, config_value) VALUES ('sitename','yourdomain.com');
INSERT INTO forum_config (config_name, config_value) VALUES ('site_desc','A _little_ text to describe your forum');
INSERT INTO forum_config (config_name, config_value) VALUES ('cookie_name','phpbb2mysql');
INSERT INTO forum_config (config_name, config_value) VALUES ('cookie_path','/');
INSERT INTO forum_config (config_name, config_value) VALUES ('cookie_domain','');
INSERT INTO forum_config (config_name, config_value) VALUES ('cookie_secure','0');
INSERT INTO forum_config (config_name, config_value) VALUES ('session_length','3600');
INSERT INTO forum_config (config_name, config_value) VALUES ('allow_html','0');
INSERT INTO forum_config (config_name, config_value) VALUES ('allow_html_tags','b,i,u,pre');
INSERT INTO forum_config (config_name, config_value) VALUES ('allow_bbcode','1');
INSERT INTO forum_config (config_name, config_value) VALUES ('allow_smilies','1');
INSERT INTO forum_config (config_name, config_value) VALUES ('allow_sig','1');
INSERT INTO forum_config (config_name, config_value) VALUES ('allow_namechange','0');
INSERT INTO forum_config (config_name, config_value) VALUES ('allow_theme_create','0');
INSERT INTO forum_config (config_name, config_value) VALUES ('allow_avatar_local','0');
INSERT INTO forum_config (config_name, config_value) VALUES ('allow_avatar_remote','0');
INSERT INTO forum_config (config_name, config_value) VALUES ('allow_avatar_upload','0');
INSERT INTO forum_config (config_name, config_value) VALUES ('enable_confirm', '0');
INSERT INTO forum_config (config_name, config_value) VALUES ('allow_autologin','1');
INSERT INTO forum_config (config_name, config_value) VALUES ('max_autologin_time','0');
INSERT INTO forum_config (config_name, config_value) VALUES ('override_user_style','0');
INSERT INTO forum_config (config_name, config_value) VALUES ('posts_per_page','15');
INSERT INTO forum_config (config_name, config_value) VALUES ('topics_per_page','50');
INSERT INTO forum_config (config_name, config_value) VALUES ('hot_threshold','25');
INSERT INTO forum_config (config_name, config_value) VALUES ('max_poll_options','10');
INSERT INTO forum_config (config_name, config_value) VALUES ('max_sig_chars','255');
INSERT INTO forum_config (config_name, config_value) VALUES ('max_inbox_privmsgs','50');
INSERT INTO forum_config (config_name, config_value) VALUES ('max_sentbox_privmsgs','25');
INSERT INTO forum_config (config_name, config_value) VALUES ('max_savebox_privmsgs','50');
INSERT INTO forum_config (config_name, config_value) VALUES ('board_email_sig','Thanks, The Management');
INSERT INTO forum_config (config_name, config_value) VALUES ('board_email','youraddress@yourdomain.com');
INSERT INTO forum_config (config_name, config_value) VALUES ('smtp_delivery','0');
INSERT INTO forum_config (config_name, config_value) VALUES ('smtp_host','');
INSERT INTO forum_config (config_name, config_value) VALUES ('smtp_username','');
INSERT INTO forum_config (config_name, config_value) VALUES ('smtp_password','');
INSERT INTO forum_config (config_name, config_value) VALUES ('sendmail_fix','0');
INSERT INTO forum_config (config_name, config_value) VALUES ('require_activation','0');
INSERT INTO forum_config (config_name, config_value) VALUES ('flood_interval','15');
INSERT INTO forum_config (config_name, config_value) VALUES ('max_login_attempts', '5');
INSERT INTO forum_config (config_name, config_value) VALUES ('login_reset_time', '30');
INSERT INTO forum_config (config_name, config_value) VALUES ('board_email_form','0');
INSERT INTO forum_config (config_name, config_value) VALUES ('avatar_filesize','6144');
INSERT INTO forum_config (config_name, config_value) VALUES ('avatar_max_width','80');
INSERT INTO forum_config (config_name, config_value) VALUES ('avatar_max_height','80');
INSERT INTO forum_config (config_name, config_value) VALUES ('avatar_path','images/avatars');
INSERT INTO forum_config (config_name, config_value) VALUES ('avatar_gallery_path','images/avatars/gallery');
INSERT INTO forum_config (config_name, config_value) VALUES ('smilies_path','images/smiles');
INSERT INTO forum_config (config_name, config_value) VALUES ('default_style','1');
INSERT INTO forum_config (config_name, config_value) VALUES ('default_dateformat','D M d, Y g:i a');
INSERT INTO forum_config (config_name, config_value) VALUES ('board_timezone','0');
INSERT INTO forum_config (config_name, config_value) VALUES ('prune_enable','1');
INSERT INTO forum_config (config_name, config_value) VALUES ('privmsg_disable','0');
INSERT INTO forum_config (config_name, config_value) VALUES ('gzip_compress','0');
INSERT INTO forum_config (config_name, config_value) VALUES ('coppa_fax', '');
INSERT INTO forum_config (config_name, config_value) VALUES ('coppa_mail', '');
INSERT INTO forum_config (config_name, config_value) VALUES ('record_online_users', '0');
INSERT INTO forum_config (config_name, config_value) VALUES ('record_online_date', '0');
INSERT INTO forum_config (config_name, config_value) VALUES ('server_name', 'www.myserver.tld');
INSERT INTO forum_config (config_name, config_value) VALUES ('server_port', '80');
INSERT INTO forum_config (config_name, config_value) VALUES ('script_path', '/phpBB2/');
INSERT INTO forum_config (config_name, config_value) VALUES ('version', '.0.19');
volgens http://www.phpbb.nl/kb.php?mode=article&k=24 STAP 10

Geen gegevens verlies, alleen de instellingen die opnieuw moeten.
... Maar ik modereer (nog) niet.

Gebruikersavatar
Paul
Beheerder
Beheerder
Berichten: 20316
Lid geworden op: 23 okt 2003, 11:38
Locatie: Utrecht
Contacteer:

Bericht door Paul » 01 mar 2006, 17:09

Nee, dat moet niet bee.
Hij moet gewoon in config.php zijn prefix weer naar phpbb_veranderen, dan werkt het goed :)

Gebruikersavatar
XGE_Lithium
Berichten: 1278
Lid geworden op: 26 okt 2005, 19:28
Locatie: Heythuysen
Contacteer:

Bericht door XGE_Lithium » 01 mar 2006, 18:28

paul schreef:Nee, dat moet niet bee.
Hij moet gewoon in config.php zijn prefix weer naar phpbb_veranderen, dan werkt het goed :)
Volgens mij is het nog altijd een zij.
Ik ben veel te lui voor zoiets, ik maak altijd direct nieuwe database aan, en verwijder de oude. De oude bevatte toch verder nog geen gegevens?

Gaialynn
Berichten: 16
Lid geworden op: 01 mar 2006, 11:37

Bericht door Gaialynn » 01 mar 2006, 18:37

Okay, alles geprobeerd wat jullie voorstelde...

Nu zegt ie nog :
  • Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /var/www/vhosts/gaialynn.com/httpdocs/forum/db/mysql4.php on line 330

    Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /var/www/vhosts/gaialynn.com/httpdocs/forum/db/mysql4.php on line 331
    phpBB : Critical Error

    Could not connect to the database
Snappen jullie het nog?
BTW: ja ik ben een zij :lol:
Laatst gewijzigd door Gaialynn op 01 mar 2006, 18:39, 1 keer totaal gewijzigd.

Gebruikersavatar
Paul
Beheerder
Beheerder
Berichten: 20316
Lid geworden op: 23 okt 2003, 11:38
Locatie: Utrecht
Contacteer:

Bericht door Paul » 01 mar 2006, 18:38

Heb je iets anders naast je prefix in config.php aangepast?

Gaialynn
Berichten: 16
Lid geworden op: 01 mar 2006, 11:37

Bericht door Gaialynn » 01 mar 2006, 18:40

Ik heb de prefix weer teruggezet op phpBB_ verder niets veranderd

Gaialynn
Berichten: 16
Lid geworden op: 01 mar 2006, 11:37

Bericht door Gaialynn » 01 mar 2006, 19:15

Ik weet niet wat er nu is gebeurd..... Maar ineens kwam er na de 300 x installatie te staan Voltooi installatie...

Hij doet ut dus!!!

Thnx guys (en girls???) Ik kan nu eindelijk aan de gang!!!

Helemaal blij!!! groetjes, Lynn :thumb: :thumb: :thumb: :thumb:

Gesloten