16-10-2025 23:14:57.94062[0][4] - Elapsed time: 9.820 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 Thu Sep 4 05:08:52 EDT 2025
  MySQL Version:                11.4.8-MariaDB-cll-lve
  Multi-byte functions enabled: true 
-----------------------
16-10-2025 23:14:57.96156[4][4] - Elapsed time: 20.937 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
16-10-2025 23:14:57.96873[4][4] - Elapsed time: 7.170 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
16-10-2025 23:14:57.96985[4][4] - Elapsed time: 1.120 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
16-10-2025 23:14:57.97518[4][4] - Elapsed time: 5.333 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
16-10-2025 23:14:57.97522[4][4] - Elapsed time: 0.038 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
16-10-2025 23:14:57.97548[1][4] - Elapsed time: 0.267 milliseconds
[conversation_start.php][Called outside of function][118]
PHP ERROR [Warning] -session_id(): Cannot change session id when session is active in /home/si2h6234/public_html/axelino.si2024.com/Program-O/chatbot/conversation_start.php on Line 118 
-----------------------
16-10-2025 23:14:57.97605[0][4] - Elapsed time: 0.564 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = bbd7e554a3b7909a12cf26787f418f59 
-----------------------
16-10-2025 23:14:57.97607[4][4] - Elapsed time: 0.026 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'halo nama kamu siapa'. 
-----------------------
16-10-2025 23:14:57.97611[4][4] - Elapsed time: 0.041 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
16-10-2025 23:14:57.97613[4][4] - Elapsed time: 0.015 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
16-10-2025 23:14:57.97615[3][4] - Elapsed time: 0.019 milliseconds
[intialise_conversation.php][load_default_bot_values][118]
load db bot personality values SQL: SELECT * FROM `si2h6234_dbaxel`.`botpersonality` WHERE `bot_id` = 1; 
-----------------------
16-10-2025 23:14:57.97725[4][4] - Elapsed time: 1.098 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value: 16a7a82e1d5b634ea4f9b32792332911 
-----------------------
16-10-2025 23:14:57.97729[2][4] - Elapsed time: 0.040 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
16-10-2025 23:14:57.97731[3][4] - Elapsed time: 0.021 milliseconds
[intialise_conversation.php][check_set_bot][599]
Making sure the bot exists. SQL = SELECT * FROM `si2h6234_dbaxel`.`bots` WHERE bot_id = 1 AND `bot_active` = 1; 
-----------------------
16-10-2025 23:14:57.97782[2][4] - Elapsed time: 0.516 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
16-10-2025 23:14:57.97786[2][4] - Elapsed time: 0.039 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
16-10-2025 23:14:57.97861[2][4] - Elapsed time: 0.742 milliseconds
[handle_user.php][intisaliseUser][82]
Initializing user. 
-----------------------
16-10-2025 23:14:57.97912[3][4] - Elapsed time: 0.514 milliseconds
[handle_user.php][intisaliseUser][128]
intisaliseUser #1 SQL: INSERT INTO `users`
        (`id`, `user_name`, `session_id`, `bot_id`, `chatlines`,`ip`, `referer`, `browser`, `date_logged_on` , `last_update`    , `state`)
 VALUES (NULL, 'Seeker'  , '16a7a82e1d5b634ea4f9b32792332911'   , 1 , '0'        , '149.108.25.177', 'https://axelino.si2024.com/Program-O/gui/jquery/?'      , 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36'      , CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, ''     ); 
-----------------------
16-10-2025 23:14:57.97981[3][4] - Elapsed time: 0.690 milliseconds
[intialise_conversation.php][check_set_user][705]
Loading client properties from the DB - sql:
SELECT `name`, `value` FROM `si2h6234_dbaxel`.`client_properties` WHERE `user_id` = 1 AND `bot_id` = 1; 
-----------------------
16-10-2025 23:14:57.98023[2][4] - Elapsed time: 0.417 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
16-10-2025 23:14:57.98036[2][4] - Elapsed time: 0.132 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on halo. 
-----------------------
16-10-2025 23:14:57.98039[2][4] - Elapsed time: 0.029 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
16-10-2025 23:14:57.98186[2][4] - Elapsed time: 1.477 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
16-10-2025 23:14:57.98192[2][4] - Elapsed time: 0.055 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on nama. 
-----------------------
16-10-2025 23:14:57.98196[2][4] - Elapsed time: 0.039 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
16-10-2025 23:14:57.98199[2][4] - Elapsed time: 0.027 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on kamu. 
-----------------------
16-10-2025 23:14:57.98202[2][4] - Elapsed time: 0.032 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
16-10-2025 23:14:57.98204[2][4] - Elapsed time: 0.025 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on siapa. 
-----------------------
16-10-2025 23:14:57.98208[4][4] - Elapsed time: 0.040 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'halo nama kamu siapa' 
-----------------------
16-10-2025 23:14:57.98240[4][4] - Elapsed time: 0.315 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO NAMA KAMU SIAPA' 
-----------------------
16-10-2025 23:14:57.98242[2][4] - Elapsed time: 0.026 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: HALO NAMA KAMU SIAPA
Convo id: bbd7e554a3b7909a12cf26787f418f59
Bot id: 1
Format: json 
-----------------------
16-10-2025 23:14:57.98244[4][4] - Elapsed time: 0.017 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
16-10-2025 23:14:57.98246[2][4] - Elapsed time: 0.015 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
16-10-2025 23:14:57.98248[3][4] - Elapsed time: 0.022 milliseconds
[intialise_conversation.php][load_that][784]
Getting conversation log entries for the current user. SQL:
SELECT `input`, `response` FROM `si2h6234_dbaxel`.`conversation_log` WHERE `user_id` = 1 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
16-10-2025 23:14:57.98362[4][4] - Elapsed time: 1.145 milliseconds
[intialise_conversation.php][load_that][856]
Couldn't find any previous inputs or responses. 
-----------------------
16-10-2025 23:14:57.98425[2][4] - Elapsed time: 0.632 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
16-10-2025 23:14:57.98429[3][4] - Elapsed time: 0.032 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `si2h6234_dbaxel`.`bots` WHERE bot_id = 1; 
-----------------------
16-10-2025 23:14:57.98494[4][4] - Elapsed time: 0.653 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
16-10-2025 23:14:57.98499[0][4] - Elapsed time: 0.046 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
16-10-2025 23:14:57.98500[0][4] - Elapsed time: 0.015 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
16-10-2025 23:14:57.98504[0][4] - Elapsed time: 0.040 milliseconds
[conversation_start.php][Called outside of function][235]
Say = HALO NAMA KAMU SIAPA: raw say = halo nama kamu siapa 
-----------------------
16-10-2025 23:14:57.98506[4][4] - Elapsed time: 0.016 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
16-10-2025 23:14:57.98507[2][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO NAMA KAMU SIAPA' to the front of the [user_say] array 
-----------------------
16-10-2025 23:14:57.98514[4][4] - Elapsed time: 0.069 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
16-10-2025 23:14:57.98520[0][4] - Elapsed time: 0.061 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = halo nama kamu siapa, RAW say = halo nama kamu siapa 
-----------------------
16-10-2025 23:14:57.98522[2][4] - Elapsed time: 0.016 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'halo nama kamu siapa' to the front of the [input] array 
-----------------------
16-10-2025 23:14:57.98523[4][4] - Elapsed time: 0.015 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
16-10-2025 23:14:57.98525[4][4] - Elapsed time: 0.020 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
16-10-2025 23:14:57.98526[4][4] - Elapsed time: 0.013 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO NAMA KAMU SIAPA' 
-----------------------
16-10-2025 23:14:57.98529[4][4] - Elapsed time: 0.025 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO NAMA KAMU SIAPA' 
-----------------------
16-10-2025 23:14:57.98530[4][4] - Elapsed time: 0.013 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
16-10-2025 23:14:57.98590[4][4] - Elapsed time: 0.597 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
16-10-2025 23:14:57.98596[3][4] - Elapsed time: 0.057 milliseconds
[find_aiml.php][find_userdefined_aiml][870]
User defined SQL:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `template` FROM `si2h6234_dbaxel`.`aiml_userdefined` WHERE
    `bot_id` = 1 AND
    `user_id` = '16a7a82e1d5b634ea4f9b32792332911'
    AND (
        'HALO NAMA KAMU SIAPA' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
16-10-2025 23:14:57.98714[2][4] - Elapsed time: 1.183 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
16-10-2025 23:14:57.98719[4][4] - Elapsed time: 0.049 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
16-10-2025 23:14:57.98721[4][4] - Elapsed time: 0.024 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
16-10-2025 23:14:57.98783[4][4] - Elapsed time: 0.614 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
16-10-2025 23:14:57.98786[3][4] - Elapsed time: 0.038 milliseconds
[find_aiml.php][find_aiml_matches][1052]
Core Match AIML sql:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `topic`, `filename`, `template` FROM `si2h6234_dbaxel`.`aiml` WHERE
    bot_id = 1 AND (
        'HALO NAMA KAMU SIAPA' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
16-10-2025 23:14:57.98865[3][4] - Elapsed time: 0.787 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
16-10-2025 23:14:57.98869[2][4] - Elapsed time: 0.037 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (2) potential AIML matches 
-----------------------
16-10-2025 23:14:57.98928[4][4] - Elapsed time: 0.591 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 2 rows to unset bad matches 
-----------------------
16-10-2025 23:14:57.98930[4][4] - Elapsed time: 0.020 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][62]
Blue 5 to Blue leader. Starting my run now! Looking for 'HALO NAMA KAMU SIAPA' 
-----------------------
16-10-2025 23:14:57.98950[4][4] - Elapsed time: 0.205 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 2 relevant rows 
-----------------------
16-10-2025 23:14:57.98953[4][4] - Elapsed time: 0.023 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
16-10-2025 23:14:57.99021[4][4] - Elapsed time: 0.682 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 1
            [bot_id] => 1
            [pattern] => HALO NAMA KAMU SIAPA
            [thatpattern] => 
            [topic] => 
            [filename] => botkucing.aiml
            [template] => Hai! Aku robot SiMeong , kucing soal investasi. Kamu udah mulai invest belum?
            [score] => 266
            [current_that] => 
            [aiml_id] => 1
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: halo (2 points), direct word match: nama (2 points), direct word match: kamu (2 points), direct word match: siapa (2 points)
        )

    [1] => Array
        (
            [id] => 8
            [bot_id] => 1
            [pattern] => *
            [thatpattern] => 
            [topic] => 
            [filename] => botkucing.aiml
            [template] => Meong~ aku cuma ngerti soal investasi nih. Coba tanya kayak "Apa itu investasi?" atau "Bagusnya invest di mana?"
            [score] => 252
            [current_that] => 
            [aiml_id] => 8
            [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

)
 
-----------------------
16-10-2025 23:14:57.99026[2][4] - Elapsed time: 0.048 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 1
            [bot_id] => 1
            [pattern] => HALO NAMA KAMU SIAPA
            [thatpattern] => 
            [topic] => 
            [filename] => botkucing.aiml
            [template] => Hai! Aku robot SiMeong , kucing soal investasi. Kamu udah mulai invest belum?
            [score] => 266
            [current_that] => 
            [aiml_id] => 1
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: halo (2 points), direct word match: nama (2 points), direct word match: kamu (2 points), direct word match: siapa (2 points)
        )

)

 
-----------------------
16-10-2025 23:14:57.99082[4][4] - Elapsed time: 0.565 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 1
    [bot_id] => 1
    [pattern] => HALO NAMA KAMU SIAPA
    [thatpattern] => 
    [topic] => 
    [filename] => botkucing.aiml
    [template] => Hai! Aku robot SiMeong , kucing soal investasi. Kamu udah mulai invest belum?
    [score] => 266
    [current_that] => 
    [aiml_id] => 1
    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: halo (2 points), direct word match: nama (2 points), direct word match: kamu (2 points), direct word match: siapa (2 points)
)
 
-----------------------
16-10-2025 23:14:57.99084[2][4] - Elapsed time: 0.017 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
16-10-2025 23:14:57.99088[4][4] - Elapsed time: 0.036 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:1 (HALO NAMA KAMU SIAPA) 
-----------------------
16-10-2025 23:14:57.99089[3][4] - Elapsed time: 0.017 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
16-10-2025 23:14:57.99091[2][4] - Elapsed time: 0.015 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'HALO NAMA KAMU SIAPA' 
-----------------------
16-10-2025 23:14:57.99092[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
16-10-2025 23:14:57.99093[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
16-10-2025 23:14:57.99095[2][4] - Elapsed time: 0.021 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 1
    [category_id] => 1
    [html_template] => 
    [lookingfor] => HALO NAMA KAMU SIAPA
    [pattern] => HALO NAMA KAMU SIAPA
    [score] => 266
    [stars] => Array
        (
        )

    [template] => Hai! Aku robot SiMeong , kucing soal investasi. Kamu udah mulai invest belum?
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => halo nama kamu siapa
)
 
-----------------------
16-10-2025 23:14:57.99097[2][4] - Elapsed time: 0.017 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
16-10-2025 23:14:57.99099[2][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
16-10-2025 23:14:57.99110[4][4] - Elapsed time: 0.109 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><text>Hai! Aku robot SiMeong , kucing soal investasi. Kamu udah mulai invest belum?</text></template> 
-----------------------
16-10-2025 23:14:57.99138[2][4] - Elapsed time: 0.281 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
16-10-2025 23:14:57.99146[4][4] - Elapsed time: 0.080 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><text>Hai! Aku robot SiMeong , kucing soal investasi. Kamu udah mulai invest belum?</text></template>
 
-----------------------
16-10-2025 23:14:57.99148[4][4] - Elapsed time: 0.019 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
16-10-2025 23:14:57.99150[2][4] - Elapsed time: 0.027 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
16-10-2025 23:14:57.99153[4][4] - Elapsed time: 0.031 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>Hai! Aku robot SiMeong , kucing soal investasi. Kamu udah mulai invest belum?</text> 
-----------------------
16-10-2025 23:14:57.99155[4][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
16-10-2025 23:14:57.99156[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
16-10-2025 23:14:57.99157[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
16-10-2025 23:14:57.99159[4][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Hai! Aku robot SiMeong , kucing soal investasi. Kamu udah mulai invest belum?' to the response array. tag name is text 
-----------------------
16-10-2025 23:14:57.99161[2][4] - Elapsed time: 0.020 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
16-10-2025 23:14:57.99162[2][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hai! Aku robot SiMeong , kucing soal investasi. Kamu udah mulai invest belum?
)

 
-----------------------
16-10-2025 23:14:57.99163[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
16-10-2025 23:14:57.99165[4][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hai! Aku robot SiMeong , kucing soal investasi. Kamu udah mulai invest belum?' 
-----------------------
16-10-2025 23:14:57.99166[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Hai! Aku robot SiMeong , kucing soal investasi. Kamu udah mulai invest belum?' to the response array. tag name is template. 
-----------------------
16-10-2025 23:14:57.99168[2][4] - Elapsed time: 0.022 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
16-10-2025 23:14:57.99169[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hai! Aku robot SiMeong , kucing soal investasi. Kamu udah mulai invest belum?
)

 
-----------------------
16-10-2025 23:14:57.99171[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
16-10-2025 23:14:57.99172[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hai! Aku robot SiMeong , kucing soal investasi. Kamu udah mulai invest belum?' 
-----------------------
16-10-2025 23:14:57.99173[4][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Hai! Aku robot SiMeong, kucing soal investasi. Kamu udah mulai invest belum? 
-----------------------
16-10-2025 23:14:57.99175[4][4] - Elapsed time: 0.019 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
16-10-2025 23:14:57.99177[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
16-10-2025 23:14:57.99178[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Hai! Aku robot SiMeong, kucing soal investasi. Kamu udah mulai invest belum?' to the front of the [that_raw] array 
-----------------------
16-10-2025 23:14:57.99179[4][4] - Elapsed time: 0.018 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
16-10-2025 23:14:57.99196[2][4] - Elapsed time: 0.166 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Hai! Aku robot SiMeong, kucing soal investasi. Kamu udah mulai invest belum?' to the front of the [that] array 
-----------------------
16-10-2025 23:14:57.99198[4][4] - Elapsed time: 0.024 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
16-10-2025 23:14:57.99201[4][4] - Elapsed time: 0.024 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hai!' 
-----------------------
16-10-2025 23:14:57.99202[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hai!' 
-----------------------
16-10-2025 23:14:57.99204[4][4] - Elapsed time: 0.022 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HAI' 
-----------------------
16-10-2025 23:14:57.99205[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HAI' 
-----------------------
16-10-2025 23:14:57.99207[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Aku robot SiMeong, kucing soal investasi.' 
-----------------------
16-10-2025 23:14:57.99208[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Aku robot SiMeong, kucing soal investasi.' 
-----------------------
16-10-2025 23:14:57.99210[4][4] - Elapsed time: 0.019 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU ROBOT SIMEONG KUCING SOAL INVESTASI' 
-----------------------
16-10-2025 23:14:57.99211[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU ROBOT SIMEONG KUCING SOAL INVESTASI' 
-----------------------
16-10-2025 23:14:57.99212[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Kamu udah mulai invest belum?' 
-----------------------
16-10-2025 23:14:57.99213[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Kamu udah mulai invest belum?' 
-----------------------
16-10-2025 23:14:57.99215[4][4] - Elapsed time: 0.016 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KAMU UDAH MULAI INVEST BELUM' 
-----------------------
16-10-2025 23:14:57.99217[4][4] - Elapsed time: 0.026 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KAMU UDAH MULAI INVEST BELUM' 
-----------------------
16-10-2025 23:14:57.99219[2][4] - Elapsed time: 0.022 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Hai! Aku robot SiMeong, kucing soal investasi. Kamu udah mulai invest belum?' to the front of the [parsed_template] array 
-----------------------
16-10-2025 23:14:57.99221[4][4] - Elapsed time: 0.016 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
16-10-2025 23:14:57.99223[2][4] - Elapsed time: 0.019 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Hai! Aku robot SiMeong , kucing soal investasi. Kamu udah mulai invest belum?' to the front of the [template] array 
-----------------------
16-10-2025 23:14:57.99224[4][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
16-10-2025 23:14:57.99226[2][4] - Elapsed time: 0.021 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
16-10-2025 23:14:57.99229[3][4] - Elapsed time: 0.028 milliseconds
[intialise_conversation.php][log_conversation][442]
Saving conservation SQL: INSERT INTO `si2h6234_dbaxel`.`conversation_log` (
      `id` ,
      `input` ,
      `response` ,
      `user_id` ,
      `convo_id` ,
      `bot_id` ,
      `timestamp`
    )
    VALUES (
      NULL ,
      'halo nama kamu siapa',
      'Hai! Aku robot SiMeong, kucing soal investasi. Kamu udah mulai invest belum?',
      1,
      '16a7a82e1d5b634ea4f9b32792332911',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
16-10-2025 23:14:57.99503[4][4] - Elapsed time: 2.742 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
16-10-2025 23:14:57.99550[3][4] - Elapsed time: 0.469 milliseconds
[display_conversation.php][get_conversation_to_display][59]
get_conversation SQL: SELECT * FROM `si2h6234_dbaxel`.`conversation_log` WHERE
        `user_id` = :user_id
        AND `bot_id` = :bot_id
        AND `convo_id` = :convo_id
        ORDER BY id DESC  LIMIT 1 
-----------------------
16-10-2025 23:14:57.99611[2][4] - Elapsed time: 0.604 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
16-10-2025 23:14:57.99615[4][4] - Elapsed time: 0.037 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
16-10-2025 23:14:57.99618[2][4] - Elapsed time: 0.034 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
16-10-2025 23:14:57.99621[4][4] - Elapsed time: 0.032 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"16a7a82e1d5b634ea4f9b32792332911","usersay":"halo nama kamu siapa","botsay":"Hai! Aku robot SiMeong, kucing soal investasi. Kamu udah mulai invest belum?","botData":{"convo_id":"16a7a82e1d5b634ea4f9b32792332911","bot_name":"BotKucingInvestasi","bot_id":"1","format":"json","unknown_user":"Seeker","user_id":"1","totallines":1,"user_name":"Seeker","rawSay":"halo nama kamu siapa","conversation_lines":"1","remember_up_to":"10","debugemail":"24n10015@student.unika.ac.id","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":"1","bot_id":"1","pattern":"HALO NAMA KAMU SIAPA","thatpattern":"","topic":"","filename":"botkucing.aiml","template":"Hai! Aku robot SiMeong , kucing soal investasi. Kamu udah mulai invest belum?","score":266,"current_that":"","aiml_id":"1","track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: halo (2 points), direct word match: nama (2 points), direct word match: kamu (2 points), direct word match: siapa (2 points)"}}} 
-----------------------
16-10-2025 23:14:57.99727[2][4] - Elapsed time: 1.060 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
16-10-2025 23:14:57.99735[0][4] - Elapsed time: 0.081 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 66.505 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => halo nama kamu siapa
    [conversation] => Array
        (
            [convo_id] => 16a7a82e1d5b634ea4f9b32792332911
            [bot_name] => BotKucingInvestasi
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_id] => 1
            [totallines] => 1
            [user_name] => Seeker
            [rawSay] => halo nama kamu siapa
            [conversation_lines] => 1
            [remember_up_to] => 10
            [debugemail] => 24n10015@student.unika.ac.id
            [debug_level] => 4
            [debugmode] => 1
            [save_state] => session
            [default_aiml_pattern] => RANDOM PICKUP LINE
            [bot_parent_id] => 1
            [aimlData] => Array
                (
                    [id] => 1
                    [bot_id] => 1
                    [pattern] => HALO NAMA KAMU SIAPA
                    [thatpattern] => 
                    [topic] => 
                    [filename] => botkucing.aiml
                    [template] => Hai! Aku robot SiMeong , kucing soal investasi. Kamu udah mulai invest belum?
                    [score] => 266
                    [current_that] => 
                    [aiml_id] => 1
                    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: halo (2 points), direct word match: nama (2 points), direct word match: kamu (2 points), direct word match: siapa (2 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => halo nama kamu siapa
            [lookingfor] => HALO NAMA KAMU SIAPA
            [category_id] => 1
            [pattern] => HALO NAMA KAMU SIAPA
            [thatpattern] => 
            [template] => Hai! Aku robot SiMeong , kucing soal investasi. Kamu udah mulai invest belum?
            [html_template] => 
            [topic] => 
            [score] => 266
            [aiml_id] => 1
            [stars] => Array
                (
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Hai! Aku robot SiMeong, kucing soal investasi. Kamu udah mulai invest belum?
        )

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

    [time_start] => 1760631297.9308
    [user_say] => Array
        (
            [1] => HALO NAMA KAMU SIAPA
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [input] => Array
        (
            [1] => halo nama kamu siapa
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Kamu udah mulai invest belum?
                    [3] => Aku robot SiMeong, kucing soal investasi.
                    [4] => Hai!
                )

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

    [that] => Array
        (
            [1] => Array
                (
                    [1] => KAMU UDAH MULAI INVEST BELUM
                    [2] => AKU ROBOT SIMEONG KUCING SOAL INVESTASI
                    [3] => HAI
                )

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

    [parsed_template] => Array
        (
            [1] => Hai! Aku robot SiMeong, kucing soal investasi. Kamu udah mulai invest belum?
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => Hai! Aku robot SiMeong , kucing soal investasi. Kamu udah mulai invest belum?
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"16a7a82e1d5b634ea4f9b32792332911","usersay":"halo nama kamu siapa","botsay":"Hai! Aku robot SiMeong, kucing soal investasi. Kamu udah mulai invest belum?","botData":{"convo_id":"16a7a82e1d5b634ea4f9b32792332911","bot_name":"BotKucingInvestasi","bot_id":"1","format":"json","unknown_user":"Seeker","user_id":"1","totallines":1,"user_name":"Seeker","rawSay":"halo nama kamu siapa","conversation_lines":"1","remember_up_to":"10","debugemail":"24n10015@student.unika.ac.id","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":"1","bot_id":"1","pattern":"HALO NAMA KAMU SIAPA","thatpattern":"","topic":"","filename":"botkucing.aiml","template":"Hai! Aku robot SiMeong , kucing soal investasi. Kamu udah mulai invest belum?","score":266,"current_that":"","aiml_id":"1","track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: halo (2 points), direct word match: nama (2 points), direct word match: kamu (2 points), direct word match: siapa (2 points)"}}}
)

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