15-10-2025 17:46:40.17246[0][4] - Elapsed time: 16.869 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 
-----------------------
15-10-2025 17:46:40.19947[4][4] - Elapsed time: 27.005 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
15-10-2025 17:46:40.20935[4][4] - Elapsed time: 9.877 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
15-10-2025 17:46:40.21088[4][4] - Elapsed time: 1.538 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
15-10-2025 17:46:40.21794[4][4] - Elapsed time: 7.053 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
15-10-2025 17:46:40.21798[4][4] - Elapsed time: 0.048 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
15-10-2025 17:46:40.21827[0][4] - Elapsed time: 0.282 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = b7862affc6aec0db92211eb575804a45 
-----------------------
15-10-2025 17:46:40.21830[4][4] - Elapsed time: 0.036 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'halo'. 
-----------------------
15-10-2025 17:46:40.21836[4][4] - Elapsed time: 0.054 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
15-10-2025 17:46:40.21839[4][4] - Elapsed time: 0.029 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
15-10-2025 17:46:40.21843[3][4] - Elapsed time: 0.045 milliseconds
[intialise_conversation.php][load_default_bot_values][118]
load db bot personality values SQL: SELECT * FROM `si2h6234_dbdavid`.`botpersonality` WHERE `bot_id` = 1; 
-----------------------
15-10-2025 17:46:40.21960[1][4] - Elapsed time: 1.167 milliseconds
[intialise_conversation.php][check_set_convo_id][653]
Cannot find CONVO ID. Using default: b7862affc6aec0db92211eb575804a45 
-----------------------
15-10-2025 17:46:40.21964[2][4] - Elapsed time: 0.043 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
15-10-2025 17:46:40.21968[3][4] - Elapsed time: 0.034 milliseconds
[intialise_conversation.php][check_set_bot][599]
Making sure the bot exists. SQL = SELECT * FROM `si2h6234_dbdavid`.`bots` WHERE bot_id = 1 AND `bot_active` = 1; 
-----------------------
15-10-2025 17:46:40.22079[2][4] - Elapsed time: 1.119 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
15-10-2025 17:46:40.22084[2][4] - Elapsed time: 0.047 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
15-10-2025 17:46:40.22190[2][4] - Elapsed time: 1.063 milliseconds
[handle_user.php][intisaliseUser][82]
Initializing user. 
-----------------------
15-10-2025 17:46:40.22264[3][4] - Elapsed time: 0.734 milliseconds
[handle_user.php][intisaliseUser][128]
intisaliseUser #29 SQL: INSERT INTO `users`
        (`id`, `user_name`, `session_id`, `bot_id`, `chatlines`,`ip`, `referer`, `browser`, `date_logged_on` , `last_update`    , `state`)
 VALUES (NULL, 'Seeker'  , 'b7862affc6aec0db92211eb575804a45'   , 1 , '0'        , '112.215.160.97', ''      , 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36'      , CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, ''     ); 
-----------------------
15-10-2025 17:46:40.22364[3][4] - Elapsed time: 1.006 milliseconds
[intialise_conversation.php][check_set_user][705]
Loading client properties from the DB - sql:
SELECT `name`, `value` FROM `si2h6234_dbdavid`.`client_properties` WHERE `user_id` = 29 AND `bot_id` = 1; 
-----------------------
15-10-2025 17:46:40.22423[2][4] - Elapsed time: 0.584 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
15-10-2025 17:46:40.22447[2][4] - Elapsed time: 0.240 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on halo. 
-----------------------
15-10-2025 17:46:40.22451[2][4] - Elapsed time: 0.045 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
15-10-2025 17:46:40.22593[4][4] - Elapsed time: 1.417 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'halo' 
-----------------------
15-10-2025 17:46:40.22645[4][4] - Elapsed time: 0.518 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
15-10-2025 17:46:40.22649[2][4] - Elapsed time: 0.041 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: HALO
Convo id: b7862affc6aec0db92211eb575804a45
Bot id: 1
Format:  
-----------------------
15-10-2025 17:46:40.22652[4][4] - Elapsed time: 0.028 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
15-10-2025 17:46:40.22655[2][4] - Elapsed time: 0.028 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
15-10-2025 17:46:40.22658[3][4] - Elapsed time: 0.034 milliseconds
[intialise_conversation.php][load_that][784]
Getting conversation log entries for the current user. SQL:
SELECT `input`, `response` FROM `si2h6234_dbdavid`.`conversation_log` WHERE `user_id` = 29 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
15-10-2025 17:46:40.22793[4][4] - Elapsed time: 1.347 milliseconds
[intialise_conversation.php][load_that][856]
Couldn't find any previous inputs or responses. 
-----------------------
15-10-2025 17:46:40.22879[2][4] - Elapsed time: 0.862 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
15-10-2025 17:46:40.22884[3][4] - Elapsed time: 0.050 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `si2h6234_dbdavid`.`bots` WHERE bot_id = 1; 
-----------------------
15-10-2025 17:46:40.22941[4][4] - Elapsed time: 0.573 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
15-10-2025 17:46:40.22946[0][4] - Elapsed time: 0.053 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
15-10-2025 17:46:40.22948[0][4] - Elapsed time: 0.015 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
15-10-2025 17:46:40.22949[0][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][235]
Say = HALO: raw say = halo 
-----------------------
15-10-2025 17:46:40.22950[4][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
15-10-2025 17:46:40.22952[2][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [user_say] array 
-----------------------
15-10-2025 17:46:40.22958[4][4] - Elapsed time: 0.066 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
15-10-2025 17:46:40.22961[0][4] - Elapsed time: 0.029 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = halo, RAW say = halo 
-----------------------
15-10-2025 17:46:40.22962[2][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'halo' to the front of the [input] array 
-----------------------
15-10-2025 17:46:40.22965[4][4] - Elapsed time: 0.024 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
15-10-2025 17:46:40.22969[4][4] - Elapsed time: 0.036 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
15-10-2025 17:46:40.22971[4][4] - Elapsed time: 0.024 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO' 
-----------------------
15-10-2025 17:46:40.22974[4][4] - Elapsed time: 0.032 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
15-10-2025 17:46:40.22976[4][4] - Elapsed time: 0.024 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
15-10-2025 17:46:40.23039[4][4] - Elapsed time: 0.626 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
15-10-2025 17:46:40.23046[3][4] - Elapsed time: 0.071 milliseconds
[find_aiml.php][find_userdefined_aiml][870]
User defined SQL:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `template` FROM `si2h6234_dbdavid`.`aiml_userdefined` WHERE
    `bot_id` = 1 AND
    `user_id` = 'b7862affc6aec0db92211eb575804a45'
    AND (
        'HALO' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
15-10-2025 17:46:40.23154[2][4] - Elapsed time: 1.076 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
15-10-2025 17:46:40.23157[4][4] - Elapsed time: 0.028 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
15-10-2025 17:46:40.23158[4][4] - Elapsed time: 0.013 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
15-10-2025 17:46:40.23222[4][4] - Elapsed time: 0.643 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
15-10-2025 17:46:40.23227[3][4] - Elapsed time: 0.049 milliseconds
[find_aiml.php][find_aiml_matches][1052]
Core Match AIML sql:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `topic`, `filename`, `template` FROM `si2h6234_dbdavid`.`aiml` WHERE
    bot_id = 1 AND (
        'HALO' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
15-10-2025 17:46:40.23353[3][4] - Elapsed time: 1.262 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
15-10-2025 17:46:40.23357[2][4] - Elapsed time: 0.034 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (2) potential AIML matches 
-----------------------
15-10-2025 17:46:40.23423[4][4] - Elapsed time: 0.665 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 2 rows to unset bad matches 
-----------------------
15-10-2025 17:46:40.23426[4][4] - Elapsed time: 0.029 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][62]
Blue 5 to Blue leader. Starting my run now! Looking for 'HALO' 
-----------------------
15-10-2025 17:46:40.23451[1][4] - Elapsed time: 0.245 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][182]
Error: FOUND NO AIML matches in DB 
-----------------------
15-10-2025 17:46:40.23453[4][4] - Elapsed time: 0.029 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 1 relevant rows 
-----------------------
15-10-2025 17:46:40.23455[4][4] - Elapsed time: 0.016 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
15-10-2025 17:46:40.23525[1][4] - Elapsed time: 0.695 milliseconds
[find_aiml.php][score_matches][329]
Found an error trying to identify the chatbot. 
-----------------------
15-10-2025 17:46:40.23529[4][4] - Elapsed time: 0.039 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
)
 
-----------------------
15-10-2025 17:46:40.23531[2][4] - Elapsed time: 0.022 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
)

 
-----------------------
15-10-2025 17:46:40.23574[4][4] - Elapsed time: 0.435 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => -1
    [aiml_id] => -1
    [bot_id] => 1
    [pattern] => no results
    [thatpattern] => 
    [topic] => 
    [template] => Loq Bot, Belum Bisa Menjawab
    [score] => 0
    [track_score] => No Match Found!
)
 
-----------------------
15-10-2025 17:46:40.23576[2][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
15-10-2025 17:46:40.23579[4][4] - Elapsed time: 0.030 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:-1 (no results) 
-----------------------
15-10-2025 17:46:40.23580[3][4] - Elapsed time: 0.016 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
15-10-2025 17:46:40.23582[2][4] - Elapsed time: 0.014 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'no results' 
-----------------------
15-10-2025 17:46:40.23583[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
15-10-2025 17:46:40.23584[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
15-10-2025 17:46:40.23586[2][4] - Elapsed time: 0.022 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => -1
    [category_id] => -1
    [html_template] => 
    [lookingfor] => HALO
    [pattern] => no results
    [score] => 0
    [stars] => Array
        (
        )

    [template] => Loq Bot, Belum Bisa Menjawab
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => halo
)
 
-----------------------
15-10-2025 17:46:40.23588[2][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
15-10-2025 17:46:40.23589[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
15-10-2025 17:46:40.23600[4][4] - Elapsed time: 0.104 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><text>Loq Bot, Belum Bisa Menjawab</text></template> 
-----------------------
15-10-2025 17:46:40.23622[2][4] - Elapsed time: 0.221 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
15-10-2025 17:46:40.23627[4][4] - Elapsed time: 0.057 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><text>Loq Bot, Belum Bisa Menjawab</text></template>
 
-----------------------
15-10-2025 17:46:40.23629[4][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
15-10-2025 17:46:40.23632[2][4] - Elapsed time: 0.026 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
15-10-2025 17:46:40.23634[4][4] - Elapsed time: 0.029 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>Loq Bot, Belum Bisa Menjawab</text> 
-----------------------
15-10-2025 17:46:40.23636[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
15-10-2025 17:46:40.23637[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
15-10-2025 17:46:40.23638[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
15-10-2025 17:46:40.23639[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Loq Bot, Belum Bisa Menjawab' to the response array. tag name is text 
-----------------------
15-10-2025 17:46:40.23641[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
15-10-2025 17:46:40.23644[2][4] - Elapsed time: 0.031 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Loq Bot, Belum Bisa Menjawab
)

 
-----------------------
15-10-2025 17:46:40.23645[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
15-10-2025 17:46:40.23646[4][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Loq Bot, Belum Bisa Menjawab' 
-----------------------
15-10-2025 17:46:40.23648[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Loq Bot, Belum Bisa Menjawab' to the response array. tag name is template. 
-----------------------
15-10-2025 17:46:40.23650[2][4] - Elapsed time: 0.021 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
15-10-2025 17:46:40.23651[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Loq Bot, Belum Bisa Menjawab
)

 
-----------------------
15-10-2025 17:46:40.23652[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
15-10-2025 17:46:40.23653[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Loq Bot, Belum Bisa Menjawab' 
-----------------------
15-10-2025 17:46:40.23655[4][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Loq Bot, Belum Bisa Menjawab 
-----------------------
15-10-2025 17:46:40.23657[4][4] - Elapsed time: 0.018 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
15-10-2025 17:46:40.23658[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
15-10-2025 17:46:40.23659[2][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Loq Bot, Belum Bisa Menjawab' to the front of the [that_raw] array 
-----------------------
15-10-2025 17:46:40.23661[4][4] - Elapsed time: 0.017 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
15-10-2025 17:46:40.23677[2][4] - Elapsed time: 0.160 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Loq Bot, Belum Bisa Menjawab' to the front of the [that] array 
-----------------------
15-10-2025 17:46:40.23679[4][4] - Elapsed time: 0.021 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
15-10-2025 17:46:40.23681[4][4] - Elapsed time: 0.022 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Loq Bot, Belum Bisa Menjawab' 
-----------------------
15-10-2025 17:46:40.23682[4][4] - Elapsed time: 0.013 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Loq Bot, Belum Bisa Menjawab' 
-----------------------
15-10-2025 17:46:40.23685[4][4] - Elapsed time: 0.023 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'LOQ BOT BELUM BISA MENJAWAB' 
-----------------------
15-10-2025 17:46:40.23686[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'LOQ BOT BELUM BISA MENJAWAB' 
-----------------------
15-10-2025 17:46:40.23688[2][4] - Elapsed time: 0.020 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Loq Bot, Belum Bisa Menjawab' to the front of the [parsed_template] array 
-----------------------
15-10-2025 17:46:40.23689[4][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
15-10-2025 17:46:40.23691[2][4] - Elapsed time: 0.019 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Loq Bot, Belum Bisa Menjawab' to the front of the [template] array 
-----------------------
15-10-2025 17:46:40.23692[4][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
15-10-2025 17:46:40.23694[2][4] - Elapsed time: 0.019 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
15-10-2025 17:46:40.23697[3][4] - Elapsed time: 0.024 milliseconds
[intialise_conversation.php][log_conversation][442]
Saving conservation SQL: INSERT INTO `si2h6234_dbdavid`.`conversation_log` (
      `id` ,
      `input` ,
      `response` ,
      `user_id` ,
      `convo_id` ,
      `bot_id` ,
      `timestamp`
    )
    VALUES (
      NULL ,
      'halo',
      'Loq Bot, Belum Bisa Menjawab',
      29,
      'b7862affc6aec0db92211eb575804a45',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
15-10-2025 17:46:40.24003[4][4] - Elapsed time: 3.059 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
15-10-2025 17:46:40.24044[3][4] - Elapsed time: 0.416 milliseconds
[display_conversation.php][get_conversation_to_display][59]
get_conversation SQL: SELECT * FROM `si2h6234_dbdavid`.`conversation_log` WHERE
        `user_id` = :user_id
        AND `bot_id` = :bot_id
        AND `convo_id` = :convo_id
        ORDER BY id DESC  LIMIT 1 
-----------------------
15-10-2025 17:46:40.24109[2][4] - Elapsed time: 0.650 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
15-10-2025 17:46:40.24113[4][4] - Elapsed time: 0.034 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
15-10-2025 17:46:40.24114[2][4] - Elapsed time: 0.016 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
15-10-2025 17:46:40.24117[4][4] - Elapsed time: 0.028 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"b7862affc6aec0db92211eb575804a45","usersay":"halo","botsay":"Loq Bot, Belum Bisa Menjawab","botData":{"convo_id":"b7862affc6aec0db92211eb575804a45","bot_name":"Loq Bot","bot_id":"1","format":"json","unknown_user":"Seeker","user_id":"29","totallines":1,"user_name":"Seeker","rawSay":"halo","conversation_lines":"1","remember_up_to":"10","debugemail":"24n10025@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,"aiml_id":-1,"bot_id":"1","pattern":"no results","thatpattern":"","topic":"","template":"Loq Bot, Belum Bisa Menjawab","score":0,"track_score":"No Match Found!"}}} 
-----------------------
15-10-2025 17:46:40.24211[2][4] - Elapsed time: 0.938 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
15-10-2025 17:46:40.24219[0][4] - Elapsed time: 0.086 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 86.542 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => halo
    [conversation] => Array
        (
            [convo_id] => b7862affc6aec0db92211eb575804a45
            [bot_name] => Loq Bot
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_id] => 29
            [totallines] => 1
            [user_name] => Seeker
            [rawSay] => halo
            [conversation_lines] => 1
            [remember_up_to] => 10
            [debugemail] => 24n10025@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
                    [aiml_id] => -1
                    [bot_id] => 1
                    [pattern] => no results
                    [thatpattern] => 
                    [topic] => 
                    [template] => Loq Bot, Belum Bisa Menjawab
                    [score] => 0
                    [track_score] => No Match Found!
                )

        )

    [aiml] => Array
        (
            [user_raw] => halo
            [lookingfor] => HALO
            [category_id] => -1
            [pattern] => no results
            [thatpattern] => 
            [template] => Loq Bot, Belum Bisa Menjawab
            [html_template] => 
            [topic] => 
            [score] => 0
            [aiml_id] => -1
            [stars] => Array
                (
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Loq Bot, Belum Bisa Menjawab
        )

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

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

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

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Loq Bot, Belum Bisa Menjawab
                )

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

    [that] => Array
        (
            [1] => Array
                (
                    [1] => LOQ BOT BELUM BISA MENJAWAB
                )

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

    [parsed_template] => Array
        (
            [1] => Loq Bot, Belum Bisa Menjawab
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => Loq Bot, Belum Bisa Menjawab
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"b7862affc6aec0db92211eb575804a45","usersay":"halo","botsay":"Loq Bot, Belum Bisa Menjawab","botData":{"convo_id":"b7862affc6aec0db92211eb575804a45","bot_name":"Loq Bot","bot_id":"1","format":"json","unknown_user":"Seeker","user_id":"29","totallines":1,"user_name":"Seeker","rawSay":"halo","conversation_lines":"1","remember_up_to":"10","debugemail":"24n10025@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,"aiml_id":-1,"bot_id":"1","pattern":"no results","thatpattern":"","topic":"","template":"Loq Bot, Belum Bisa Menjawab","score":0,"track_score":"No Match Found!"}}}
)

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