Pagina 1 van 4
					
				AI PROBLEEM
				Geplaatst: 19 jun 2005, 11:11
				door svenn
				Code: Selecteer alles
Warning: Cannot modify header information - headers already sent in /home/svennson/web/forum/posting.php on line 723
Warning: Cannot modify header information - headers already sent by (output started at /home/svennson/web/forum/posting.php:723) in /home/svennson/web/forum/includes/page_header.php on line 527
Warning: Cannot modify header information - headers already sent by (output started at /home/svennson/web/forum/posting.php:723) in /home/svennson/web/forum/includes/page_header.php on line 533
Warning: Cannot modify header information - headers already sent by (output started at /home/svennson/web/forum/posting.php:723) in /home/svennson/web/forum/includes/page_header.php on line 534
als je post krijg je deze error 
http://www.wmtown.com/forum/posting.txt
help me aub ... paulus ? :d
 
			
					
				
				Geplaatst: 19 jun 2005, 11:35
				door Bee
				
			 
			
					
				fgds
				Geplaatst: 19 jun 2005, 11:36
				door svenn
				hasd ik ook gezien is iets anders
			 
			
					
				hoi
				Geplaatst: 19 jun 2005, 13:08
				door svenn
				zonder dit werk hij niet meer , maar hier vormt zich het probleem kan iemand helpen AUB ???
Code: Selecteer alles
		//
			// Begin IAI system
			//
			// Note: the switch statements here can be quite complicated, so I've used
			// some weird setting out. This helps to show exactly what is going on and
			// allows me to bear down on the problems that were occuring before.
			// Do seed for random replies
			list($usec, $sec) = explode(' ', microtime());
			mt_srand((float) $sec + ((float) $usec * 100000));
			$iai_rand = mt_rand(0, 100);
			// Initial should IAI run check
			$run_iai = 
			(
				(
					$mode == 'newtopic'
					||
					$mode == 'reply'
				) 
				&& 
				(
					$iai_rand <= $board_config['iai_percentage_all']
				) 
				&& 
				(
					$board_config['iai_percentage_all'] != 0
				) 
				&& 
				(
					$board_config['iai_active_all']
				)
			) ? TRUE : FALSE;
			// Check if forum has settings which overide this
			if($post_info['iai_override'])
			{
				$run_iai = (($iai_rand <= $post_info['iai_percentage']) && ($post_info['iai_percentage'] != 0)) ? TRUE : FALSE;
			}
			// If IAI is not currently set to run, then it should find any call words
			// in the post which might overide this.
			// Not in the usual set out, but it allows you to actually understand what's going on.
			if(
				(
					!($run_iai)
				) 
				&&
				( 
					(
						$post_info['iai_override'] 
						&& 
						$post_info['iai_stop_words']
					) 
					|| 
					(
						!($post_info['iai_override']) 
						&& 
						$board_config['iai_active_all']
					)
				)
			)
			{
				// See if there is any match in the respond words array.
				// I know this system is pretty bad (there must be a faster way), but I haven't had much experience with it, so any help would be greatly appreciated
				$res_words = str_replace(", ", ",", $board_config['iai_respond_words']);
				$res_words = str_replace("!", "", $res_words);
				$res_words = str_replace("?", "", $res_words);
				$res_words = str_replace("'", "", $res_words);
				$res_words = str_replace('"', '', $res_words);				
				$res_words = explode(",", $res_words);
				$words = str_replace(".", "", $HTTP_POST_VARS['message']);
				$words = str_replace("!", "", $words);
				$words = str_replace("?", "", $words);
				$words = str_replace(",", "", $words);
				$words = str_replace("'", "", $words);
				$words = str_replace('"', '', $words);
				$words = explode(" ", $words);
				for($i = 0; $i < count($res_words); $i++)
				{
					$words = str_replace($res_words[$i] . " ", " " . $res_words[$i] . " ", $words);
					$words = str_replace(" " . $res_words[$i], " " . $res_words[$i] . " ", $words);
					for($g = 0; $g < count($words); $g++)
					{
						if($res_words[$i] == $words[$g])
						{
							$run_iai = TRUE;
						}
					}
				}
	     		}
			// START IAI response and entry to db (if active)
			if ($run_iai)
			{
				$iai_root_path = $phpbb_root_path . "mods/iai/";
				include($iai_root_path . 'includes/iai_functions.'.$phpEx);
				
				// Initialise variables
				$iai_mode = 'reply';
				$iai_post_id = '';
				$iai_id = $board_config['iai_userid'];
				$iai_subject = '';
				$iai_username = $board_config['iai_username'];
				$iai_topic_type = POST_NORMAL;
				$numselects = 0;
				$user_id = ($userdata['session_logged_in']) ? $userdata['user_id'] : 0;
				// $topic_id should be set already
				$sesh_id = $userdata['session_id']; // should NOT be null in any situation
				$iai_reply_to = str_replace("is " .  $iai_username, "are you", $HTTP_POST_VARS['message']);
				$iai_reply_to = str_replace( $iai_username, "you", $iai_reply_to);
				
				// Get IAI reply
				$iai_reply = reply($iai_reply_to,$user_id,$topic_id,$sesh_id);
				$iai_message = $iai_reply->response;
				// prepare IAI message(IAI may have used html, smilies etc...)
				$bbcode_uid = ( $bbcode_on ) ? make_bbcode_uid() : '';
				$iai_message = str_replace("'", "''", $iai_message);
				$iai_message = prepare_message(trim($iai_message), 0, 1, 1, $bbcode_uid);
				if ( $error_msg == '' && !empty($iai_message) )
				{
					// Submit IAI's response to DB & update stats
					iai_submit_post($iai_mode, $iai_id, $forum_id, $topic_id, $iai_post_id, $iai_topic_type, 1, 1, 1, 1, $bbcode_uid, str_replace("\'", "''", $iai_username), str_replace("\'", "''", $iai_subject), str_replace("\'", "''", $iai_message));
					iai_update_post_stats($forum_id, $topic_id, $iai_post_id, $iai_id);
				}
			}
			// END IAI response and entry to db
			//
			// END IAI system
			//
 
			
					
				
				Geplaatst: 20 jun 2005, 09:47
				door punky
				ik had ook dit probleem en het lag aan me host.
kijk is of je host dit ondersteund
PHP (4.0.4+) compiled --with-mysql and --with-xml and a recent version of MySQL 3.23.xx and Apache. 
 
			
					
				PHP (4.0.4+) compiled --with-mysql and --with-xml and a rece
				Geplaatst: 20 jun 2005, 11:26
				door svenn
				PHP (4.0.4+) ja
compiled geen idee
mysql ja
xml ja vermoed ik wel
MySQL 3.23.xx deze MySQL 4.1.10a
Apache nee Red Hat Linux release 9 (Shrike)
			 
			
					
				
				Geplaatst: 20 jun 2005, 11:30
				door Paul
				Geef is een link naar je phpinfo?
			 
			
					
				http://www.wmtown.com/php.php
				Geplaatst: 20 jun 2005, 12:13
				door svenn
				
			 
			
					
				Re: PHP (4.0.4+) compiled --with-mysql and --with-xml and a
				Geplaatst: 20 jun 2005, 12:16
				door Paul
				svennson schreef:PHP (4.0.4+) ja
mysql ja
xml Heb je ja 

MySQL 3.23.xx deze MySQL 4.1.10a
Apache nee Red Hat Linux release 9 (Shrike) Fout, deze draait wel op apache, om precies te zijn apache 2 
 
 
 
			
					
				Re: PHP (4.0.4+) compiled --with-mysql and --with-xml and a
				Geplaatst: 20 jun 2005, 12:16
				door svenn
				paulus schreef:svennson schreef:PHP (4.0.4+) ja
mysql ja
xml Heb je ja 

MySQL 3.23.xx deze MySQL 4.1.10a
Apache nee Red Hat Linux release 9 (Shrike) Fout, deze draait wel op apache, om precies te zijn apache 2 
 
 
 
Apache 2.0 Handler  ik leer bij 

 waar kan het dan nog aan liggen ?
 
			
					
				
				Geplaatst: 20 jun 2005, 12:17
				door Paul
				Waarop benk betrapt? Ik geef je gewoon netjes antwoord 

 
			
					
				sorry
				Geplaatst: 20 jun 2005, 12:18
				door svenn
				paulus schreef:Waarop benk betrapt? Ik geef je gewoon netjes antwoord 

 
sorry zag niet dat je de quote had geedit ik zet dan altijd in het vet sorrrrrrry biertje? 
 
aan wat ligt het dan ?
 
			
					
				
				Geplaatst: 20 jun 2005, 12:19
				door Paul
				Het zou toch aan xml kunnen liggen, dat hij niet kan parsen. ALs  je de bron bekijkt, van de postinge pagina, wat staat dan boven de fout?
			 
			
					
				bon
				Geplaatst: 20 jun 2005, 12:28
				door svenn
				bekijken
Code: Selecteer alles
Warning: Cannot modify header information - headers already sent in /home/svennson/web/forum/posting.php on line 724
Warning: Cannot modify header information - headers already sent by (output started at /home/svennson/web/forum/posting.php:724) in /home/svennson/web/forum/includes/page_header.php on line 520
Warning: Cannot modify header information - headers already sent by (output started at /home/svennson/web/forum/posting.php:724) in /home/svennson/web/forum/includes/page_header.php on line 522
Warning: Cannot modify header information - headers already sent by (output started at /home/svennson/web/forum/posting.php:724) in /home/svennson/web/forum/includes/page_header.php on line 523
bron
Code: Selecteer alles
<br />
<b>Warning</b>:  Cannot modify header information - headers already sent in <b>/home/svennson/web/forum/posting.php</b> on line <b>724</b><br />
<br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /home/svennson/web/forum/posting.php:724) in <b>/home/svennson/web/forum/includes/page_header.php</b> on line <b>520</b><br />
<br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /home/svennson/web/forum/posting.php:724) in <b>/home/svennson/web/forum/includes/page_header.php</b> on line <b>522</b><br />
<br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /home/svennson/web/forum/posting.php:724) in <b>/home/svennson/web/forum/includes/page_header.php</b> on line <b>523</b><br />
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
 
			
					
				
				Geplaatst: 20 jun 2005, 12:29
				door Paul
				Er staat verder geen lege regel boven? En kun je aangeven wat regel 724 van posting.php is?
			 
			
					
				setcookie($board_config['cookie_name'] . '_t', serialize(
				Geplaatst: 20 jun 2005, 12:41
				door svenn
				Code: Selecteer alles
			setcookie($board_config['cookie_name'] . '_t', serialize($tracking_topics), 0, $board_config['cookie_path'], $board_config['cookie_domain'], $board_config['cookie_secure']);
heb al vanalales geprobeert
 
			
					
				
				Geplaatst: 20 jun 2005, 12:44
				door Paul
				das logische dat hij daar een header verstuurt, maar snap niet waarom hij daarom een foutmelding geeft.
			 
			
					
				tjah
				Geplaatst: 20 jun 2005, 12:45
				door svenn
				
			 
			
					
				
				Geplaatst: 20 jun 2005, 17:51
				door svenn
				Code: Selecteer alles
Notice: Constant PHPBB_INSTALLED already defined in /home/svennson/web/forum/config.php on line 16
Notice: Undefined offset: 0 in /home/svennson/web/forum/mods/iai/includes/iai_functions.php on line 102
Notice: Undefined offset: 0 in /home/svennson/web/forum/mods/iai/includes/iai_functions.php on line 106
Notice: Undefined offset: 0 in /home/svennson/web/forum/mods/iai/includes/iai_functions.php on line 108
Notice: Undefined offset: 0 in /home/svennson/web/forum/mods/iai/includes/iai_functions.php on line 115
Notice: Undefined offset: 0 in /home/svennson/web/forum/mods/iai/includes/iai_functions.php on line 117
Notice: Use of undefined constant HAS_DIED - assumed 'HAS_DIED' in /home/svennson/web/forum/includes/functions.php on line 581
Notice: Undefined variable: page_title in /home/svennson/web/forum/includes/page_header.php on line 394
Warning: Cannot modify header information - headers already sent by (output started at /home/svennson/web/forum/config.php:16) in /home/svennson/web/forum/includes/page_header.php on line 520
Warning: Cannot modify header information - headers already sent by (output started at /home/svennson/web/forum/config.php:16) in /home/svennson/web/forum/includes/page_header.php on line 522
Warning: Cannot modify header information - headers already sent by (output started at /home/svennson/web/forum/config.php:16) in /home/svennson/web/forum/includes/page_header.php on line 523
kun je hier iets mee ?
 
			
					
				
				Geplaatst: 20 jun 2005, 17:53
				door Paul
				Code: Selecteer alles
Notice: Undefined offset: 0 in /home/svennson/web/forum/mods/iai/includes/iai_functions.php on line 102
Notice: Undefined offset: 0 in /home/svennson/web/forum/mods/iai/includes/iai_functions.php on line 106
Notice: Undefined offset: 0 in /home/svennson/web/forum/mods/iai/includes/iai_functions.php on line 108
Notice: Undefined offset: 0 in /home/svennson/web/forum/mods/iai/includes/iai_functions.php on line 115
Notice: Undefined offset: 0 in /home/svennson/web/forum/mods/iai/includes/iai_functions.php on line 117 
Geef daar is wat regels boven en onder?