Du befindest Dich im Archiv vom ABAKUS Online Marketing Forum. Hier kannst Du Dich für das Forum mit den aktuellen Beiträgen registrieren.

Php-Problem

Ajax, Hijax, Microformats, RDF, Markup, HTML, PHP, CSS, MySQL, htaccess, robots.txt, CGI, Java, Javascript usw.
Neues Thema Antworten
tomtom84
PostRank 2
PostRank 2
Beiträge: 37
Registriert: 18.10.2006, 12:02
Wohnort: Frankfurt am Main

Beitrag von tomtom84 » 19.08.2007, 15:46

Hallo zusammen,
ich wollte heute auf meinen phpbb-forum den "singlemod" installieren. Jetzt hab ich 4 verschiedene Error-Medungen. Ich wäre echt dankbar, wenn jemand über die Code-ausschnitte drüberschauen würde. Bin nicht so versiert in Php. Vielen, vielen dank im Vorraus!!!

also, wenn ich mein eigenes Profil aufrufen möchte oder mich registrieren:

Parse error: syntax error, unexpected ';' in /is/htdocs/wp1066766_EGVMMEC266/www/Forum/phpBB2-2.0.22-deutsch/phpBB2/includes/usercp_register.php on line 136

130. {
131. if ( !empty($HTTP_POST_VARS[$param]) )
132. {
133. $$var = trim($HTTP_POST_VARS[$param]);
134. }
135. }
136.
137. $signature = (isset($signature)) ? str_replace(// Start add - Single MOD
138. $single = ( isset($HTTP_POST_VARS['single']) ) ? intval ($HTTP_POST_VARS['single']) : 0;
139. // End add - Single MOD
140. '<br />', "\n", $signature) : '';
141. $signature_bbcode_uid = '';
142.
143. // Run some validation on the optional fields. These are pass-by-ref, so they'll be changed to
144. // empty strings if they fail.


wenn ich mir Forenbeiträge anschauen will:

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /is/htdocs/wp1066766_EGVMMEC266/www/Forum/phpBB2-2.0.22-deutsch/phpBB2/viewtopic.php on line 894


882. $poster_rank = '';
883. $rank_image = "; // Start add - Single MOD
884. $single_image = '';
885. // End add - Single MOD
886. if ( $postrow[$i]['user_id'] == ANONYMOUS )
887. {
888. }
889. else if ( $postrow[$i]['user_rank'] )
890. {
891. for($j = 0; $j < count($ranksrow); $j++)
892. {
893. if ( $postrow[$i]['user_rank'] == $ranksrow[$j]['rank_id'] && $ranksrow[$j]['rank_special'] )
894. {
895. $poster_rank = $ranksrow[$j]['rank_title'];
896. $rank_image = ( $ranksrow[$j]['rank_image'] ) ? '<img src="' . $ranksrow[$j]['rank_image'] . '"
alt="' . $poster_rank . '" title="' . $poster_rank . '" border="0" /><br />' : '';
897. }
898. }
899. }
900. else


wenn ich mir das Profil eines Users anschauen will:

Parse error: syntax error, unexpected T_DOUBLE_ARROW, expecting ')' in /is/htdocs/wp1066766_EGVMMEC266/www/Forum/phpBB2-2.0.22-deutsch/phpBB2/includes/usercp_viewprofile.php on line 229

228. 'LOCATION' => ( $profiledata['user_from'] ) ? $profiledata['user_from'] : '&nbsp;',
229. 'OCCUPATION' => ( $profiledata['user_occ'] ) ? $profiledata['user_occ'] : '&nbsp;',
230. 'INTERESTS' =>// Start add - Single MOD
231. 'SINGLE' => $single,
232. // End add - Single MOD ( $profiledata['user_interests'] ) ? $profiledata['user_interests'] : '&nbsp;',
233. 'AVATAR_IMG' => $avatar_img,


wenn ich den Administrationsbereich besuche:

Parse error: syntax error, unexpected T_VARIABLE in /is/htdocs/wp1066766_EGVMMEC266/www/Forum/phpBB2-2.0.22-deutsch/phpBB2/admin/admin_users.php on line 249


247. $website = ( !empty($HTTP_POST_VARS['website']) ) ? trim(strip_tags( $HTTP_POST_VARS['website'] ) ) : '';
248. $location = ( !empty($HTTP_POST_VARS['location']) ) ? trim(strip_tags( $HTTP_POST_VARS['location'] ) ) : '';
249. $occupation = ( !empty($HTTP_POST_VARS['occupation']) ) ? trim(strip_tags( $HTTP_POST_VARS['occupation'] ) ) : '';
250. $interests = ( !empty($HTTP_POST_VARS['interests']) ) // Start add - Single MOD
251. $single = ( isset($HTTP_POST_VARS['single']) ) ? intval ($HTTP_POST_VARS['single']) : 0;
252. // End add - Single MOD ? trim(strip_tags( $HTTP_POST_VARS['interests'] ) ) : '';
253. $signature = ( !empty($HTTP_POST_VARS['signature']) ) ? trim(str_replace('<br />', "\n", $HTTP_POST_VARS['signature'] ) ) : '';