header probleem
Geplaatst: 15 dec 2008, 16:52
- Adres van je forum: http://www.betinfo.nl
Event. modificaties op je forum: geen
Wanneer ontstond het probleem? na instaleren
phpBB versie: 3.0.3
Heb je onlangs iets veranderd aan je forum?
Wat is het probleem?
Elke keer als iemand een bericht post (dus op bericht plaatsen klikt) komt er een error te staan, waarna je naar de door jou geplaatste bericht wordt terug gestuurd. Dit is sinds ik alles heb geinstalleerd en de back-up heb geplaatst.
Dit is de error
Code: Selecteer alles
phpBB Debug] PHP Notice: in file /includes/functions_posting.php on line 2493: mysql_query() [function.mysql-query]: Access denied for user 'xxxx'@'localhost' (using password: NO)
[phpBB Debug] PHP Notice: in file /includes/functions_posting.php on line 2493: mysql_query() [function.mysql-query]: A link to the server could not be established
[phpBB Debug] PHP Notice: in file /includes/functions_posting.php on line 2497: mysql_fetch_array(): supplied argument is not a valid MySQL result resource
Warning: Cannot modify header information - headers already sent by (output started at /home/betinfo/public_html/forum/includes/functions.php:3153) in /home/betinfo/public_html/forum/includes/functions.php on line 3729
Warning: Cannot modify header information - headers already sent by (output started at /home/betinfo/public_html/forum/includes/functions.php:3153) in /home/betinfo/public_html/forum/includes/functions.php on line 3731
Warning: Cannot modify header information - headers already sent by (output started at /home/betinfo/public_html/forum/includes/functions.php:3153) in /home/betinfo/public_html/forum/includes/functions.php on line 3732
Warning: Cannot modify header information - headers already sent by (output started at /home/betinfo/public_html/forum/includes/functions.php:3153) in /home/betinfo/public_html/forum/includes/functions.php on line 3733
Op regel 3153 van functions.php staat
$errfile = str_replace(array(phpbb_realpath($phpbb_root_path), '\\'), array('', '/'), $errfile);
En de regels 3729 t/m 3733 zijn
// application/xhtml+xml not used because of IE
header('Content-type: text/html; charset=UTF-8');
header('Cache-Control: private, no-cache="set-cookie"');
header('Expires: 0');
In functions_posting.php staat op regel 2493
$a = mysql_query($n);
----------------------------------------------------------------------
Wat doe ik fout en moet ik eventueel aanpassen