Pagina 1 van 1

Forum offline: SQL ERROR

Geplaatst: 08 jan 2009, 18:57
door Bellewaerdeboy
  • Adres van je forum: http://www.bellewaerdefun.be/forum
    Event. modificaties op je forum: Nee
    Wanneer ontstond het probleem? 3 dagen geleden
    phpBB versie: 3.0.2

    Heb je onlangs iets veranderd aan je forum? Nee
    Wat is het probleem?
Enkele dagen terug kreeg ik de volgende melding op m'n forum:

General Error
SQL ERROR [ mysql4 ]
Access denied for user 'sam_clauw'@'asp1' (using password: YES) [1045]
An sql error occurred while fetching this page. Please contact an administrator if this problem persists.


Iemand enig idee wat dit wil zeggen? Ik heb in mijn website een connectie proberen te maken met m'n forumdatabase, misschien is het daardoor wel foutgelopen? Ikzelf denk dat het met het passwoord ofzo te maken heeft. Indien ja: hoe kun je dat dan terug in orde krijgen? Bedankt alvast!

Re: Forum offline: SQL ERROR

Geplaatst: 08 jan 2009, 19:24
door Pascal
Je kunt proberen om een nieuwe config.php te maken,

http://www.phpbb.nl/hulpmiddelen/config_gen

Re: Forum offline: SQL ERROR

Geplaatst: 08 jan 2009, 20:06
door Bellewaerdeboy
Bedankt!
Ik (en andere gebruikers) hebben nu enkel nog problemen met sessie ofzo: volgende foutmelding verschijnt op het forum:

Code: Selecteer alles

[phpBB Debug] PHP Notice: in file /includes/session.php on line 942: Cannot modify header information - headers already sent by (output started at /config.php:1)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 942: Cannot modify header information - headers already sent by (output started at /config.php:1)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 942: Cannot modify header information - headers already sent by (output started at /config.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3545: Cannot modify header information - headers already sent by (output started at /config.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3547: Cannot modify header information - headers already sent by (output started at /config.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3548: Cannot modify header information - headers already sent by (output started at /config.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3549: Cannot modify header information - headers already sent by (output started at /config.php:1)
Regel 942 @ includes/session.php

Code: Selecteer alles

header('Set-Cookie: ' . $name_data . (($cookietime) ? '; expires=' . $expire : '') . '; path=' . $config['cookie_path'] . $domain . ((!$config['cookie_secure']) ? '' : '; secure') . '; HttpOnly', false);
Regels 3545 - 3549 @ includes/functions.php

Code: Selecteer alles

header('Content-type: text/html; charset=UTF-8');

header('Cache-Control: private, no-cache="set-cookie"');
header('Expires: 0');
header('Pragma: no-cache');
Welke header zou er dan wel al verstuurd zijn? Ik begrijp het niet zo goed eerlijk gezegd :)

Re: Forum offline: SQL ERROR

Geplaatst: 08 jan 2009, 20:10
door Jim
Staan er misschien spaties voor <?php op de allereerste regel in config.php? Als die er staan, moet je ze even weghalen.

Re: Forum offline: SQL ERROR

Geplaatst: 08 jan 2009, 20:14
door Bellewaerdeboy
Bedankt om ons uit de penarie te helpen hoor!
Die spatie heeft het inderdaad gedaan. En ik maar zoeken :P