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.
-
Bono
- Berichten: 58
- Lid geworden op: 14 mar 2004, 17:26
Bericht
door Bono » 27 mar 2004, 16:10
Als ik naar de administratiepaneel ga dan krijg ik linksboven in het scherm dit bericht:
Parse error: parse error in /home/virtual/site37/fst/var/www/html/phpBB2/admin/admin_users.php on line 235
Nu merk is dat ik niks meer met de gebruikers kan doen (dus geen naam wijzigen, andere rank geven etc) die optie is namelijk compleet verdwenen.
Ik heb al gekeken in het bestand wat er nu mis zou kunnen zijn maar ik kan het probleem niet vinden..
What to do?
-
Luuk
- Berichten: 7311
- Lid geworden op: 22 okt 2003, 10:07
- Locatie: Delft
Bericht
door Luuk » 27 mar 2004, 16:11
geef regel 230-240 eens van admin/admin_users.php
-
Bono
- Berichten: 58
- Lid geworden op: 14 mar 2004, 17:26
Bericht
door Bono » 27 mar 2004, 16:16
$website = ( !empty($HTTP_POST_VARS['website']) ) ? trim(strip_tags( $HTTP_POST_VARS['website'] ) ) : '';
$location = ( !empty($HTTP_POST_VARS['location']) ) ? trim(strip_tags( $HTTP_POST_VARS['location'] ) ) : '';
$occupation = ( !empty($HTTP_POST_VARS['occupation']) ) ? trim(strip_tags( $HTTP_POST_VARS['occupation'] ) ) : '';
$interests = ( !empty($HTTP_POST_VARS['interests']) ) ? trim(strip_tags( $HTTP_POST_VARS['interests'] ) ) : '';
$gender = ( isset($HTTP_POST_VARS['gender']) ) ? $HTTP_POST_VARS['gender']
$signature = ( !empty($HTTP_POST_VARS['signature']) ) ? trim(str_replace('<br />', "\n", $HTTP_POST_VARS['signature'] ) ) : '';
validate_optional_fields($icq, $aim, $msn, $yim, $website, $location, $occupation, $interests, $signature);
$viewemail = ( isset( $HTTP_POST_VARS['viewemail']) ) ? ( ( $HTTP_POST_VARS['viewemail'] ) ? TRUE : 0 ) : 0;
$allowviewonline = ( isset( $HTTP_POST_VARS['hideonline']) ) ? ( ( $HTTP_POST_VARS['hideonline'] ) ? 0 : TRUE ) : TRUE;
-
RobinTown
- Berichten: 726
- Lid geworden op: 17 jan 2004, 17:28
-
Contacteer:
Bericht
door RobinTown » 27 mar 2004, 16:20
heb je het geupdate naar 2.0.8?
-
Bono
- Berichten: 58
- Lid geworden op: 14 mar 2004, 17:26
Bericht
door Bono » 27 mar 2004, 16:22
Nee, dit is nog versie 2.0.6

-
Luuk
- Berichten: 7311
- Lid geworden op: 22 okt 2003, 10:07
- Locatie: Delft
Bericht
door Luuk » 27 mar 2004, 16:24
Vervang dat es met:
website = ( !empty($HTTP_POST_VARS['website']) ) ? trim(strip_tags( $HTTP_POST_VARS['website'] ) ) : '';
$location = ( !empty($HTTP_POST_VARS['location']) ) ? trim(strip_tags( $HTTP_POST_VARS['location'] ) ) : '';
$occupation = ( !empty($HTTP_POST_VARS['occupation']) ) ? trim(strip_tags( $HTTP_POST_VARS['occupation'] ) ) : '';
$interests = ( !empty($HTTP_POST_VARS['interests']) ) ? trim(strip_tags( $HTTP_POST_VARS['interests'] ) ) : '';
$gender = ( isset($HTTP_POST_VARS['gender']) ) ? $HTTP_POST_VARS['gender'];
$signature = ( !empty($HTTP_POST_VARS['signature']) ) ? trim(str_replace('<br />', "\n", $HTTP_POST_VARS['signature'] ) ) : '';
validate_optional_fields($icq, $aim, $msn, $yim, $website, $location, $occupation, $interests, $signature);
$viewemail = ( isset( $HTTP_POST_VARS['viewemail']) ) ? ( ( $HTTP_POST_VARS['viewemail'] ) ? TRUE : 0 ) : 0;
$allowviewonline = ( isset( $HTTP_POST_VARS['hideonline']) ) ? ( ( $HTTP_POST_VARS['hideonline'] ) ? 0 : TRUE ) : TRUE;
Laatst gewijzigd door
Luuk op 27 mar 2004, 16:27, 1 keer totaal gewijzigd.
-
Bono
- Berichten: 58
- Lid geworden op: 14 mar 2004, 17:26
Bericht
door Bono » 27 mar 2004, 16:26
Dan krijg ik:
Parse error: parse error in /home/virtual/site37/fst/var/www/html/phpBB2/admin/admin_users.php on line 230
-
Luuk
- Berichten: 7311
- Lid geworden op: 22 okt 2003, 10:07
- Locatie: Delft
Bericht
door Luuk » 27 mar 2004, 16:28
En zo?
website = ( !empty($HTTP_POST_VARS['website']) ) ? trim(strip_tags( $HTTP_POST_VARS['website'] ) ) : '';
$location = ( !empty($HTTP_POST_VARS['location']) ) ? trim(strip_tags( $HTTP_POST_VARS['location'] ) ) : '';
$occupation = ( !empty($HTTP_POST_VARS['occupation']) ) ? trim(strip_tags( $HTTP_POST_VARS['occupation'] ) ) : '';
$interests = ( !empty($HTTP_POST_VARS['interests']) ) ? trim(strip_tags( $HTTP_POST_VARS['interests'] ) ) : '';
$gender = ( isset($HTTP_POST_VARS['gender']) ) ? ( ( $HTTP_POST_VARS['gender'] ) ? TRUE : 0 ) :0;
$signature = ( !empty($HTTP_POST_VARS['signature']) ) ? trim(str_replace('<br />', "\n", $HTTP_POST_VARS['signature'] ) ) : '';
validate_optional_fields($icq, $aim, $msn, $yim, $website, $location, $occupation, $interests, $signature);
$viewemail = ( isset( $HTTP_POST_VARS['viewemail']) ) ? ( ( $HTTP_POST_VARS['viewemail'] ) ? TRUE : 0 ) : 0;
$allowviewonline = ( isset( $HTTP_POST_VARS['hideonline']) ) ? ( ( $HTTP_POST_VARS['hideonline'] ) ? 0 : TRUE ) : TRUE;

-
Bono
- Berichten: 58
- Lid geworden op: 14 mar 2004, 17:26
Bericht
door Bono » 27 mar 2004, 16:31
Nog steeds die error
-
Duvelske
- Berichten: 656
- Lid geworden op: 19 okt 2003, 16:05
- Locatie: st willebrord
-
Contacteer:
Bericht
door Duvelske » 27 mar 2004, 19:15
Heb je pas een mod geinstalleerd? die dat toevallig aanpast? (denk dat je de gender mod niet goed hebt) Het zou normaal gesproken zo moeten zijn:
Code: Selecteer alles
$website = ( !empty($HTTP_POST_VARS['website']) ) ? trim(strip_tags( $HTTP_POST_VARS['website'] ) ) : '';
$location = ( !empty($HTTP_POST_VARS['location']) ) ? trim(strip_tags( $HTTP_POST_VARS['location'] ) ) : '';
$occupation = ( !empty($HTTP_POST_VARS['occupation']) ) ? trim(strip_tags( $HTTP_POST_VARS['occupation'] ) ) : '';
$interests = ( !empty($HTTP_POST_VARS['interests']) ) ? trim(strip_tags( $HTTP_POST_VARS['interests'] ) ) : '';
// Start add - Gender MOD
$gender = ( isset($HTTP_POST_VARS['gender']) ) ? intval ($HTTP_POST_VARS['gender']) : 0;
// End add - Gender MOD
in (phpbb 2.0.8)
-
hellcaster
- Berichten: 3
- Lid geworden op: 27 mar 2004, 20:45
Bericht
door hellcaster » 27 mar 2004, 20:54
Luuk schreef:En zo?
website = ( !empty($HTTP_POST_VARS['website']) ) ? trim(strip_tags( $HTTP_POST_VARS['website'] ) ) : '';
$location = ( !empty($HTTP_POST_VARS['location']) ) ? trim(strip_tags( $HTTP_POST_VARS['location'] ) ) : '';
$occupation = ( !empty($HTTP_POST_VARS['occupation']) ) ? trim(strip_tags( $HTTP_POST_VARS['occupation'] ) ) : '';
$interests = ( !empty($HTTP_POST_VARS['interests']) ) ? trim(strip_tags( $HTTP_POST_VARS['interests'] ) ) : '';
$gender = ( isset($HTTP_POST_VARS['gender']) ) ? ( ( $HTTP_POST_VARS['gender'] ) ? TRUE : 0 ) :0;
$signature = ( !empty($HTTP_POST_VARS['signature']) ) ? trim(str_replace('<br />', "\n", $HTTP_POST_VARS['signature'] ) ) : '';
validate_optional_fields($icq, $aim, $msn, $yim, $website, $location, $occupation, $interests, $signature);
$viewemail = ( isset( $HTTP_POST_VARS['viewemail']) ) ? ( ( $HTTP_POST_VARS['viewemail'] ) ? TRUE : 0 ) : 0;
$allowviewonline = ( isset( $HTTP_POST_VARS['hideonline']) ) ? ( ( $HTTP_POST_VARS['hideonline'] ) ? 0 : TRUE ) : TRUE;
eehhm zal wel aan mij liggen maar je bent een $ vergeten bij website => $website
-
Luuk
- Berichten: 7311
- Lid geworden op: 22 okt 2003, 10:07
- Locatie: Delft
Bericht
door Luuk » 27 mar 2004, 23:13
Idd, niet gezien. Heb k maar half gekopieerd.