10-11-2025 14:38:41.94119[0][4] - Elapsed time: 5.487 milliseconds
[conversation_start.php][Called outside of function][56]
Conversation starting. Current system specs:
  Program O version:            2.6.11
  Server Software:              LiteSpeed
  PHP Version:                  7.4.33
  OS:                           Linux
  OS Version:                   #1 SMP PREEMPT_DYNAMIC Wed Oct 15 06:39:08 EDT 2025
  MySQL Version:                11.4.8-MariaDB-cll-lve
  Multi-byte functions enabled: true 
-----------------------
10-11-2025 14:38:41.94149[4][4] - Elapsed time: 0.296 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
10-11-2025 14:38:41.94170[4][4] - Elapsed time: 0.213 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
10-11-2025 14:38:41.94180[4][4] - Elapsed time: 0.099 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
10-11-2025 14:38:41.94220[4][4] - Elapsed time: 0.401 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
10-11-2025 14:38:41.94221[4][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
10-11-2025 14:38:41.94238[0][4] - Elapsed time: 0.165 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = 158ef81e8d856e0797dd37447001a4ba 
-----------------------
10-11-2025 14:38:41.94239[4][4] - Elapsed time: 0.010 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'nama saya dannu'. 
-----------------------
10-11-2025 14:38:41.94241[4][4] - Elapsed time: 0.023 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
10-11-2025 14:38:41.94242[4][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
10-11-2025 14:38:41.94243[3][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_default_bot_values][118]
load db bot personality values SQL: SELECT * FROM `siew8359_dannu`.`botpersonality` WHERE `bot_id` = 1; 
-----------------------
10-11-2025 14:38:41.94314[1][4] - Elapsed time: 0.707 milliseconds
[intialise_conversation.php][check_set_convo_id][653]
Cannot find CONVO ID. Using default: 158ef81e8d856e0797dd37447001a4ba 
-----------------------
10-11-2025 14:38:41.94315[2][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
10-11-2025 14:38:41.94316[3][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][check_set_bot][599]
Making sure the bot exists. SQL = SELECT * FROM `siew8359_dannu`.`bots` WHERE bot_id = 1 AND `bot_active` = 1; 
-----------------------
10-11-2025 14:38:41.94380[2][4] - Elapsed time: 0.643 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
10-11-2025 14:38:41.94382[2][4] - Elapsed time: 0.020 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
10-11-2025 14:38:41.94453[2][4] - Elapsed time: 0.713 milliseconds
[handle_user.php][intisaliseUser][82]
Initializing user. 
-----------------------
10-11-2025 14:38:41.94489[3][4] - Elapsed time: 0.356 milliseconds
[handle_user.php][intisaliseUser][128]
intisaliseUser #78 SQL: INSERT INTO `users`
        (`id`, `user_name`, `session_id`, `bot_id`, `chatlines`,`ip`, `referer`, `browser`, `date_logged_on` , `last_update`    , `state`)
 VALUES (NULL, 'Seeker'  , '158ef81e8d856e0797dd37447001a4ba'   , 1 , '0'        , '202.10.43.135', ''      , 'unknown browser'      , CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, ''     ); 
-----------------------
10-11-2025 14:38:41.94536[3][4] - Elapsed time: 0.467 milliseconds
[intialise_conversation.php][check_set_user][705]
Loading client properties from the DB - sql:
SELECT `name`, `value` FROM `siew8359_dannu`.`client_properties` WHERE `user_id` = 78 AND `bot_id` = 1; 
-----------------------
10-11-2025 14:38:41.94570[2][4] - Elapsed time: 0.344 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
10-11-2025 14:38:41.94579[2][4] - Elapsed time: 0.091 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on nama. 
-----------------------
10-11-2025 14:38:41.94581[2][4] - Elapsed time: 0.019 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
10-11-2025 14:38:41.94649[2][4] - Elapsed time: 0.676 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
10-11-2025 14:38:41.94650[2][4] - Elapsed time: 0.017 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on saya. 
-----------------------
10-11-2025 14:38:41.94652[2][4] - Elapsed time: 0.016 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
10-11-2025 14:38:41.94653[2][4] - Elapsed time: 0.011 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on dannu. 
-----------------------
10-11-2025 14:38:41.94655[4][4] - Elapsed time: 0.018 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'nama saya dannu' 
-----------------------
10-11-2025 14:38:41.94670[4][4] - Elapsed time: 0.154 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA SAYA DANNU' 
-----------------------
10-11-2025 14:38:41.94671[2][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: NAMA SAYA DANNU
Convo id: 158ef81e8d856e0797dd37447001a4ba
Bot id: 1
Format:  
-----------------------
10-11-2025 14:38:41.94672[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
10-11-2025 14:38:41.94673[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
10-11-2025 14:38:41.94674[3][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_that][784]
Getting conversation log entries for the current user. SQL:
SELECT `input`, `response` FROM `siew8359_dannu`.`conversation_log` WHERE `user_id` = 78 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
10-11-2025 14:38:41.94796[4][4] - Elapsed time: 1.227 milliseconds
[intialise_conversation.php][load_that][856]
Couldn't find any previous inputs or responses. 
-----------------------
10-11-2025 14:38:41.94843[2][4] - Elapsed time: 0.460 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
10-11-2025 14:38:41.94844[3][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `siew8359_dannu`.`bots` WHERE bot_id = 1; 
-----------------------
10-11-2025 14:38:41.94873[4][4] - Elapsed time: 0.293 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
10-11-2025 14:38:41.94874[0][4] - Elapsed time: 0.013 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
10-11-2025 14:38:41.94875[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
10-11-2025 14:38:41.94876[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][235]
Say = NAMA SAYA DANNU: raw say = nama saya dannu 
-----------------------
10-11-2025 14:38:41.94876[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
10-11-2025 14:38:41.94877[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMA SAYA DANNU' to the front of the [user_say] array 
-----------------------
10-11-2025 14:38:41.94881[4][4] - Elapsed time: 0.038 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
10-11-2025 14:38:41.94882[0][4] - Elapsed time: 0.016 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = nama saya dannu, RAW say = nama saya dannu 
-----------------------
10-11-2025 14:38:41.94883[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'nama saya dannu' to the front of the [input] array 
-----------------------
10-11-2025 14:38:41.94884[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
10-11-2025 14:38:41.94885[4][4] - Elapsed time: 0.009 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
10-11-2025 14:38:41.94885[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'NAMA SAYA DANNU' 
-----------------------
10-11-2025 14:38:41.94886[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA SAYA DANNU' 
-----------------------
10-11-2025 14:38:41.94887[4][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
10-11-2025 14:38:41.94920[4][4] - Elapsed time: 0.331 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
10-11-2025 14:38:41.94923[3][4] - Elapsed time: 0.025 milliseconds
[find_aiml.php][find_userdefined_aiml][870]
User defined SQL:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `template` FROM `siew8359_dannu`.`aiml_userdefined` WHERE
    `bot_id` = 1 AND
    `user_id` = '158ef81e8d856e0797dd37447001a4ba'
    AND (
        'NAMA SAYA DANNU' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
10-11-2025 14:38:41.94979[2][4] - Elapsed time: 0.559 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
10-11-2025 14:38:41.94980[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
10-11-2025 14:38:41.94980[4][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
10-11-2025 14:38:41.95011[4][4] - Elapsed time: 0.306 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
10-11-2025 14:38:41.95012[3][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][find_aiml_matches][1052]
Core Match AIML sql:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `topic`, `filename`, `template` FROM `siew8359_dannu`.`aiml` WHERE
    bot_id = 1 AND (
        'NAMA SAYA DANNU' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
10-11-2025 14:38:41.95061[3][4] - Elapsed time: 0.484 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
10-11-2025 14:38:41.95062[2][4] - Elapsed time: 0.011 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (2) potential AIML matches 
-----------------------
10-11-2025 14:38:41.95093[4][4] - Elapsed time: 0.311 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 2 rows to unset bad matches 
-----------------------
10-11-2025 14:38:41.95094[4][4] - Elapsed time: 0.008 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][62]
Blue 5 to Blue leader. Starting my run now! Looking for 'NAMA SAYA DANNU' 
-----------------------
10-11-2025 14:38:41.95105[4][4] - Elapsed time: 0.112 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 2 relevant rows 
-----------------------
10-11-2025 14:38:41.95106[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
10-11-2025 14:38:41.95144[4][4] - Elapsed time: 0.386 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 476
            [bot_id] => 1
            [pattern] => NAMA SAYA *
            [thatpattern] => 
            [topic] => 
            [filename] => chatbot.aiml
            [template] => Senang berkenalan dengan Anda, <star/>. Saya akan mengingat nama Anda.
      <think><set name="nama"><star/></set></think>
            [score] => 256
            [current_that] => 
            [aiml_id] => 476
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct word match: nama (2 points), direct word match: saya (2 points), star word match (1 points)
        )

    [1] => Array
        (
            [id] => 616
            [bot_id] => 1
            [pattern] => *
            [thatpattern] => 
            [topic] => 
            [filename] => chatbot.aiml
            [template] => <random>
        <li>Maaf, saya kurang memahami pertanyaan Anda. Bisakah Anda mengatakannya dengan cara lain?</li>
        <li>Hmm, saya belum mengerti maksud Anda. Bisa dijelaskan lebih detail?</li>
        <li>Maaf, saya masih belajar. Bisakah Anda bertanya dengan kalimat yang berbeda?</li>
        <li>Saya belum dapat memproses itu. Coba tanyakan hal lain atau gunakan kata-kata yang lebih sederhana.</li>
      </random>
            [score] => 252
            [current_that] => 
            [aiml_id] => 616
            [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

)
 
-----------------------
10-11-2025 14:38:41.95146[2][4] - Elapsed time: 0.018 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 476
            [bot_id] => 1
            [pattern] => NAMA SAYA *
            [thatpattern] => 
            [topic] => 
            [filename] => chatbot.aiml
            [template] => Senang berkenalan dengan Anda, <star/>. Saya akan mengingat nama Anda.
      <think><set name="nama"><star/></set></think>
            [score] => 256
            [current_that] => 
            [aiml_id] => 476
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct word match: nama (2 points), direct word match: saya (2 points), star word match (1 points)
        )

)

 
-----------------------
10-11-2025 14:38:41.95179[4][4] - Elapsed time: 0.330 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 476
    [bot_id] => 1
    [pattern] => NAMA SAYA *
    [thatpattern] => 
    [topic] => 
    [filename] => chatbot.aiml
    [template] => Senang berkenalan dengan Anda, <star/>. Saya akan mengingat nama Anda.
      <think><set name="nama"><star/></set></think>
    [score] => 256
    [current_that] => 
    [aiml_id] => 476
    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct word match: nama (2 points), direct word match: saya (2 points), star word match (1 points)
)
 
-----------------------
10-11-2025 14:38:41.95180[2][4] - Elapsed time: 0.011 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
10-11-2025 14:38:41.95182[4][4] - Elapsed time: 0.016 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:476 (NAMA SAYA *) 
-----------------------
10-11-2025 14:38:41.95183[3][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
10-11-2025 14:38:41.95183[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'NAMA SAYA *' 
-----------------------
10-11-2025 14:38:41.95184[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][306]
We have pattern stars to process! 
-----------------------
10-11-2025 14:38:41.95185[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][310]
RegEx string = ~NAMA SAYA (.+)$~siuU: Searching nama saya dannu for a match. 
-----------------------
10-11-2025 14:38:41.95189[2][4] - Elapsed time: 0.043 milliseconds
[parse_aiml.php][set_wildcards][313]
Array
(
    [0] => Array
        (
            [0] => nama saya dannu
        )

    [1] => Array
        (
            [0] => dannu
        )

)
 
-----------------------
10-11-2025 14:38:41.95190[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][set_wildcards][318]
Adding 'dannu' to the stars stack. 
-----------------------
10-11-2025 14:38:41.95191[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][320]
Star array = Array
(
    [1] => dannu
)
 
-----------------------
10-11-2025 14:38:41.95191[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
10-11-2025 14:38:41.95192[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
10-11-2025 14:38:41.95193[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 476
    [category_id] => 476
    [html_template] => 
    [lookingfor] => NAMA SAYA DANNU
    [pattern] => NAMA SAYA *
    [score] => 256
    [stars] => Array
        (
            [1] => dannu
        )

    [template] => Senang berkenalan dengan Anda, <star/>. Saya akan mengingat nama Anda.
      <think><set name="nama"><star/></set></think>
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

    [topic] => 
    [topic_stars] => Array
        (
        )

    [user_raw] => nama saya dannu
)
 
-----------------------
10-11-2025 14:38:41.95194[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
10-11-2025 14:38:41.95194[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
10-11-2025 14:38:41.95199[4][4] - Elapsed time: 0.051 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><text>Senang berkenalan dengan Anda, </text><star/><text>. Saya akan mengingat nama Anda.      </text><think><set name="nama"><star/></set></think></template> 
-----------------------
10-11-2025 14:38:41.95214[2][4] - Elapsed time: 0.142 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 14:38:41.95219[4][4] - Elapsed time: 0.058 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><text>Senang berkenalan dengan Anda, </text><star/><text>. Saya akan mengingat nama Anda.      </text><think><set name="nama"><star/></set></think></template>
 
-----------------------
10-11-2025 14:38:41.95220[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
10-11-2025 14:38:41.95223[2][4] - Elapsed time: 0.030 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 14:38:41.95225[4][4] - Elapsed time: 0.018 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>Senang berkenalan dengan Anda, </text> 
-----------------------
10-11-2025 14:38:41.95226[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
10-11-2025 14:38:41.95227[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
10-11-2025 14:38:41.95227[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
10-11-2025 14:38:41.95228[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Senang berkenalan dengan Anda, ' to the response array. tag name is text 
-----------------------
10-11-2025 14:38:41.95228[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 14:38:41.95229[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Senang berkenalan dengan Anda, 
)

 
-----------------------
10-11-2025 14:38:41.95230[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-11-2025 14:38:41.95230[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Senang berkenalan dengan Anda, ' 
-----------------------
10-11-2025 14:38:41.95231[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Senang berkenalan dengan Anda, ' to the response array. tag name is template. 
-----------------------
10-11-2025 14:38:41.95232[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 14:38:41.95233[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element star at level 1. element XML = <star/> 
-----------------------
10-11-2025 14:38:41.95233[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_star_tag does exist. Processing now. 
-----------------------
10-11-2025 14:38:41.95234[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element star to the parse_star_tag function 
-----------------------
10-11-2025 14:38:41.95235[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][297]
Parsing a STAR tag. 
-----------------------
10-11-2025 14:38:41.95235[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][299]
parse_star_tag called from the star tag at level 1. element = <star/> 
-----------------------
10-11-2025 14:38:41.95236[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][309]
Current AIML Array:
Array
(
    [user_raw] => nama saya dannu
    [lookingfor] => NAMA SAYA DANNU
    [category_id] => 476
    [pattern] => NAMA SAYA *
    [thatpattern] => 
    [template] => Senang berkenalan dengan Anda, <star/>. Saya akan mengingat nama Anda.
      <think><set name="nama"><star/></set></think>
    [html_template] => 
    [topic] => 
    [score] => 256
    [aiml_id] => 476
    [stars] => Array
        (
            [1] => dannu
        )

    [that_stars] => Array
        (
            [1] => 
        )

    [topic_stars] => Array
        (
        )

)
 
-----------------------
10-11-2025 14:38:41.95237[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][310]
star index = 1. 
-----------------------
10-11-2025 14:38:41.95237[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][314]
Adding 'dannu' to the response array. 
-----------------------
10-11-2025 14:38:41.95238[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][316]
Index value = 1, star value = dannu 
-----------------------
10-11-2025 14:38:41.95238[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 14:38:41.95239[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => dannu
)

 
-----------------------
10-11-2025 14:38:41.95240[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-11-2025 14:38:41.95240[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'dannu' 
-----------------------
10-11-2025 14:38:41.95241[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'dannu' to the response array. tag name is star 
-----------------------
10-11-2025 14:38:41.95241[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 14:38:41.95242[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => dannu
)

 
-----------------------
10-11-2025 14:38:41.95242[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-11-2025 14:38:41.95243[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'dannu' 
-----------------------
10-11-2025 14:38:41.95243[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'dannu' to the response array. tag name is template. 
-----------------------
10-11-2025 14:38:41.95244[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 14:38:41.95245[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>. Saya akan mengingat nama Anda.      </text> 
-----------------------
10-11-2025 14:38:41.95245[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
10-11-2025 14:38:41.95246[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
10-11-2025 14:38:41.95246[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
10-11-2025 14:38:41.95247[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding '. Saya akan mengingat nama Anda.      ' to the response array. tag name is text 
-----------------------
10-11-2025 14:38:41.95247[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 14:38:41.95248[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => . Saya akan mengingat nama Anda.      
)

 
-----------------------
10-11-2025 14:38:41.95248[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-11-2025 14:38:41.95249[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '. Saya akan mengingat nama Anda.   ' 
-----------------------
10-11-2025 14:38:41.95250[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding '. Saya akan mengingat nama Anda.   ' to the response array. tag name is template. 
-----------------------
10-11-2025 14:38:41.95250[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 14:38:41.95251[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element think at level 1. element XML = <think><set name="nama"><star/></set></think> 
-----------------------
10-11-2025 14:38:41.95252[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_think_tag does exist. Processing now. 
-----------------------
10-11-2025 14:38:41.95252[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element think to the parse_think_tag function 
-----------------------
10-11-2025 14:38:41.95253[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_think_tag][604]
I'm considering parsing a THINK tag. 
-----------------------
10-11-2025 14:38:41.95254[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][tag_to_string][1400]
converting the think tag into text. 
-----------------------
10-11-2025 14:38:41.95255[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 14:38:41.95256[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element set at level 2. element XML = <set name="nama"><star/></set> 
-----------------------
10-11-2025 14:38:41.95256[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_set_tag does exist. Processing now. 
-----------------------
10-11-2025 14:38:41.95257[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element set to the parse_set_tag function 
-----------------------
10-11-2025 14:38:41.95257[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][557]
Parsing the SET tag. 
-----------------------
10-11-2025 14:38:41.95258[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][tag_to_string][1400]
converting the set tag into text. 
-----------------------
10-11-2025 14:38:41.95258[2][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 14:38:41.95259[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element star at level 3. element XML = <star/> 
-----------------------
10-11-2025 14:38:41.95260[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_star_tag does exist. Processing now. 
-----------------------
10-11-2025 14:38:41.95260[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element star to the parse_star_tag function 
-----------------------
10-11-2025 14:38:41.95261[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][297]
Parsing a STAR tag. 
-----------------------
10-11-2025 14:38:41.95261[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][299]
parse_star_tag called from the star tag at level 3. element = <star/> 
-----------------------
10-11-2025 14:38:41.95262[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][309]
Current AIML Array:
Array
(
    [user_raw] => nama saya dannu
    [lookingfor] => NAMA SAYA DANNU
    [category_id] => 476
    [pattern] => NAMA SAYA *
    [thatpattern] => 
    [template] => Senang berkenalan dengan Anda, <star/>. Saya akan mengingat nama Anda.
      <think><set name="nama"><star/></set></think>
    [html_template] => 
    [topic] => 
    [score] => 256
    [aiml_id] => 476
    [stars] => Array
        (
            [1] => dannu
        )

    [that_stars] => Array
        (
            [1] => 
        )

    [topic_stars] => Array
        (
        )

)
 
-----------------------
10-11-2025 14:38:41.95263[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][310]
star index = 1. 
-----------------------
10-11-2025 14:38:41.95263[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][314]
Adding 'dannu' to the response array. 
-----------------------
10-11-2025 14:38:41.95264[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][316]
Index value = 1, star value = dannu 
-----------------------
10-11-2025 14:38:41.95264[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 14:38:41.95265[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => dannu
)

 
-----------------------
10-11-2025 14:38:41.95265[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-11-2025 14:38:41.95266[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'dannu' 
-----------------------
10-11-2025 14:38:41.95266[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'dannu' to the response array. tag name is star 
-----------------------
10-11-2025 14:38:41.95267[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 14:38:41.95268[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Array
        (
            [0] => dannu
        )

)

 
-----------------------
10-11-2025 14:38:41.95268[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-11-2025 14:38:41.95269[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 14:38:41.95269[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => dannu
)

 
-----------------------
10-11-2025 14:38:41.95269[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-11-2025 14:38:41.95270[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'dannu' 
-----------------------
10-11-2025 14:38:41.95271[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][568]
Adding 'nama' to the client properties array. Value is 'dannu' 
-----------------------
10-11-2025 14:38:41.95272[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][569]
Client properties: Array
(
    [ip_address] => 202.10.43.135
    [name] => Seeker
    [nama] => dannu
)
 
-----------------------
10-11-2025 14:38:41.95309[2][4] - Elapsed time: 0.366 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][582]
Inserting data into the DB 
-----------------------
10-11-2025 14:38:41.95339[4][4] - Elapsed time: 0.299 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'dannu' to the response array. tag name is set 
-----------------------
10-11-2025 14:38:41.95339[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 14:38:41.95340[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Array
        (
            [0] => dannu
        )

)

 
-----------------------
10-11-2025 14:38:41.95341[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-11-2025 14:38:41.95341[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 14:38:41.95342[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => dannu
)

 
-----------------------
10-11-2025 14:38:41.95343[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-11-2025 14:38:41.95343[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'dannu' 
-----------------------
10-11-2025 14:38:41.95344[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding '' to the response array. tag name is think 
-----------------------
10-11-2025 14:38:41.95344[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 14:38:41.95345[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => 
)

 
-----------------------
10-11-2025 14:38:41.95345[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-11-2025 14:38:41.95346[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '' 
-----------------------
10-11-2025 14:38:41.95346[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding '' to the response array. tag name is template. 
-----------------------
10-11-2025 14:38:41.95347[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 14:38:41.95348[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Senang berkenalan dengan Anda, 
    [1] => dannu
    [2] => . Saya akan mengingat nama Anda.   
    [3] => 
)

 
-----------------------
10-11-2025 14:38:41.95348[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-11-2025 14:38:41.95349[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Senang berkenalan dengan Anda, dannu . Saya akan mengingat nama Anda.  ' 
-----------------------
10-11-2025 14:38:41.95350[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Senang berkenalan dengan Anda, dannu. Saya akan mengingat nama Anda. 
-----------------------
10-11-2025 14:38:41.95351[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
10-11-2025 14:38:41.95351[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
10-11-2025 14:38:41.95352[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Senang berkenalan dengan Anda, dannu. Saya akan mengingat nama Anda.' to the front of the [that_raw] array 
-----------------------
10-11-2025 14:38:41.95353[4][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
10-11-2025 14:38:41.95362[2][4] - Elapsed time: 0.094 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Senang berkenalan dengan Anda, dannu. Saya akan mengingat nama Anda.' to the front of the [that] array 
-----------------------
10-11-2025 14:38:41.95363[4][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
10-11-2025 14:38:41.95365[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Senang berkenalan dengan Anda, dannu.' 
-----------------------
10-11-2025 14:38:41.95366[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Senang berkenalan dengan Anda, dannu.' 
-----------------------
10-11-2025 14:38:41.95367[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SENANG BERKENALAN DENGAN ANDA DANNU' 
-----------------------
10-11-2025 14:38:41.95367[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SENANG BERKENALAN DENGAN ANDA DANNU' 
-----------------------
10-11-2025 14:38:41.95368[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Saya akan mengingat nama Anda.' 
-----------------------
10-11-2025 14:38:41.95369[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Saya akan mengingat nama Anda.' 
-----------------------
10-11-2025 14:38:41.95369[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
10-11-2025 14:38:41.95370[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
10-11-2025 14:38:41.95371[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Senang berkenalan dengan Anda, dannu. Saya akan mengingat nama Anda.' to the front of the [parsed_template] array 
-----------------------
10-11-2025 14:38:41.95371[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
10-11-2025 14:38:41.95372[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Senang berkenalan dengan Anda, <star/>. Saya akan mengingat nama Anda.
      <think><set name="nama"><star/></set></think>' to the front of the [template] array 
-----------------------
10-11-2025 14:38:41.95373[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
10-11-2025 14:38:41.95374[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
10-11-2025 14:38:41.95375[3][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][log_conversation][442]
Saving conservation SQL: INSERT INTO `siew8359_dannu`.`conversation_log` (
      `id` ,
      `input` ,
      `response` ,
      `user_id` ,
      `convo_id` ,
      `bot_id` ,
      `timestamp`
    )
    VALUES (
      NULL ,
      'nama saya dannu',
      'Senang berkenalan dengan Anda, dannu. Saya akan mengingat nama Anda.',
      78,
      '158ef81e8d856e0797dd37447001a4ba',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
10-11-2025 14:38:41.95700[4][4] - Elapsed time: 3.246 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
10-11-2025 14:38:41.95727[3][4] - Elapsed time: 0.276 milliseconds
[display_conversation.php][get_conversation_to_display][59]
get_conversation SQL: SELECT * FROM `siew8359_dannu`.`conversation_log` WHERE
        `user_id` = :user_id
        AND `bot_id` = :bot_id
        AND `convo_id` = :convo_id
        ORDER BY id DESC  LIMIT 1 
-----------------------
10-11-2025 14:38:41.95761[2][4] - Elapsed time: 0.335 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
10-11-2025 14:38:41.95762[4][4] - Elapsed time: 0.011 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
10-11-2025 14:38:41.95763[2][4] - Elapsed time: 0.006 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
10-11-2025 14:38:41.95766[4][4] - Elapsed time: 0.034 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"158ef81e8d856e0797dd37447001a4ba","usersay":"nama saya dannu","botsay":"Senang berkenalan dengan Anda, dannu. Saya akan mengingat nama Anda.","botData":{"convo_id":"158ef81e8d856e0797dd37447001a4ba","bot_name":"Pedro Salto","bot_id":"1","format":"json","unknown_user":"Seeker","user_id":"78","totallines":1,"user_name":"Seeker","rawSay":"nama saya dannu","conversation_lines":"1","remember_up_to":"10","debugemail":"imanueldannu910@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":"476","bot_id":"1","pattern":"NAMA SAYA *","thatpattern":"","topic":"","filename":"chatbot.aiml","template":"Senang berkenalan dengan Anda, <star\/>. Saya akan mengingat nama Anda.\n      <think><set name=\"nama\"><star\/><\/set><\/think>","score":256,"current_that":"","aiml_id":"476","track_score":"current bot (250 points), no thatpattern to match (1 point), direct word match: nama (2 points), direct word match: saya (2 points), star word match (1 points)"}}} 
-----------------------
10-11-2025 14:38:41.95837[2][4] - Elapsed time: 0.709 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
10-11-2025 14:38:41.95841[0][4] - Elapsed time: 0.043 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 22.673 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => nama saya dannu
    [conversation] => Array
        (
            [convo_id] => 158ef81e8d856e0797dd37447001a4ba
            [bot_name] => Pedro Salto
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_id] => 78
            [totallines] => 1
            [user_name] => Seeker
            [rawSay] => nama saya dannu
            [conversation_lines] => 1
            [remember_up_to] => 10
            [debugemail] => imanueldannu910@gmail.com
            [debug_level] => 4
            [debugmode] => 1
            [save_state] => session
            [default_aiml_pattern] => RANDOM PICKUP LINE
            [bot_parent_id] => 1
            [aimlData] => Array
                (
                    [id] => 476
                    [bot_id] => 1
                    [pattern] => NAMA SAYA *
                    [thatpattern] => 
                    [topic] => 
                    [filename] => chatbot.aiml
                    [template] => Senang berkenalan dengan Anda, <star/>. Saya akan mengingat nama Anda.
      <think><set name="nama"><star/></set></think>
                    [score] => 256
                    [current_that] => 
                    [aiml_id] => 476
                    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct word match: nama (2 points), direct word match: saya (2 points), star word match (1 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => nama saya dannu
            [lookingfor] => NAMA SAYA DANNU
            [category_id] => 476
            [pattern] => NAMA SAYA *
            [thatpattern] => 
            [template] => Senang berkenalan dengan Anda, <star/>. Saya akan mengingat nama Anda.
      <think><set name="nama"><star/></set></think>
            [html_template] => 
            [topic] => 
            [score] => 256
            [aiml_id] => 476
            [stars] => Array
                (
                    [1] => dannu
                )

            [that_stars] => Array
                (
                    [1] => 
                )

            [topic_stars] => Array
                (
                )

            [parsed_template] => Senang berkenalan dengan Anda, dannu. Saya akan mengingat nama Anda.
        )

    [client_properties] => Array
        (
            [ip_address] => 202.10.43.135
            [name] => Seeker
            [nama] => dannu
        )

    [time_start] => 1762760321.9357
    [user_say] => Array
        (
            [1] => NAMA SAYA DANNU
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [input] => Array
        (
            [1] => nama saya dannu
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Saya akan mengingat nama Anda.
                    [3] => Senang berkenalan dengan Anda, dannu.
                )

            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
            [12] => 
        )

    [that] => Array
        (
            [1] => Array
                (
                    [1] => SAYA AKAN MENGINGAT NAMA ANDA
                    [2] => SENANG BERKENALAN DENGAN ANDA DANNU
                )

            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
            [12] => 
        )

    [parsed_template] => Array
        (
            [1] => Senang berkenalan dengan Anda, dannu. Saya akan mengingat nama Anda.
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => Senang berkenalan dengan Anda, <star/>. Saya akan mengingat nama Anda. <think><set name="nama"><star/></set></think>
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"158ef81e8d856e0797dd37447001a4ba","usersay":"nama saya dannu","botsay":"Senang berkenalan dengan Anda, dannu. Saya akan mengingat nama Anda.","botData":{"convo_id":"158ef81e8d856e0797dd37447001a4ba","bot_name":"Pedro Salto","bot_id":"1","format":"json","unknown_user":"Seeker","user_id":"78","totallines":1,"user_name":"Seeker","rawSay":"nama saya dannu","conversation_lines":"1","remember_up_to":"10","debugemail":"imanueldannu910@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":"476","bot_id":"1","pattern":"NAMA SAYA *","thatpattern":"","topic":"","filename":"chatbot.aiml","template":"Senang berkenalan dengan Anda, <star\/>. Saya akan mengingat nama Anda.\n      <think><set name=\"nama\"><star\/><\/set><\/think>","score":256,"current_that":"","aiml_id":"476","track_score":"current bot (250 points), no thatpattern to match (1 point), direct word match: nama (2 points), direct word match: saya (2 points), star word match (1 points)"}}}
)

-----------------------
Total execution time: 22.673 Milliseconds. Goodbye.