AI PROBLEEM

Hulp nodig bij een modificaties of op zoek naar een MOD? Bekijk ons archief. Support wordt helaas niet meer verleend.
Forumregels

Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
phpBB2.0.x
svenn
Berichten: 5001
Lid geworden op: 14 jul 2004, 13:00
Locatie: Kortrijk
Contacteer:

AI PROBLEEM

Bericht door svenn » 19 jun 2005, 11:11

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

Gebruikersavatar
Bee
Berichten: 13403
Lid geworden op: 29 aug 2004, 10:30

Bericht door Bee » 19 jun 2005, 11:35

http://www.phpbb.nl/viewtopic.php?t=20454&highlight= :idea:

Alle ruimtes voor spaties enzo al doorgekeken?
... Maar ik modereer (nog) niet.

svenn
Berichten: 5001
Lid geworden op: 14 jul 2004, 13:00
Locatie: Kortrijk
Contacteer:

fgds

Bericht door svenn » 19 jun 2005, 11:36

hasd ik ook gezien is iets anders

svenn
Berichten: 5001
Lid geworden op: 14 jul 2004, 13:00
Locatie: Kortrijk
Contacteer:

hoi

Bericht door svenn » 19 jun 2005, 13:08

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
			//

punky
Berichten: 32
Lid geworden op: 19 mei 2005, 11:01

Bericht door punky » 20 jun 2005, 09:47

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.
Hoi! Ik ben een onderschrift virus, kopieer/plak mij in jouw onderschrift om mij te verspreiden!

svenn
Berichten: 5001
Lid geworden op: 14 jul 2004, 13:00
Locatie: Kortrijk
Contacteer:

PHP (4.0.4+) compiled --with-mysql and --with-xml and a rece

Bericht door svenn » 20 jun 2005, 11:26

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)

Gebruikersavatar
Paul
Beheerder
Beheerder
Berichten: 20316
Lid geworden op: 23 okt 2003, 11:38
Locatie: Utrecht
Contacteer:

Bericht door Paul » 20 jun 2005, 11:30

Geef is een link naar je phpinfo?

svenn
Berichten: 5001
Lid geworden op: 14 jul 2004, 13:00
Locatie: Kortrijk
Contacteer:

http://www.wmtown.com/php.php

Bericht door svenn » 20 jun 2005, 12:13


Gebruikersavatar
Paul
Beheerder
Beheerder
Berichten: 20316
Lid geworden op: 23 okt 2003, 11:38
Locatie: Utrecht
Contacteer:

Re: PHP (4.0.4+) compiled --with-mysql and --with-xml and a

Bericht door Paul » 20 jun 2005, 12:16

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 :)

svenn
Berichten: 5001
Lid geworden op: 14 jul 2004, 13:00
Locatie: Kortrijk
Contacteer:

Re: PHP (4.0.4+) compiled --with-mysql and --with-xml and a

Bericht door svenn » 20 jun 2005, 12:16

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 :D waar kan het dan nog aan liggen ?
Laatst gewijzigd door svenn op 20 jun 2005, 12:17, 1 keer totaal gewijzigd.

Gebruikersavatar
Paul
Beheerder
Beheerder
Berichten: 20316
Lid geworden op: 23 okt 2003, 11:38
Locatie: Utrecht
Contacteer:

Bericht door Paul » 20 jun 2005, 12:17

Waarop benk betrapt? Ik geef je gewoon netjes antwoord :cry:

svenn
Berichten: 5001
Lid geworden op: 14 jul 2004, 13:00
Locatie: Kortrijk
Contacteer:

sorry

Bericht door svenn » 20 jun 2005, 12:18

paulus schreef:Waarop benk betrapt? Ik geef je gewoon netjes antwoord :cry:
sorry zag niet dat je de quote had geedit ik zet dan altijd in het vet sorrrrrrry biertje? :bier:

aan wat ligt het dan ?

Gebruikersavatar
Paul
Beheerder
Beheerder
Berichten: 20316
Lid geworden op: 23 okt 2003, 11:38
Locatie: Utrecht
Contacteer:

Bericht door Paul » 20 jun 2005, 12:19

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?

svenn
Berichten: 5001
Lid geworden op: 14 jul 2004, 13:00
Locatie: Kortrijk
Contacteer:

bon

Bericht door svenn » 20 jun 2005, 12:28

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>

Gebruikersavatar
Paul
Beheerder
Beheerder
Berichten: 20316
Lid geworden op: 23 okt 2003, 11:38
Locatie: Utrecht
Contacteer:

Bericht door Paul » 20 jun 2005, 12:29

Er staat verder geen lege regel boven? En kun je aangeven wat regel 724 van posting.php is?

svenn
Berichten: 5001
Lid geworden op: 14 jul 2004, 13:00
Locatie: Kortrijk
Contacteer:

setcookie($board_config['cookie_name'] . '_t', serialize(

Bericht door svenn » 20 jun 2005, 12:41

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

Gebruikersavatar
Paul
Beheerder
Beheerder
Berichten: 20316
Lid geworden op: 23 okt 2003, 11:38
Locatie: Utrecht
Contacteer:

Bericht door Paul » 20 jun 2005, 12:44

das logische dat hij daar een header verstuurt, maar snap niet waarom hij daarom een foutmelding geeft.

svenn
Berichten: 5001
Lid geworden op: 14 jul 2004, 13:00
Locatie: Kortrijk
Contacteer:

tjah

Bericht door svenn » 20 jun 2005, 12:45


svenn
Berichten: 5001
Lid geworden op: 14 jul 2004, 13:00
Locatie: Kortrijk
Contacteer:

Bericht door svenn » 20 jun 2005, 17:51

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 ?

Gebruikersavatar
Paul
Beheerder
Beheerder
Berichten: 20316
Lid geworden op: 23 okt 2003, 11:38
Locatie: Utrecht
Contacteer:

Bericht door Paul » 20 jun 2005, 17:53

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?

Gesloten