Installatie lukt niet? Plotseling een foutmelding. Of weet je niet hoe iets werkt. Problemen met phpBB2 kun je in dit archief opzoeken.
Forumregels
Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
-
Ophelia
- Berichten: 7
- Lid geworden op: 10 feb 2004, 12:55
Bericht
door Ophelia » 10 feb 2004, 13:00
Hallo!
Ik heb de hele installatie volgens de gebruiksaanwijzing doorlopen, maar als ik nu mijn forum probeer te openen (
http://www.filopsychopeut.nl/raganorck/index.php) krijg ik deze beeldschone error:
Parse error: parse error in /home/filopsyc/public_html/raganorck/includes/auth.php on line 297
Warning: Cannot modify header information - headers already sent by (output started at /home/filopsyc/public_html/raganorck/includes/auth.php:297) in /home/filopsyc/public_html/raganorck/includes/sessions.php on line 182
Warning: Cannot modify header information - headers already sent by (output started at /home/filopsyc/public_html/raganorck/includes/auth.php:297) in /home/filopsyc/public_html/raganorck/includes/sessions.php on line 183
Warning: Cannot modify header information - headers already sent by (output started at /home/filopsyc/public_html/raganorck/includes/auth.php:297) in /home/filopsyc/public_html/raganorck/includes/page_header.php on line 474
Warning: Cannot modify header information - headers already sent by (output started at /home/filopsyc/public_html/raganorck/includes/auth.php:297) in /home/filopsyc/public_html/raganorck/includes/page_header.php on line 476
Warning: Cannot modify header information - headers already sent by (output started at /home/filopsyc/public_html/raganorck/includes/auth.php:297) in /home/filopsyc/public_html/raganorck/includes/page_header.php on line 477
Als ik probeer in te loggen voegt hij er nog aan toe:
Parse error: parse error in /home/filopsyc/public_html/raganorck/includes/auth.php on line 297
Warning: Cannot modify header information - headers already sent by (output started at /home/filopsyc/public_html/raganorck/includes/auth.php:297) in /home/filopsyc/public_html/raganorck/includes/sessions.php on line 182
Warning: Cannot modify header information - headers already sent by (output started at /home/filopsyc/public_html/raganorck/includes/auth.php:297) in /home/filopsyc/public_html/raganorck/includes/sessions.php on line 183
Warning: Cannot modify header information - headers already sent by (output started at /home/filopsyc/public_html/raganorck/includes/auth.php:297) in /home/filopsyc/public_html/raganorck/includes/sessions.php on line 182
Warning: Cannot modify header information - headers already sent by (output started at /home/filopsyc/public_html/raganorck/includes/auth.php:297) in /home/filopsyc/public_html/raganorck/includes/sessions.php on line 183
Warning: Cannot modify header information - headers already sent by (output started at /home/filopsyc/public_html/raganorck/includes/auth.php:297) in /home/filopsyc/public_html/raganorck/includes/functions.php on line 763
Weet iemand wat hier aan de hand is? Ik heb al geprobeerd auth.php opnieuw te uploaden, maar dat maakt geen enkel verschil.
~ Ophelia
-
WebSiteNet
- Berichten: 6524
- Lid geworden op: 20 okt 2003, 16:56
- Locatie: Wieringerwerf
-
Contacteer:
Bericht
door WebSiteNet » 10 feb 2004, 13:59
Hoe ziet regel 293 t/m 324 er uit? Het hoort zo:
Code: Selecteer alles
function auth_check_user($type, $key, $u_access, $is_admin)
{
$auth_user = 0;
if ( count($u_access) )
{
for($j = 0; $j < count($u_access); $j++)
{
$result = 0;
switch($type)
{
case AUTH_ACL:
$result = $u_access[$j][$key];
case AUTH_MOD:
$result = $result || $u_access[$j]['auth_mod'];
case AUTH_ADMIN:
$result = $result || $is_admin;
break;
}
$auth_user = $auth_user || $result;
}
}
else
{
$auth_user = $is_admin;
}
return $auth_user;
}
-
Ophelia
- Berichten: 7
- Lid geworden op: 10 feb 2004, 12:55
Bericht
door Ophelia » 10 feb 2004, 14:37
Als ik de originele regels vervang door die jij gegeven hebt, verdwijnt de hele pagina (
http://www.filopsychopeut.nl/raganorck/) op deze error na:
Parse error: parse error in /home/filopsyc/public_html/raganorck/includes/auth.php on line 284
Warning: Cannot modify header information - headers already sent by (output started at /home/filopsyc/public_html/raganorck/includes/auth.php:284) in /home/filopsyc/public_html/raganorck/includes/sessions.php on line 182
Warning: Cannot modify header information - headers already sent by (output started at /home/filopsyc/public_html/raganorck/includes/auth.php:284) in /home/filopsyc/public_html/raganorck/includes/sessions.php on line 183
Fatal error: Call to undefined function: auth() in /home/filopsyc/public_html/raganorck/index.php on line 249
-
Ophelia
- Berichten: 7
- Lid geworden op: 10 feb 2004, 12:55
Bericht
door Ophelia » 10 feb 2004, 14:55
Ik heb het probleem gevonden: Coffeecup, mijn ftp programma, schijnt iets eigenaardigs te hebben gedaan met het auth.php bestand. Als ik het handmatig naar mijn domein schrijf, is er helemaal niets aan de hand

-
Fok!
Bericht
door Fok! » 12 feb 2004, 18:34
Sinds enkele dagen is mijn forum van slag. Hij geeft ineens allerlei errors weer die hij voorheen nooit gaf.
De meest actuele is:
Code: Selecteer alles
Parse error: parse error, unexpected T_STRING, expecting ']' in /www/htdocs/bach/forum/includes/auth.php on line 265
Fatal error: Call to undefined function: auth() in /www/htdocs/bach/forum/index.php on line 261
Als ik dan naar regel 265 ga in het bestand auth.php, dan zie ik geen ontbrekende ]
Wie weet wat het probleem wél kan zijn?
Daarnaast: hij geeft deze error dus niet met regelmaat, maar juist heel onregelmatig. Ik kan ook daar dus niets uit aflijden...
Inmiddels wel ontdekt dat je gelijk uitgelogd bent als je een paar keer op vernieuwen hebt gedrukt en uiteindelijk dus wel weer 'beeld' hebt.
-
WebSiteNet
- Berichten: 6524
- Lid geworden op: 20 okt 2003, 16:56
- Locatie: Wieringerwerf
-
Contacteer:
Bericht
door WebSiteNet » 12 feb 2004, 18:38
In standaard 2.0.6 staat er op/rond die lijn dit:
Code: Selecteer alles
case AUTH_ADMIN:
$auth_user[$f_forum_id][$key] = $is_admin;
$auth_user[$f_forum_id][$key . '_type'] = $lang['Auth_Administrators'];
break;
Is dat bij jouw ook zo?
-
Fok!
Bericht
door Fok! » 12 feb 2004, 18:49
Dat staat bij mij een paar regels lager.
Het gaat volgens de error om de volgende coderegel(s):
Code: Selecteer alles
case AUTH_ACL:
$auth_user[$f_forum_id][$key] = ( $userdata['session_logged_in'] ) ? auth_check_user(AUTH_ACL, $key, $u_access[$f_forum_id], $is_admin) : 0;
$auth_user[$f_forum_id][$key . '_type'] = $lang['Auth_Users_granted_access'];
break;
-
WebSiteNet
- Berichten: 6524
- Lid geworden op: 20 okt 2003, 16:56
- Locatie: Wieringerwerf
-
Contacteer:
Bericht
door WebSiteNet » 12 feb 2004, 18:52
Geef dat hele stukje eeens. Met wat je gaf is niks mis
-
Fok!
Bericht
door Fok! » 12 feb 2004, 18:55
Dat zei ik dus ook al tegen de computer, maar hij gelooft me niet en blijft de foutmelding ONREGELMATIG geven...
Het 'hele stuk':
Code: Selecteer alles
else
{
for($k = 0; $k < count($f_access); $k++)
{
$value = $f_access[$k][$key];
$f_forum_id = $f_access[$k]['forum_id'];
switch( $value )
{
case AUTH_ALL:
$auth_user[$f_forum_id][$key] = TRUE;
$auth_user[$f_forum_id][$key . '_type'] = $lang['Auth_Anonymous_users'];
break;
case AUTH_REG:
$auth_user[$f_forum_id][$key] = ( $userdata['session_logged_in'] ) ? TRUE : 0;
$auth_user[$f_forum_id][$key . '_type'] = $lang['Auth_Registered_Users'];
break;
case AUTH_ACL:
$auth_user[$f_forum_id][$key] = ( $userdata['session_logged_in'] ) ? auth_check_user(AUTH_ACL, $key, $u_access[$f_forum_id], $is_admin) : 0;
$auth_user[$f_forum_id][$key . '_type'] = $lang['Auth_Users_granted_access'];
break;
case AUTH_MOD:
$auth_user[$f_forum_id][$key] = ( $userdata['session_logged_in'] ) ? auth_check_user(AUTH_MOD, 'auth_mod', $u_access[$f_forum_id], $is_admin) : 0;
$auth_user[$f_forum_id][$key . '_type'] = $lang['Auth_Moderators'];
break;
case AUTH_ADMIN:
$auth_user[$f_forum_id][$key] = $is_admin;
$auth_user[$f_forum_id][$key . '_type'] = $lang['Auth_Administrators'];
break;
default:
$auth_user[$f_forum_id][$key] = 0;
break;
}
}
}
Als je meer wilt moeten we maar gaan mailen denk ik....

-
Ophelia
- Berichten: 7
- Lid geworden op: 10 feb 2004, 12:55
Bericht
door Ophelia » 12 feb 2004, 20:21
Bij mij lag het dus aan mijn FTP programma, Coffeecup. Als ik alle bestanden met de hand upload, is er helemaal niets aan de hand

Snap er weinig van, in ieder geval is mijn probleem opgelost.
-
Fok!
Bericht
door Fok! » 13 feb 2004, 00:06
Ik gebruik WS_FTP Pro. Ik heb het hele bestand zojuist van de server getrokken en opnieuw opgeladen. Het LIJKT nu goed te werken...
Met nadruk op lijkt....