04-11-2025 14:55:53.89791[0][4] - Elapsed time: 4.932 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 
-----------------------
04-11-2025 14:55:53.89819[4][4] - Elapsed time: 0.284 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
04-11-2025 14:55:53.89839[4][4] - Elapsed time: 0.197 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
04-11-2025 14:55:53.89849[4][4] - Elapsed time: 0.099 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
04-11-2025 14:55:53.89887[4][4] - Elapsed time: 0.385 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
04-11-2025 14:55:53.89888[4][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
04-11-2025 14:55:53.89902[0][4] - Elapsed time: 0.134 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = e33548386510ae6f1820911f1606cbc1 
-----------------------
04-11-2025 14:55:53.89903[4][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'sebutkan dosen siega'. 
-----------------------
04-11-2025 14:55:53.89905[4][4] - Elapsed time: 0.026 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
04-11-2025 14:55:53.89906[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
04-11-2025 14:55:53.89907[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; 
-----------------------
04-11-2025 14:55:53.89952[1][4] - Elapsed time: 0.454 milliseconds
[intialise_conversation.php][check_set_convo_id][653]
Cannot find CONVO ID. Using default: e33548386510ae6f1820911f1606cbc1 
-----------------------
04-11-2025 14:55:53.89954[2][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
04-11-2025 14:55:53.89955[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; 
-----------------------
04-11-2025 14:55:53.89997[2][4] - Elapsed time: 0.428 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
04-11-2025 14:55:53.89999[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
04-11-2025 14:55:53.90036[2][4] - Elapsed time: 0.377 milliseconds
[handle_user.php][intisaliseUser][82]
Initializing user. 
-----------------------
04-11-2025 14:55:53.90061[3][4] - Elapsed time: 0.246 milliseconds
[handle_user.php][intisaliseUser][128]
intisaliseUser #30 SQL: INSERT INTO `users`
        (`id`, `user_name`, `session_id`, `bot_id`, `chatlines`,`ip`, `referer`, `browser`, `date_logged_on` , `last_update`    , `state`)
 VALUES (NULL, 'Seeker'  , 'e33548386510ae6f1820911f1606cbc1'   , 1 , '0'        , '202.10.43.135', ''      , 'unknown browser'      , CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, ''     ); 
-----------------------
04-11-2025 14:55:53.90091[3][4] - Elapsed time: 0.307 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` = 30 AND `bot_id` = 1; 
-----------------------
04-11-2025 14:55:53.90113[2][4] - Elapsed time: 0.216 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
04-11-2025 14:55:53.90119[2][4] - Elapsed time: 0.063 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on sebutkan. 
-----------------------
04-11-2025 14:55:53.90121[2][4] - Elapsed time: 0.013 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
04-11-2025 14:55:53.90171[2][4] - Elapsed time: 0.499 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
04-11-2025 14:55:53.90172[2][4] - Elapsed time: 0.017 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on dosen. 
-----------------------
04-11-2025 14:55:53.90174[2][4] - Elapsed time: 0.016 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
04-11-2025 14:55:53.90175[2][4] - Elapsed time: 0.011 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on siega. 
-----------------------
04-11-2025 14:55:53.90177[4][4] - Elapsed time: 0.018 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'sebutkan dosen siega' 
-----------------------
04-11-2025 14:55:53.90192[4][4] - Elapsed time: 0.147 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SEBUTKAN DOSEN SIEGA' 
-----------------------
04-11-2025 14:55:53.90193[2][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: SEBUTKAN DOSEN SIEGA
Convo id: e33548386510ae6f1820911f1606cbc1
Bot id: 1
Format:  
-----------------------
04-11-2025 14:55:53.90193[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
04-11-2025 14:55:53.90194[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
04-11-2025 14:55:53.90195[3][4] - Elapsed time: 0.009 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` = 30 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
04-11-2025 14:55:53.90262[4][4] - Elapsed time: 0.672 milliseconds
[intialise_conversation.php][load_that][856]
Couldn't find any previous inputs or responses. 
-----------------------
04-11-2025 14:55:53.90312[2][4] - Elapsed time: 0.503 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
04-11-2025 14:55:53.90314[3][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `siew8359_dannu`.`bots` WHERE bot_id = 1; 
-----------------------
04-11-2025 14:55:53.90334[4][4] - Elapsed time: 0.199 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
04-11-2025 14:55:53.90335[0][4] - Elapsed time: 0.019 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
04-11-2025 14:55:53.90336[0][4] - Elapsed time: 0.009 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
04-11-2025 14:55:53.90337[0][4] - Elapsed time: 0.009 milliseconds
[conversation_start.php][Called outside of function][235]
Say = SEBUTKAN DOSEN SIEGA: raw say = sebutkan dosen siega 
-----------------------
04-11-2025 14:55:53.90338[4][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
04-11-2025 14:55:53.90339[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SEBUTKAN DOSEN SIEGA' to the front of the [user_say] array 
-----------------------
04-11-2025 14:55:53.90343[4][4] - Elapsed time: 0.041 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
04-11-2025 14:55:53.90346[0][4] - Elapsed time: 0.022 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = sebutkan dosen siega, RAW say = sebutkan dosen siega 
-----------------------
04-11-2025 14:55:53.90346[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'sebutkan dosen siega' to the front of the [input] array 
-----------------------
04-11-2025 14:55:53.90347[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
04-11-2025 14:55:53.90348[4][4] - Elapsed time: 0.009 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
04-11-2025 14:55:53.90349[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'SEBUTKAN DOSEN SIEGA' 
-----------------------
04-11-2025 14:55:53.90350[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SEBUTKAN DOSEN SIEGA' 
-----------------------
04-11-2025 14:55:53.90350[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 
-----------------------
04-11-2025 14:55:53.90372[4][4] - Elapsed time: 0.216 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
04-11-2025 14:55:53.90374[3][4] - Elapsed time: 0.027 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` = 'e33548386510ae6f1820911f1606cbc1'
    AND (
        'SEBUTKAN DOSEN SIEGA' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
04-11-2025 14:55:53.90414[2][4] - Elapsed time: 0.392 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
04-11-2025 14:55:53.90415[4][4] - Elapsed time: 0.012 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
04-11-2025 14:55:53.90415[4][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
04-11-2025 14:55:53.90436[4][4] - Elapsed time: 0.207 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
04-11-2025 14:55:53.90438[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 (
        'SEBUTKAN DOSEN SIEGA' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
04-11-2025 14:55:53.90467[3][4] - Elapsed time: 0.291 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
04-11-2025 14:55:53.90468[2][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (5) potential AIML matches 
-----------------------
04-11-2025 14:55:53.90488[4][4] - Elapsed time: 0.199 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 5 rows to unset bad matches 
-----------------------
04-11-2025 14:55:53.90488[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 'SEBUTKAN DOSEN SIEGA' 
-----------------------
04-11-2025 14:55:53.90507[4][4] - Elapsed time: 0.189 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 1 relevant rows 
-----------------------
04-11-2025 14:55:53.90509[4][4] - Elapsed time: 0.013 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
04-11-2025 14:55:53.90530[4][4] - Elapsed time: 0.215 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 366
            [bot_id] => 1
            [pattern] => *
            [thatpattern] => 
            [topic] => 
            [filename] => bot.aiml
            [template] => <random>
            <li>Maaf, <get name="namaku"/>, aku nggak ngerti maksud kamu.</li>
            <li>Hmm, bisa diulangi dengan kalimat lain?</li>
            <li>Aku masih belajar nih. Coba tanya yang lain.</li>
            <li>Kalau soal itu aku kurang paham.</li>
        </random>
            [score] => 252
            [current_that] => 
            [aiml_id] => 366
            [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

)
 
-----------------------
04-11-2025 14:55:53.90532[2][4] - Elapsed time: 0.024 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 366
            [bot_id] => 1
            [pattern] => *
            [thatpattern] => 
            [topic] => 
            [filename] => bot.aiml
            [template] => <random>
            <li>Maaf, <get name="namaku"/>, aku nggak ngerti maksud kamu.</li>
            <li>Hmm, bisa diulangi dengan kalimat lain?</li>
            <li>Aku masih belajar nih. Coba tanya yang lain.</li>
            <li>Kalau soal itu aku kurang paham.</li>
        </random>
            [score] => 252
            [current_that] => 
            [aiml_id] => 366
            [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

)

 
-----------------------
04-11-2025 14:55:53.90567[4][4] - Elapsed time: 0.343 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 366
    [bot_id] => 1
    [pattern] => *
    [thatpattern] => 
    [topic] => 
    [filename] => bot.aiml
    [template] => <random>
            <li>Maaf, <get name="namaku"/>, aku nggak ngerti maksud kamu.</li>
            <li>Hmm, bisa diulangi dengan kalimat lain?</li>
            <li>Aku masih belajar nih. Coba tanya yang lain.</li>
            <li>Kalau soal itu aku kurang paham.</li>
        </random>
    [score] => 252
    [current_that] => 
    [aiml_id] => 366
    [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
)
 
-----------------------
04-11-2025 14:55:53.90568[2][4] - Elapsed time: 0.013 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
04-11-2025 14:55:53.90570[4][4] - Elapsed time: 0.017 milliseconds
[find_aiml.php][get_convo_var][727]
Get from ConvoArr [conversation][default_aiml_pattern][1][1] 
-----------------------
04-11-2025 14:55:53.90571[4][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][get_convo_var][757]
Get from ConvoArr [conversation][default_aiml_pattern][1][1] FOUND: ConvoArr Value = 'RANDOM PICKUP LINE' 
-----------------------
04-11-2025 14:55:53.90606[2][4] - Elapsed time: 0.355 milliseconds
[misc_functions.php][addUnknownInput][232]
Entry successfully added! 
-----------------------
04-11-2025 14:55:53.90607[1][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][get_aiml_to_parse][944]
Added input 'SEBUTKAN DOSEN SIEGA' to the unknown_inputs table. 
-----------------------
04-11-2025 14:55:53.90608[4][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:366 (*) 
-----------------------
04-11-2025 14:55:53.90609[3][4] - Elapsed time: 0.013 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
04-11-2025 14:55:53.90610[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = '*' 
-----------------------
04-11-2025 14:55:53.90610[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][306]
We have pattern stars to process! 
-----------------------
04-11-2025 14:55:53.90611[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][310]
RegEx string = ~(.+)$~siuU: Searching sebutkan dosen siega for a match. 
-----------------------
04-11-2025 14:55:53.90614[2][4] - Elapsed time: 0.030 milliseconds
[parse_aiml.php][set_wildcards][313]
Array
(
    [0] => Array
        (
            [0] => sebutkan dosen siega
        )

    [1] => Array
        (
            [0] => sebutkan dosen siega
        )

)
 
-----------------------
04-11-2025 14:55:53.90615[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][set_wildcards][318]
Adding 'sebutkan dosen siega' to the stars stack. 
-----------------------
04-11-2025 14:55:53.90616[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][320]
Star array = Array
(
    [1] => sebutkan dosen siega
)
 
-----------------------
04-11-2025 14:55:53.90616[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
04-11-2025 14:55:53.90616[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
04-11-2025 14:55:53.90618[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 366
    [category_id] => 366
    [html_template] => 
    [lookingfor] => SEBUTKAN DOSEN SIEGA
    [pattern] => *
    [score] => 252
    [stars] => Array
        (
            [1] => sebutkan dosen siega
        )

    [template] => <random>
            <li>Maaf, <get name="namaku"/>, aku nggak ngerti maksud kamu.</li>
            <li>Hmm, bisa diulangi dengan kalimat lain?</li>
            <li>Aku masih belajar nih. Coba tanya yang lain.</li>
            <li>Kalau soal itu aku kurang paham.</li>
        </random>
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => sebutkan dosen siega
)
 
-----------------------
04-11-2025 14:55:53.90618[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
04-11-2025 14:55:53.90619[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... 
-----------------------
04-11-2025 14:55:53.90625[4][4] - Elapsed time: 0.060 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><random><li><text>Maaf, </text><get name="namaku"/><text>, aku nggak ngerti maksud kamu.</text></li><li><text>Hmm, bisa diulangi dengan kalimat lain?</text></li><li><text>Aku masih belajar nih. Coba tanya yang lain.</text></li><li><text>Kalau soal itu aku kurang paham.</text></li></random></template> 
-----------------------
04-11-2025 14:55:53.90640[2][4] - Elapsed time: 0.143 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
04-11-2025 14:55:53.90646[4][4] - Elapsed time: 0.062 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><random><li><text>Maaf, </text><get name="namaku"/><text>, aku nggak ngerti maksud kamu.</text></li><li><text>Hmm, bisa diulangi dengan kalimat lain?</text></li><li><text>Aku masih belajar nih. Coba tanya yang lain.</text></li><li><text>Kalau soal itu aku kurang paham.</text></li></random></template>
 
-----------------------
04-11-2025 14:55:53.90647[4][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
04-11-2025 14:55:53.90649[2][4] - Elapsed time: 0.020 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
04-11-2025 14:55:53.90651[4][4] - Elapsed time: 0.023 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element random at level 1. element XML = <random><li><text>Maaf, </text><get name="namaku"/><text>, aku nggak ngerti maksud kamu.</text></li><li><text>Hmm, bisa diulangi dengan kalimat lain?</text></li><li><text>Aku masih belajar nih. Coba tanya yang lain.</text></li><li><text>Kalau soal itu aku kurang paham.</text></li></random> 
-----------------------
04-11-2025 14:55:53.90652[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_random_tag does exist. Processing now. 
-----------------------
04-11-2025 14:55:53.90653[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element random to the parse_random_tag function 
-----------------------
04-11-2025 14:55:53.90653[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][496]
Parsing a RANDOM tag, or doing some stargazing, or fomenting chaos, or... 
-----------------------
04-11-2025 14:55:53.90659[4][4] - Elapsed time: 0.054 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][498]
Pick array:
Array
(
    [0] => SimpleXMLElement Object
        (
            [text] => Array
                (
                    [0] => Maaf, 
                    [1] => , aku nggak ngerti maksud kamu.
                )

            [get] => SimpleXMLElement Object
                (
                    [@attributes] => Array
                        (
                            [name] => namaku
                        )

                )

        )

    [1] => SimpleXMLElement Object
        (
            [text] => Hmm, bisa diulangi dengan kalimat lain?
        )

    [2] => SimpleXMLElement Object
        (
            [text] => Aku masih belajar nih. Coba tanya yang lain.
        )

    [3] => SimpleXMLElement Object
        (
            [text] => Kalau soal itu aku kurang paham.
        )

)
 
-----------------------
04-11-2025 14:55:53.90660[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][500]
Picking option #2 from random tag.
 
-----------------------
04-11-2025 14:55:53.90660[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
04-11-2025 14:55:53.90661[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element li at level 2. element XML = <li><text>Aku masih belajar nih. Coba tanya yang lain.</text></li> 
-----------------------
04-11-2025 14:55:53.90662[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_li_tag does not exist. Parsing tag as text. 
-----------------------
04-11-2025 14:55:53.90663[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
04-11-2025 14:55:53.90664[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 3. element XML = <text>Aku masih belajar nih. Coba tanya yang lain.</text> 
-----------------------
04-11-2025 14:55:53.90664[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
04-11-2025 14:55:53.90665[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
04-11-2025 14:55:53.90665[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
04-11-2025 14:55:53.90666[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Aku masih belajar nih. Coba tanya yang lain.' to the response array. tag name is text 
-----------------------
04-11-2025 14:55:53.90667[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
04-11-2025 14:55:53.90667[2][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Aku masih belajar nih. Coba tanya yang lain.
)

 
-----------------------
04-11-2025 14:55:53.90668[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
04-11-2025 14:55:53.90668[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Aku masih belajar nih. Coba tanya yang lain.' 
-----------------------
04-11-2025 14:55:53.90669[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Aku masih belajar nih. Coba tanya yang lain.' to the response array. tag name is li. 
-----------------------
04-11-2025 14:55:53.90670[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
04-11-2025 14:55:53.90670[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Aku masih belajar nih. Coba tanya yang lain.
)

 
-----------------------
04-11-2025 14:55:53.90671[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
04-11-2025 14:55:53.90671[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Aku masih belajar nih. Coba tanya yang lain.' 
-----------------------
04-11-2025 14:55:53.90672[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][503]
Chose Random Response of 'Aku masih belajar nih. Coba tanya yang lain.' for output. 
-----------------------
04-11-2025 14:55:53.90672[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Aku masih belajar nih. Coba tanya yang lain.' to the response array. tag name is random 
-----------------------
04-11-2025 14:55:53.90673[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
04-11-2025 14:55:53.90674[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Aku masih belajar nih. Coba tanya yang lain.
)

 
-----------------------
04-11-2025 14:55:53.90674[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
04-11-2025 14:55:53.90675[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Aku masih belajar nih. Coba tanya yang lain.' 
-----------------------
04-11-2025 14:55:53.90675[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Aku masih belajar nih. Coba tanya yang lain.' to the response array. tag name is template. 
-----------------------
04-11-2025 14:55:53.90676[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
04-11-2025 14:55:53.90677[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Aku masih belajar nih. Coba tanya yang lain.
)

 
-----------------------
04-11-2025 14:55:53.90677[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
04-11-2025 14:55:53.90678[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Aku masih belajar nih. Coba tanya yang lain.' 
-----------------------
04-11-2025 14:55:53.90678[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Aku masih belajar nih. Coba tanya yang lain. 
-----------------------
04-11-2025 14:55:53.90679[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
04-11-2025 14:55:53.90680[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
04-11-2025 14:55:53.90680[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Aku masih belajar nih. Coba tanya yang lain.' to the front of the [that_raw] array 
-----------------------
04-11-2025 14:55:53.90681[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
04-11-2025 14:55:53.90688[2][4] - Elapsed time: 0.070 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Aku masih belajar nih. Coba tanya yang lain.' to the front of the [that] array 
-----------------------
04-11-2025 14:55:53.90689[4][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
04-11-2025 14:55:53.90690[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Aku masih belajar nih.' 
-----------------------
04-11-2025 14:55:53.90691[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Aku masih belajar nih.' 
-----------------------
04-11-2025 14:55:53.90692[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU MASIH BELAJAR NIH' 
-----------------------
04-11-2025 14:55:53.90693[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU MASIH BELAJAR NIH' 
-----------------------
04-11-2025 14:55:53.90693[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Coba tanya yang lain.' 
-----------------------
04-11-2025 14:55:53.90694[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Coba tanya yang lain.' 
-----------------------
04-11-2025 14:55:53.90694[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'COBA TANYA YANG LAIN' 
-----------------------
04-11-2025 14:55:53.90695[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'COBA TANYA YANG LAIN' 
-----------------------
04-11-2025 14:55:53.90696[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Aku masih belajar nih. Coba tanya yang lain.' to the front of the [parsed_template] array 
-----------------------
04-11-2025 14:55:53.90697[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
04-11-2025 14:55:53.90697[2][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing '<random>
            <li>Maaf, <get name="namaku"/>, aku nggak ngerti maksud kamu.</li>
            <li>Hmm, bisa diulangi dengan kalimat lain?</li>
            <li>Aku masih belajar nih. Coba tanya yang lain.</li>
            <li>Kalau soal itu aku kurang paham.</li>
        </random>' to the front of the [template] array 
-----------------------
04-11-2025 14:55:53.90698[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
04-11-2025 14:55:53.90699[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
04-11-2025 14:55:53.90700[3][4] - Elapsed time: 0.011 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 ,
      'sebutkan dosen siega',
      'Aku masih belajar nih. Coba tanya yang lain.',
      30,
      'e33548386510ae6f1820911f1606cbc1',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
04-11-2025 14:55:53.90805[4][4] - Elapsed time: 1.049 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
04-11-2025 14:55:53.90822[3][4] - Elapsed time: 0.172 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 
-----------------------
04-11-2025 14:55:53.90844[2][4] - Elapsed time: 0.220 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
04-11-2025 14:55:53.90845[4][4] - Elapsed time: 0.010 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
04-11-2025 14:55:53.90846[2][4] - Elapsed time: 0.006 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
04-11-2025 14:55:53.90849[4][4] - Elapsed time: 0.030 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"e33548386510ae6f1820911f1606cbc1","usersay":"sebutkan dosen siega","botsay":"Aku masih belajar nih. Coba tanya yang lain.","botData":{"convo_id":"e33548386510ae6f1820911f1606cbc1","bot_name":"Pedro Salto","bot_id":"1","format":"json","unknown_user":"Seeker","user_id":"30","totallines":1,"user_name":"Seeker","rawSay":"sebutkan dosen siega","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":"366","bot_id":"1","pattern":"*","thatpattern":"","topic":"","filename":"bot.aiml","template":"<random>\n            <li>Maaf, <get name=\"namaku\"\/>, aku nggak ngerti maksud kamu.<\/li>\n            <li>Hmm, bisa diulangi dengan kalimat lain?<\/li>\n            <li>Aku masih belajar nih. Coba tanya yang lain.<\/li>\n            <li>Kalau soal itu aku kurang paham.<\/li>\n        <\/random>","score":252,"current_that":"","aiml_id":"366","track_score":"current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)"}}} 
-----------------------
04-11-2025 14:55:53.90889[2][4] - Elapsed time: 0.400 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
04-11-2025 14:55:53.90894[0][4] - Elapsed time: 0.046 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 15.926 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => sebutkan dosen siega
    [conversation] => Array
        (
            [convo_id] => e33548386510ae6f1820911f1606cbc1
            [bot_name] => Pedro Salto
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_id] => 30
            [totallines] => 1
            [user_name] => Seeker
            [rawSay] => sebutkan dosen siega
            [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] => 366
                    [bot_id] => 1
                    [pattern] => *
                    [thatpattern] => 
                    [topic] => 
                    [filename] => bot.aiml
                    [template] => <random>
            <li>Maaf, <get name="namaku"/>, aku nggak ngerti maksud kamu.</li>
            <li>Hmm, bisa diulangi dengan kalimat lain?</li>
            <li>Aku masih belajar nih. Coba tanya yang lain.</li>
            <li>Kalau soal itu aku kurang paham.</li>
        </random>
                    [score] => 252
                    [current_that] => 
                    [aiml_id] => 366
                    [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => sebutkan dosen siega
            [lookingfor] => SEBUTKAN DOSEN SIEGA
            [category_id] => 366
            [pattern] => *
            [thatpattern] => 
            [template] => <random>
            <li>Maaf, <get name="namaku"/>, aku nggak ngerti maksud kamu.</li>
            <li>Hmm, bisa diulangi dengan kalimat lain?</li>
            <li>Aku masih belajar nih. Coba tanya yang lain.</li>
            <li>Kalau soal itu aku kurang paham.</li>
        </random>
            [html_template] => 
            [topic] => 
            [score] => 252
            [aiml_id] => 366
            [stars] => Array
                (
                    [1] => sebutkan dosen siega
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Aku masih belajar nih. Coba tanya yang lain.
        )

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

    [time_start] => 1762242953.893
    [user_say] => Array
        (
            [1] => SEBUTKAN DOSEN SIEGA
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [input] => Array
        (
            [1] => sebutkan dosen siega
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Coba tanya yang lain.
                    [3] => Aku masih belajar nih.
                )

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

    [that] => Array
        (
            [1] => Array
                (
                    [1] => COBA TANYA YANG LAIN
                    [2] => AKU MASIH BELAJAR NIH
                )

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

    [parsed_template] => Array
        (
            [1] => Aku masih belajar nih. Coba tanya yang lain.
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => <random> <li>Maaf, <get name="namaku"/>, aku nggak ngerti maksud kamu.</li> <li>Hmm, bisa diulangi dengan kalimat lain?</li> <li>Aku masih belajar nih. Coba tanya yang lain.</li> <li>Kalau soal itu aku kurang paham.</li> </random>
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"e33548386510ae6f1820911f1606cbc1","usersay":"sebutkan dosen siega","botsay":"Aku masih belajar nih. Coba tanya yang lain.","botData":{"convo_id":"e33548386510ae6f1820911f1606cbc1","bot_name":"Pedro Salto","bot_id":"1","format":"json","unknown_user":"Seeker","user_id":"30","totallines":1,"user_name":"Seeker","rawSay":"sebutkan dosen siega","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":"366","bot_id":"1","pattern":"*","thatpattern":"","topic":"","filename":"bot.aiml","template":"<random>\n            <li>Maaf, <get name=\"namaku\"\/>, aku nggak ngerti maksud kamu.<\/li>\n            <li>Hmm, bisa diulangi dengan kalimat lain?<\/li>\n            <li>Aku masih belajar nih. Coba tanya yang lain.<\/li>\n            <li>Kalau soal itu aku kurang paham.<\/li>\n        <\/random>","score":252,"current_that":"","aiml_id":"366","track_score":"current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)"}}}
)

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