26-09-2025 10:07:29.98671[0][4] - Elapsed time: 9.611 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 
-----------------------
26-09-2025 10:07:29.98730[4][4] - Elapsed time: 0.594 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
26-09-2025 10:07:29.98769[4][4] - Elapsed time: 0.389 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
26-09-2025 10:07:29.98788[4][4] - Elapsed time: 0.190 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
26-09-2025 10:07:29.98861[4][4] - Elapsed time: 0.729 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
26-09-2025 10:07:29.98863[4][4] - Elapsed time: 0.023 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
26-09-2025 10:07:29.98887[0][4] - Elapsed time: 0.234 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = 68811dec71e36e48984e41e85ab49bbc 
-----------------------
26-09-2025 10:07:29.98889[4][4] - Elapsed time: 0.023 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'APA LAGU KESUKAANMU'. 
-----------------------
26-09-2025 10:07:29.98893[4][4] - Elapsed time: 0.036 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
26-09-2025 10:07:29.98894[4][4] - Elapsed time: 0.016 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
26-09-2025 10:07:29.98896[3][4] - Elapsed time: 0.019 milliseconds
[intialise_conversation.php][load_default_bot_values][118]
load db bot personality values SQL: SELECT * FROM `si2h6234_dbbigel`.`botpersonality` WHERE `bot_id` = 1; 
-----------------------
26-09-2025 10:07:29.98958[1][4] - Elapsed time: 0.624 milliseconds
[intialise_conversation.php][check_set_convo_id][653]
Cannot find CONVO ID. Using default: 68811dec71e36e48984e41e85ab49bbc 
-----------------------
26-09-2025 10:07:29.98961[2][4] - Elapsed time: 0.026 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
26-09-2025 10:07:29.98963[3][4] - Elapsed time: 0.019 milliseconds
[intialise_conversation.php][check_set_bot][599]
Making sure the bot exists. SQL = SELECT * FROM `si2h6234_dbbigel`.`bots` WHERE bot_id = 1 AND `bot_active` = 1; 
-----------------------
26-09-2025 10:07:29.99038[2][4] - Elapsed time: 0.751 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
26-09-2025 10:07:29.99042[2][4] - Elapsed time: 0.037 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
26-09-2025 10:07:29.99106[2][4] - Elapsed time: 0.644 milliseconds
[handle_user.php][intisaliseUser][82]
Initializing user. 
-----------------------
26-09-2025 10:07:29.99181[3][4] - Elapsed time: 0.743 milliseconds
[handle_user.php][intisaliseUser][128]
intisaliseUser #16 SQL: INSERT INTO `users`
        (`id`, `user_name`, `session_id`, `bot_id`, `chatlines`,`ip`, `referer`, `browser`, `date_logged_on` , `last_update`    , `state`)
 VALUES (NULL, 'Seeker'  , '68811dec71e36e48984e41e85ab49bbc'   , 1 , '0'        , '202.10.43.123', ''      , 'unknown browser'      , CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, ''     ); 
-----------------------
26-09-2025 10:07:29.99235[3][4] - Elapsed time: 0.544 milliseconds
[intialise_conversation.php][check_set_user][705]
Loading client properties from the DB - sql:
SELECT `name`, `value` FROM `si2h6234_dbbigel`.`client_properties` WHERE `user_id` = 16 AND `bot_id` = 1; 
-----------------------
26-09-2025 10:07:29.99299[2][4] - Elapsed time: 0.644 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
26-09-2025 10:07:29.99317[2][4] - Elapsed time: 0.172 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on APA. 
-----------------------
26-09-2025 10:07:29.99320[2][4] - Elapsed time: 0.031 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
26-09-2025 10:07:29.99410[2][4] - Elapsed time: 0.907 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
26-09-2025 10:07:29.99415[2][4] - Elapsed time: 0.050 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on LAGU. 
-----------------------
26-09-2025 10:07:29.99420[2][4] - Elapsed time: 0.044 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
26-09-2025 10:07:29.99422[2][4] - Elapsed time: 0.027 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on KESUKAANMU. 
-----------------------
26-09-2025 10:07:29.99427[4][4] - Elapsed time: 0.050 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'APA LAGU KESUKAANMU' 
-----------------------
26-09-2025 10:07:29.99455[4][4] - Elapsed time: 0.280 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA LAGU KESUKAANMU' 
-----------------------
26-09-2025 10:07:29.99458[2][4] - Elapsed time: 0.022 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: APA LAGU KESUKAANMU
Convo id: 68811dec71e36e48984e41e85ab49bbc
Bot id: 1
Format: json 
-----------------------
26-09-2025 10:07:29.99459[4][4] - Elapsed time: 0.018 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
26-09-2025 10:07:29.99461[2][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
26-09-2025 10:07:29.99463[3][4] - Elapsed time: 0.021 milliseconds
[intialise_conversation.php][load_that][784]
Getting conversation log entries for the current user. SQL:
SELECT `input`, `response` FROM `si2h6234_dbbigel`.`conversation_log` WHERE `user_id` = 16 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
26-09-2025 10:07:29.99537[4][4] - Elapsed time: 0.743 milliseconds
[intialise_conversation.php][load_that][856]
Couldn't find any previous inputs or responses. 
-----------------------
26-09-2025 10:07:29.99587[2][4] - Elapsed time: 0.496 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
26-09-2025 10:07:29.99589[3][4] - Elapsed time: 0.024 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `si2h6234_dbbigel`.`bots` WHERE bot_id = 1; 
-----------------------
26-09-2025 10:07:29.99646[4][4] - Elapsed time: 0.566 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
26-09-2025 10:07:29.99648[0][4] - Elapsed time: 0.027 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
26-09-2025 10:07:29.99650[0][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
26-09-2025 10:07:29.99651[0][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][235]
Say = APA LAGU KESUKAANMU: raw say = APA LAGU KESUKAANMU 
-----------------------
26-09-2025 10:07:29.99652[4][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
26-09-2025 10:07:29.99654[2][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'APA LAGU KESUKAANMU' to the front of the [user_say] array 
-----------------------
26-09-2025 10:07:29.99660[4][4] - Elapsed time: 0.061 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
26-09-2025 10:07:29.99663[0][4] - Elapsed time: 0.031 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = APA LAGU KESUKAANMU, RAW say = APA LAGU KESUKAANMU 
-----------------------
26-09-2025 10:07:29.99664[2][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'APA LAGU KESUKAANMU' to the front of the [input] array 
-----------------------
26-09-2025 10:07:29.99665[4][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
26-09-2025 10:07:29.99668[4][4] - Elapsed time: 0.020 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
26-09-2025 10:07:29.99669[4][4] - Elapsed time: 0.013 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'APA LAGU KESUKAANMU' 
-----------------------
26-09-2025 10:07:29.99671[4][4] - Elapsed time: 0.021 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA LAGU KESUKAANMU' 
-----------------------
26-09-2025 10:07:29.99672[4][4] - Elapsed time: 0.012 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
26-09-2025 10:07:29.99734[4][4] - Elapsed time: 0.620 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
26-09-2025 10:07:29.99738[3][4] - Elapsed time: 0.036 milliseconds
[find_aiml.php][find_userdefined_aiml][870]
User defined SQL:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `template` FROM `si2h6234_dbbigel`.`aiml_userdefined` WHERE
    `bot_id` = 1 AND
    `user_id` = '68811dec71e36e48984e41e85ab49bbc'
    AND (
        'APA LAGU KESUKAANMU' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
26-09-2025 10:07:29.99802[2][4] - Elapsed time: 0.641 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
26-09-2025 10:07:29.99805[4][4] - Elapsed time: 0.037 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
26-09-2025 10:07:29.99807[4][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
26-09-2025 10:07:29.99874[4][4] - Elapsed time: 0.666 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
26-09-2025 10:07:29.99879[3][4] - Elapsed time: 0.051 milliseconds
[find_aiml.php][find_aiml_matches][1052]
Core Match AIML sql:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `topic`, `filename`, `template` FROM `si2h6234_dbbigel`.`aiml` WHERE
    bot_id = 1 AND (
        'APA LAGU KESUKAANMU' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
26-09-2025 10:07:29.99978[3][4] - Elapsed time: 0.996 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
26-09-2025 10:07:29.99982[2][4] - Elapsed time: 0.036 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (1) potential AIML matches 
-----------------------
26-09-2025 10:07:30.00046[4][4] - Elapsed time: 0.646 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 1 rows to unset bad matches 
-----------------------
26-09-2025 10:07:30.00049[4][4] - Elapsed time: 0.022 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][62]
Blue 5 to Blue leader. Starting my run now! Looking for 'APA LAGU KESUKAANMU' 
-----------------------
26-09-2025 10:07:30.00063[4][4] - Elapsed time: 0.140 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 1 relevant rows 
-----------------------
26-09-2025 10:07:30.00065[4][4] - Elapsed time: 0.022 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
26-09-2025 10:07:30.00129[4][4] - Elapsed time: 0.638 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 127
            [bot_id] => 1
            [pattern] => APA LAGU KESUKAANMU
            [thatpattern] => 
            [topic] => 
            [filename] => CONTOH TUGAS.aiml
            [template] => Banyak, ayo ngobrolin <set name="topic">musik</set>
            [score] => 264
            [current_that] => 
            [aiml_id] => 127
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: apa (2 points), direct word match: lagu (2 points), direct word match: kesukaanmu (2 points)
        )

)
 
-----------------------
26-09-2025 10:07:30.00132[2][4] - Elapsed time: 0.035 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 127
            [bot_id] => 1
            [pattern] => APA LAGU KESUKAANMU
            [thatpattern] => 
            [topic] => 
            [filename] => CONTOH TUGAS.aiml
            [template] => Banyak, ayo ngobrolin <set name="topic">musik</set>
            [score] => 264
            [current_that] => 
            [aiml_id] => 127
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: apa (2 points), direct word match: lagu (2 points), direct word match: kesukaanmu (2 points)
        )

)

 
-----------------------
26-09-2025 10:07:30.00181[4][4] - Elapsed time: 0.485 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 127
    [bot_id] => 1
    [pattern] => APA LAGU KESUKAANMU
    [thatpattern] => 
    [topic] => 
    [filename] => CONTOH TUGAS.aiml
    [template] => Banyak, ayo ngobrolin <set name="topic">musik</set>
    [score] => 264
    [current_that] => 
    [aiml_id] => 127
    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: apa (2 points), direct word match: lagu (2 points), direct word match: kesukaanmu (2 points)
)
 
-----------------------
26-09-2025 10:07:30.00182[2][4] - Elapsed time: 0.017 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
26-09-2025 10:07:30.00186[4][4] - Elapsed time: 0.032 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:127 (APA LAGU KESUKAANMU) 
-----------------------
26-09-2025 10:07:30.00187[3][4] - Elapsed time: 0.015 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
26-09-2025 10:07:30.00189[2][4] - Elapsed time: 0.015 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'APA LAGU KESUKAANMU' 
-----------------------
26-09-2025 10:07:30.00190[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
26-09-2025 10:07:30.00191[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
26-09-2025 10:07:30.00193[2][4] - Elapsed time: 0.022 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 127
    [category_id] => 127
    [html_template] => 
    [lookingfor] => APA LAGU KESUKAANMU
    [pattern] => APA LAGU KESUKAANMU
    [score] => 264
    [stars] => Array
        (
        )

    [template] => Banyak, ayo ngobrolin <set name="topic">musik</set>
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => APA LAGU KESUKAANMU
)
 
-----------------------
26-09-2025 10:07:30.00195[2][4] - Elapsed time: 0.017 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
26-09-2025 10:07:30.00197[2][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
26-09-2025 10:07:30.00207[4][4] - Elapsed time: 0.106 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><text>Banyak, ayo ngobrolin </text><set name="topic"><text>musik</text></set></template> 
-----------------------
26-09-2025 10:07:30.00234[2][4] - Elapsed time: 0.271 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
26-09-2025 10:07:30.00243[4][4] - Elapsed time: 0.088 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><text>Banyak, ayo ngobrolin </text><set name="topic"><text>musik</text></set></template>
 
-----------------------
26-09-2025 10:07:30.00245[4][4] - Elapsed time: 0.017 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
26-09-2025 10:07:30.00248[2][4] - Elapsed time: 0.027 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
26-09-2025 10:07:30.00250[4][4] - Elapsed time: 0.029 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>Banyak, ayo ngobrolin </text> 
-----------------------
26-09-2025 10:07:30.00252[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
26-09-2025 10:07:30.00253[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
26-09-2025 10:07:30.00254[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
26-09-2025 10:07:30.00256[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Banyak, ayo ngobrolin ' to the response array. tag name is text 
-----------------------
26-09-2025 10:07:30.00257[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
26-09-2025 10:07:30.00258[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Banyak, ayo ngobrolin 
)

 
-----------------------
26-09-2025 10:07:30.00259[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
26-09-2025 10:07:30.00261[4][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Banyak, ayo ngobrolin ' 
-----------------------
26-09-2025 10:07:30.00262[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Banyak, ayo ngobrolin ' to the response array. tag name is template. 
-----------------------
26-09-2025 10:07:30.00264[2][4] - Elapsed time: 0.017 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
26-09-2025 10:07:30.00266[4][4] - Elapsed time: 0.021 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element set at level 1. element XML = <set name="topic"><text>musik</text></set> 
-----------------------
26-09-2025 10:07:30.00267[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_set_tag does exist. Processing now. 
-----------------------
26-09-2025 10:07:30.00268[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element set to the parse_set_tag function 
-----------------------
26-09-2025 10:07:30.00270[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][557]
Parsing the SET tag. 
-----------------------
26-09-2025 10:07:30.00272[2][4] - Elapsed time: 0.025 milliseconds
[parse_aiml_as_XML.php][tag_to_string][1400]
converting the set tag into text. 
-----------------------
26-09-2025 10:07:30.00274[2][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
26-09-2025 10:07:30.00275[4][4] - Elapsed time: 0.017 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 2. element XML = <text>musik</text> 
-----------------------
26-09-2025 10:07:30.00277[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
26-09-2025 10:07:30.00278[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
26-09-2025 10:07:30.00279[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
26-09-2025 10:07:30.00280[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'musik' to the response array. tag name is text 
-----------------------
26-09-2025 10:07:30.00281[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
26-09-2025 10:07:30.00283[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Array
        (
            [0] => musik
        )

)

 
-----------------------
26-09-2025 10:07:30.00284[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
26-09-2025 10:07:30.00285[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
26-09-2025 10:07:30.00286[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => musik
)

 
-----------------------
26-09-2025 10:07:30.00287[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
26-09-2025 10:07:30.00288[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'musik' 
-----------------------
26-09-2025 10:07:30.00291[2][4] - Elapsed time: 0.025 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][568]
Adding 'topic' to the client properties array. Value is 'musik' 
-----------------------
26-09-2025 10:07:30.00292[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][569]
Client properties: Array
(
    [ip_address] => 202.10.43.123
    [name] => Seeker
    [topic] => musik
)
 
-----------------------
26-09-2025 10:07:30.00363[2][4] - Elapsed time: 0.708 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][582]
Inserting data into the DB 
-----------------------
26-09-2025 10:07:30.00414[4][4] - Elapsed time: 0.508 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'musik' to the response array. tag name is set 
-----------------------
26-09-2025 10:07:30.00416[2][4] - Elapsed time: 0.022 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
26-09-2025 10:07:30.00417[2][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => musik
)

 
-----------------------
26-09-2025 10:07:30.00419[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
26-09-2025 10:07:30.00420[4][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'musik' 
-----------------------
26-09-2025 10:07:30.00422[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'musik' to the response array. tag name is template. 
-----------------------
26-09-2025 10:07:30.00423[2][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
26-09-2025 10:07:30.00424[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Banyak, ayo ngobrolin 
    [1] => musik
)

 
-----------------------
26-09-2025 10:07:30.00425[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
26-09-2025 10:07:30.00428[4][4] - Elapsed time: 0.029 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Banyak, ayo ngobrolin musik' 
-----------------------
26-09-2025 10:07:30.00430[4][4] - Elapsed time: 0.017 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Banyak, ayo ngobrolin musik 
-----------------------
26-09-2025 10:07:30.00432[4][4] - Elapsed time: 0.024 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
26-09-2025 10:07:30.00433[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
26-09-2025 10:07:30.00435[2][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Banyak, ayo ngobrolin musik' to the front of the [that_raw] array 
-----------------------
26-09-2025 10:07:30.00437[4][4] - Elapsed time: 0.019 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
26-09-2025 10:07:30.00453[2][4] - Elapsed time: 0.161 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Banyak, ayo ngobrolin musik' to the front of the [that] array 
-----------------------
26-09-2025 10:07:30.00455[4][4] - Elapsed time: 0.024 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
26-09-2025 10:07:30.00458[4][4] - Elapsed time: 0.024 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Banyak, ayo ngobrolin musik' 
-----------------------
26-09-2025 10:07:30.00459[4][4] - Elapsed time: 0.016 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Banyak, ayo ngobrolin musik' 
-----------------------
26-09-2025 10:07:30.00462[4][4] - Elapsed time: 0.024 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BANYAK AYO NGOBROLIN MUSIK' 
-----------------------
26-09-2025 10:07:30.00463[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BANYAK AYO NGOBROLIN MUSIK' 
-----------------------
26-09-2025 10:07:30.00465[2][4] - Elapsed time: 0.021 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Banyak, ayo ngobrolin musik' to the front of the [parsed_template] array 
-----------------------
26-09-2025 10:07:30.00466[4][4] - Elapsed time: 0.015 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
26-09-2025 10:07:30.00468[2][4] - Elapsed time: 0.020 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Banyak, ayo ngobrolin <set name="topic">musik</set>' to the front of the [template] array 
-----------------------
26-09-2025 10:07:30.00470[4][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
26-09-2025 10:07:30.00472[2][4] - Elapsed time: 0.022 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
26-09-2025 10:07:30.00474[3][4] - Elapsed time: 0.025 milliseconds
[intialise_conversation.php][log_conversation][442]
Saving conservation SQL: INSERT INTO `si2h6234_dbbigel`.`conversation_log` (
      `id` ,
      `input` ,
      `response` ,
      `user_id` ,
      `convo_id` ,
      `bot_id` ,
      `timestamp`
    )
    VALUES (
      NULL ,
      'APA LAGU KESUKAANMU',
      'Banyak, ayo ngobrolin musik',
      16,
      '68811dec71e36e48984e41e85ab49bbc',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
26-09-2025 10:07:30.00925[4][4] - Elapsed time: 4.508 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
26-09-2025 10:07:30.00985[3][4] - Elapsed time: 0.601 milliseconds
[display_conversation.php][get_conversation_to_display][59]
get_conversation SQL: SELECT * FROM `si2h6234_dbbigel`.`conversation_log` WHERE
        `user_id` = :user_id
        AND `bot_id` = :bot_id
        AND `convo_id` = :convo_id
        ORDER BY id DESC  LIMIT 1 
-----------------------
26-09-2025 10:07:30.01053[2][4] - Elapsed time: 0.680 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
26-09-2025 10:07:30.01056[4][4] - Elapsed time: 0.029 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
26-09-2025 10:07:30.01058[2][4] - Elapsed time: 0.015 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
26-09-2025 10:07:30.01061[4][4] - Elapsed time: 0.035 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"68811dec71e36e48984e41e85ab49bbc","usersay":"APA LAGU KESUKAANMU","botsay":"Banyak, ayo ngobrolin musik","botData":{"convo_id":"68811dec71e36e48984e41e85ab49bbc","bot_name":"bigel","bot_id":"1","format":"json","unknown_user":"Seeker","user_id":"16","totallines":1,"user_name":"Seeker","rawSay":"APA LAGU KESUKAANMU","conversation_lines":"1","remember_up_to":"10","debugemail":"pratama0mal.in@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":"127","bot_id":"1","pattern":"APA LAGU KESUKAANMU","thatpattern":"","topic":"","filename":"CONTOH TUGAS.aiml","template":"Banyak, ayo ngobrolin <set name=\"topic\">musik<\/set>","score":264,"current_that":"","aiml_id":"127","track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: apa (2 points), direct word match: lagu (2 points), direct word match: kesukaanmu (2 points)"}}} 
-----------------------
26-09-2025 10:07:30.01125[2][4] - Elapsed time: 0.636 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
26-09-2025 10:07:30.01135[0][4] - Elapsed time: 0.103 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 34.191 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => APA LAGU KESUKAANMU
    [conversation] => Array
        (
            [convo_id] => 68811dec71e36e48984e41e85ab49bbc
            [bot_name] => bigel
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_id] => 16
            [totallines] => 1
            [user_name] => Seeker
            [rawSay] => APA LAGU KESUKAANMU
            [conversation_lines] => 1
            [remember_up_to] => 10
            [debugemail] => pratama0mal.in@gmail.com
            [debug_level] => 4
            [debugmode] => 1
            [save_state] => session
            [default_aiml_pattern] => RANDOM PICKUP LINE
            [bot_parent_id] => 1
            [aimlData] => Array
                (
                    [id] => 127
                    [bot_id] => 1
                    [pattern] => APA LAGU KESUKAANMU
                    [thatpattern] => 
                    [topic] => 
                    [filename] => CONTOH TUGAS.aiml
                    [template] => Banyak, ayo ngobrolin <set name="topic">musik</set>
                    [score] => 264
                    [current_that] => 
                    [aiml_id] => 127
                    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: apa (2 points), direct word match: lagu (2 points), direct word match: kesukaanmu (2 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => APA LAGU KESUKAANMU
            [lookingfor] => APA LAGU KESUKAANMU
            [category_id] => 127
            [pattern] => APA LAGU KESUKAANMU
            [thatpattern] => 
            [template] => Banyak, ayo ngobrolin <set name="topic">musik</set>
            [html_template] => 
            [topic] => 
            [score] => 264
            [aiml_id] => 127
            [stars] => Array
                (
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Banyak, ayo ngobrolin musik
        )

    [client_properties] => Array
        (
            [ip_address] => 202.10.43.123
            [name] => Seeker
            [topic] => musik
        )

    [time_start] => 1758856049.9771
    [user_say] => Array
        (
            [1] => APA LAGU KESUKAANMU
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [input] => Array
        (
            [1] => APA LAGU KESUKAANMU
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Banyak, ayo ngobrolin musik
                )

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

    [that] => Array
        (
            [1] => Array
                (
                    [1] => BANYAK AYO NGOBROLIN MUSIK
                )

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

    [parsed_template] => Array
        (
            [1] => Banyak, ayo ngobrolin musik
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => Banyak, ayo ngobrolin <set name="topic">musik</set>
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"68811dec71e36e48984e41e85ab49bbc","usersay":"APA LAGU KESUKAANMU","botsay":"Banyak, ayo ngobrolin musik","botData":{"convo_id":"68811dec71e36e48984e41e85ab49bbc","bot_name":"bigel","bot_id":"1","format":"json","unknown_user":"Seeker","user_id":"16","totallines":1,"user_name":"Seeker","rawSay":"APA LAGU KESUKAANMU","conversation_lines":"1","remember_up_to":"10","debugemail":"pratama0mal.in@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":"127","bot_id":"1","pattern":"APA LAGU KESUKAANMU","thatpattern":"","topic":"","filename":"CONTOH TUGAS.aiml","template":"Banyak, ayo ngobrolin <set name=\"topic\">musik<\/set>","score":264,"current_that":"","aiml_id":"127","track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: apa (2 points), direct word match: lagu (2 points), direct word match: kesukaanmu (2 points)"}}}
)

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