28-10-2025 22:24:19.44172[0][4] - Elapsed time: 0.910 milliseconds
[conversation_start.php][Called outside of function][56]
Conversation starting. Current system specs:
  Program O version:            2.6.11
  Server Software:              LiteSpeed
  PHP Version:                  7.4.33
  OS:                           Linux
  OS Version:                   #1 SMP PREEMPT_DYNAMIC Wed Oct 15 06:39:08 EDT 2025
  MySQL Version:                11.4.8-MariaDB-cll-lve
  Multi-byte functions enabled: true 
-----------------------
28-10-2025 22:24:19.44212[4][4] - Elapsed time: 0.399 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
28-10-2025 22:24:19.44240[4][4] - Elapsed time: 0.290 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
28-10-2025 22:24:19.44257[4][4] - Elapsed time: 0.161 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
28-10-2025 22:24:19.44312[4][4] - Elapsed time: 0.553 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
28-10-2025 22:24:19.44314[4][4] - Elapsed time: 0.021 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
28-10-2025 22:24:19.44330[1][4] - Elapsed time: 0.157 milliseconds
[conversation_start.php][Called outside of function][118]
PHP ERROR [Warning] -session_id(): Cannot change session id when session is active in /home/siew8359/public_html/dannus.siega23.com/Program-O/chatbot/conversation_start.php on Line 118 
-----------------------
28-10-2025 22:24:19.44373[0][4] - Elapsed time: 0.432 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = 85d75a448fea396e2c0e9ea57ec16bf3 
-----------------------
28-10-2025 22:24:19.44375[4][4] - Elapsed time: 0.019 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'halo'. 
-----------------------
28-10-2025 22:24:19.44376[4][4] - Elapsed time: 0.016 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
28-10-2025 22:24:19.44378[4][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
28-10-2025 22:24:19.44380[3][4] - Elapsed time: 0.026 milliseconds
[intialise_conversation.php][load_default_bot_values][118]
load db bot personality values SQL: SELECT * FROM `siew8359_dannu`.`botpersonality` WHERE `bot_id` = 1; 
-----------------------
28-10-2025 22:24:19.44426[4][4] - Elapsed time: 0.461 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value: d691a9f1d78e60289ed8ed3fa176672d 
-----------------------
28-10-2025 22:24:19.44429[2][4] - Elapsed time: 0.021 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
28-10-2025 22:24:19.44430[3][4] - Elapsed time: 0.017 milliseconds
[intialise_conversation.php][check_set_bot][599]
Making sure the bot exists. SQL = SELECT * FROM `siew8359_dannu`.`bots` WHERE bot_id = 1 AND `bot_active` = 1; 
-----------------------
28-10-2025 22:24:19.44459[2][4] - Elapsed time: 0.288 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
28-10-2025 22:24:19.44461[2][4] - Elapsed time: 0.019 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
28-10-2025 22:24:19.44502[3][4] - Elapsed time: 0.411 milliseconds
[intialise_conversation.php][check_set_user][705]
Loading client properties from the DB - sql:
SELECT `name`, `value` FROM `siew8359_dannu`.`client_properties` WHERE `user_id` = 4 AND `bot_id` = 1; 
-----------------------
28-10-2025 22:24:19.44567[2][4] - Elapsed time: 0.654 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
28-10-2025 22:24:19.44577[2][4] - Elapsed time: 0.099 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on halo. 
-----------------------
28-10-2025 22:24:19.44581[2][4] - Elapsed time: 0.032 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
28-10-2025 22:24:19.44633[4][4] - Elapsed time: 0.526 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'halo' 
-----------------------
28-10-2025 22:24:19.44647[4][4] - Elapsed time: 0.138 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
28-10-2025 22:24:19.44648[2][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: HALO
Convo id: 85d75a448fea396e2c0e9ea57ec16bf3
Bot id: 1
Format: json 
-----------------------
28-10-2025 22:24:19.44649[4][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
28-10-2025 22:24:19.44650[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
28-10-2025 22:24:19.44651[3][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][load_that][784]
Getting conversation log entries for the current user. SQL:
SELECT `input`, `response` FROM `siew8359_dannu`.`conversation_log` WHERE `user_id` = 4 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
28-10-2025 22:24:19.44693[1][4] - Elapsed time: 0.425 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => namaku pedro salto
    [1] => siapa nama kamu
    [2] => Halo
)
 
-----------------------
28-10-2025 22:24:19.44694[4][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
28-10-2025 22:24:19.44695[1][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Gimana, gimana?
    [1] => Namaku Seeker. Salam kenal!
    [2] => Hai juga! Lagi apa nih?
)
 
-----------------------
28-10-2025 22:24:19.44697[2][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:24:19.44697[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hai juga
    [1] =>  Lagi apa nih
    [2] => 
)

 
-----------------------
28-10-2025 22:24:19.44698[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:24:19.44699[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hai juga Lagi apa nih ' 
-----------------------
28-10-2025 22:24:19.44699[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hai juga Lagi apa nih ' 
-----------------------
28-10-2025 22:24:19.44700[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hai juga Lagi apa nih ' 
-----------------------
28-10-2025 22:24:19.44701[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HAI JUGA LAGI APA NIH' 
-----------------------
28-10-2025 22:24:19.44702[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HAI JUGA LAGI APA NIH' 
-----------------------
28-10-2025 22:24:19.44702[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HAI JUGA LAGI APA NIH' to the front of the [that] array 
-----------------------
28-10-2025 22:24:19.44705[4][4] - Elapsed time: 0.027 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
28-10-2025 22:24:19.44711[4][4] - Elapsed time: 0.066 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HAI JUGA LAGI APA NIH' 
-----------------------
28-10-2025 22:24:19.44712[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HAI JUGA LAGI APA NIH' 
-----------------------
28-10-2025 22:24:19.44713[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HAI JUGA LAGI APA NIH' 
-----------------------
28-10-2025 22:24:19.44714[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HAI JUGA LAGI APA NIH' 
-----------------------
28-10-2025 22:24:19.44715[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:24:19.44715[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Namaku Seeker
    [1] =>  Salam kenal
    [2] => 
)

 
-----------------------
28-10-2025 22:24:19.44716[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:24:19.44717[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Namaku Seeker Salam kenal ' 
-----------------------
28-10-2025 22:24:19.44717[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Namaku Seeker Salam kenal ' 
-----------------------
28-10-2025 22:24:19.44718[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Namaku Seeker Salam kenal ' 
-----------------------
28-10-2025 22:24:19.44718[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMAKU SEEKER SALAM KENAL' 
-----------------------
28-10-2025 22:24:19.44719[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMAKU SEEKER SALAM KENAL' 
-----------------------
28-10-2025 22:24:19.44719[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMAKU SEEKER SALAM KENAL' to the front of the [that] array 
-----------------------
28-10-2025 22:24:19.44720[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'NAMAKU SEEKER SALAM KENAL' 
-----------------------
28-10-2025 22:24:19.44721[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'NAMAKU SEEKER SALAM KENAL' 
-----------------------
28-10-2025 22:24:19.44722[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMAKU SEEKER SALAM KENAL' 
-----------------------
28-10-2025 22:24:19.44722[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMAKU SEEKER SALAM KENAL' 
-----------------------
28-10-2025 22:24:19.44723[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:24:19.44723[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Gimana
    [1] =>  gimana
    [2] => 
)

 
-----------------------
28-10-2025 22:24:19.44724[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:24:19.44724[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Gimana gimana ' 
-----------------------
28-10-2025 22:24:19.44725[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Gimana gimana ' 
-----------------------
28-10-2025 22:24:19.44725[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Gimana gimana ' 
-----------------------
28-10-2025 22:24:19.44726[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'GIMANA GIMANA' 
-----------------------
28-10-2025 22:24:19.44727[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'GIMANA GIMANA' 
-----------------------
28-10-2025 22:24:19.44727[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'GIMANA GIMANA' to the front of the [that] array 
-----------------------
28-10-2025 22:24:19.44728[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'GIMANA GIMANA' 
-----------------------
28-10-2025 22:24:19.44729[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'GIMANA GIMANA' 
-----------------------
28-10-2025 22:24:19.44729[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'GIMANA GIMANA' 
-----------------------
28-10-2025 22:24:19.44730[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'GIMANA GIMANA' 
-----------------------
28-10-2025 22:24:19.44730[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][835]
Loading previous user inputs into the ~INPUT~ array. 
-----------------------
28-10-2025 22:24:19.44731[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:24:19.44732[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
)

 
-----------------------
28-10-2025 22:24:19.44732[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:24:19.44733[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo' 
-----------------------
28-10-2025 22:24:19.44733[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo' 
-----------------------
28-10-2025 22:24:19.44734[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo' 
-----------------------
28-10-2025 22:24:19.44734[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
28-10-2025 22:24:19.44735[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
28-10-2025 22:24:19.44735[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
28-10-2025 22:24:19.44736[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
28-10-2025 22:24:19.44737[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:24:19.44737[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => siapa nama kamu
)

 
-----------------------
28-10-2025 22:24:19.44738[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:24:19.44738[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'siapa nama kamu' 
-----------------------
28-10-2025 22:24:19.44739[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'siapa nama kamu' 
-----------------------
28-10-2025 22:24:19.44739[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'siapa nama kamu' 
-----------------------
28-10-2025 22:24:19.44740[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIAPA NAMA KAMU' 
-----------------------
28-10-2025 22:24:19.44741[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SIAPA NAMA KAMU' 
-----------------------
28-10-2025 22:24:19.44741[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SIAPA NAMA KAMU' to the front of the [input] array 
-----------------------
28-10-2025 22:24:19.44742[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:24:19.44742[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => namaku pedro salto
)

 
-----------------------
28-10-2025 22:24:19.44743[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:24:19.44743[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'namaku pedro salto' 
-----------------------
28-10-2025 22:24:19.44744[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'namaku pedro salto' 
-----------------------
28-10-2025 22:24:19.44744[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'namaku pedro salto' 
-----------------------
28-10-2025 22:24:19.44745[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMAKU PEDRO SALTO' 
-----------------------
28-10-2025 22:24:19.44745[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMAKU PEDRO SALTO' 
-----------------------
28-10-2025 22:24:19.44746[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMAKU PEDRO SALTO' to the front of the [input] array 
-----------------------
28-10-2025 22:24:19.44790[2][4] - Elapsed time: 0.442 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
28-10-2025 22:24:19.44791[3][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `siew8359_dannu`.`bots` WHERE bot_id = 1; 
-----------------------
28-10-2025 22:24:19.44813[4][4] - Elapsed time: 0.214 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
28-10-2025 22:24:19.44814[0][4] - Elapsed time: 0.014 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
28-10-2025 22:24:19.44815[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
28-10-2025 22:24:19.44815[0][4] - Elapsed time: 0.006 milliseconds 
[conversation_start.php][Called outside of function][235]
Say = HALO: raw say = halo 
-----------------------
28-10-2025 22:24:19.44816[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
28-10-2025 22:24:19.44817[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [user_say] array 
-----------------------
28-10-2025 22:24:19.44817[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
28-10-2025 22:24:19.44818[0][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = halo, RAW say = halo 
-----------------------
28-10-2025 22:24:19.44819[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'halo' to the front of the [input] array 
-----------------------
28-10-2025 22:24:19.44820[4][4] - Elapsed time: 0.009 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
28-10-2025 22:24:19.44821[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO' 
-----------------------
28-10-2025 22:24:19.44822[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
28-10-2025 22:24:19.44823[4][4] - Elapsed time: 0.014 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
28-10-2025 22:24:19.44843[4][4] - Elapsed time: 0.204 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
28-10-2025 22:24:19.44845[3][4] - Elapsed time: 0.019 milliseconds
[find_aiml.php][find_userdefined_aiml][870]
User defined SQL:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `template` FROM `siew8359_dannu`.`aiml_userdefined` WHERE
    `bot_id` = 1 AND
    `user_id` = 'd691a9f1d78e60289ed8ed3fa176672d'
    AND (
        'HALO' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'GIMANA GIMANA' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
28-10-2025 22:24:19.44884[2][4] - Elapsed time: 0.392 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
28-10-2025 22:24:19.44885[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
28-10-2025 22:24:19.44886[4][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
28-10-2025 22:24:19.44905[4][4] - Elapsed time: 0.191 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
28-10-2025 22:24:19.44907[3][4] - Elapsed time: 0.016 milliseconds
[find_aiml.php][find_aiml_matches][1052]
Core Match AIML sql:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `topic`, `filename`, `template` FROM `siew8359_dannu`.`aiml` WHERE
    bot_id = 1 AND (
        'HALO' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'GIMANA GIMANA' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
28-10-2025 22:24:19.44940[3][4] - Elapsed time: 0.333 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
28-10-2025 22:24:19.44941[2][4] - Elapsed time: 0.008 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (5) potential AIML matches 
-----------------------
28-10-2025 22:24:19.44961[1][4] - Elapsed time: 0.201 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = GIMANA GIMANA 
-----------------------
28-10-2025 22:24:19.44962[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 5 rows to unset bad matches 
-----------------------
28-10-2025 22:24:19.44962[4][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][62]
Blue 5 to Blue leader. Starting my run now! Looking for 'HALO' 
-----------------------
28-10-2025 22:24:19.44980[4][4] - Elapsed time: 0.179 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 2 relevant rows 
-----------------------
28-10-2025 22:24:19.44982[4][4] - Elapsed time: 0.014 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
28-10-2025 22:24:19.45003[4][4] - Elapsed time: 0.215 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 223
            [bot_id] => 1
            [pattern] => HALO
            [thatpattern] => 
            [topic] => 
            [filename] => bot.aiml
            [template] => <srai>HAI</srai>
            [score] => 260
            [current_that] => gimana gimana
            [aiml_id] => 223
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: halo (2 points)
        )

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

)
 
-----------------------
28-10-2025 22:24:19.45005[2][4] - Elapsed time: 0.019 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 223
            [bot_id] => 1
            [pattern] => HALO
            [thatpattern] => 
            [topic] => 
            [filename] => bot.aiml
            [template] => <srai>HAI</srai>
            [score] => 260
            [current_that] => gimana gimana
            [aiml_id] => 223
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: halo (2 points)
        )

)

 
-----------------------
28-10-2025 22:24:19.45039[4][4] - Elapsed time: 0.337 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 223
    [bot_id] => 1
    [pattern] => HALO
    [thatpattern] => 
    [topic] => 
    [filename] => bot.aiml
    [template] => <srai>HAI</srai>
    [score] => 260
    [current_that] => gimana gimana
    [aiml_id] => 223
    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: halo (2 points)
)
 
-----------------------
28-10-2025 22:24:19.45040[2][4] - Elapsed time: 0.008 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
28-10-2025 22:24:19.45041[4][4] - Elapsed time: 0.014 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:223 (HALO) 
-----------------------
28-10-2025 22:24:19.45042[3][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
28-10-2025 22:24:19.45042[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'HALO' 
-----------------------
28-10-2025 22:24:19.45043[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
28-10-2025 22:24:19.45044[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
28-10-2025 22:24:19.45045[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 223
    [category_id] => 223
    [html_template] => 
    [lookingfor] => HALO
    [pattern] => HALO
    [score] => 260
    [stars] => Array
        (
        )

    [template] => <srai>HAI</srai>
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => halo
)
 
-----------------------
28-10-2025 22:24:19.45046[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
28-10-2025 22:24:19.45046[2][4] - Elapsed time: 0.008 milliseconds 
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
28-10-2025 22:24:19.45051[4][4] - Elapsed time: 0.049 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><srai><text>HAI</text></srai></template> 
-----------------------
28-10-2025 22:24:19.45056[2][4] - Elapsed time: 0.050 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:24:19.45060[4][4] - Elapsed time: 0.037 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><srai><text>HAI</text></srai></template>
 
-----------------------
28-10-2025 22:24:19.45061[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
28-10-2025 22:24:19.45062[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:24:19.45063[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element srai at level 1. element XML = <srai><text>HAI</text></srai> 
-----------------------
28-10-2025 22:24:19.45065[4][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_srai_tag does exist. Processing now. 
-----------------------
28-10-2025 22:24:19.45065[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element srai to the parse_srai_tag function 
-----------------------
28-10-2025 22:24:19.45066[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_srai_tag][763]
Parsing an SRAI tag. 
-----------------------
28-10-2025 22:24:19.45067[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][tag_to_string][1400]
converting the srai tag into text. 
-----------------------
28-10-2025 22:24:19.45068[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:24:19.45069[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 2. element XML = <text>HAI</text> 
-----------------------
28-10-2025 22:24:19.45069[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
28-10-2025 22:24:19.45070[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
28-10-2025 22:24:19.45070[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
28-10-2025 22:24:19.45071[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'HAI' to the response array. tag name is text 
-----------------------
28-10-2025 22:24:19.45072[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:24:19.45072[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Array
        (
            [0] => HAI
        )

)

 
-----------------------
28-10-2025 22:24:19.45073[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:24:19.45073[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:24:19.45074[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => HAI
)

 
-----------------------
28-10-2025 22:24:19.45074[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:24:19.45075[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'HAI' 
-----------------------
28-10-2025 22:24:19.45075[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_srai_tag][767]
SRAI parsed to HAI. 
-----------------------
28-10-2025 22:24:19.45076[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'HALO' 
-----------------------
28-10-2025 22:24:19.45077[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
28-10-2025 22:24:19.45077[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
28-10-2025 22:24:19.45078[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 223
    [category_id] => 223
    [html_template] => 
    [lookingfor] => HAI
    [pattern] => HALO
    [score] => 260
    [stars] => Array
        (
        )

    [template] => <srai>HAI</srai>
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => halo
)
 
-----------------------
28-10-2025 22:24:19.45079[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][run_srai][410]
Running SRAI. Pattern = 'HAI'. 
-----------------------
28-10-2025 22:24:19.45081[2][4] - Elapsed time: 0.017 milliseconds
[parse_aiml.php][run_srai][425]
Checking for entries in the srai_lookup table. 
-----------------------
28-10-2025 22:24:19.45081[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][run_srai][426]
azimov bot_id = 1 
-----------------------
28-10-2025 22:24:19.45082[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][run_srai][431]
lookup SQL = select `template_id` from `siew8359_dannu`.`srai_lookup` where `pattern` like '%HAI%' and ( bot_id = 1 ); 
-----------------------
28-10-2025 22:24:19.45118[2][4] - Elapsed time: 0.364 milliseconds
[parse_aiml.php][run_srai][433]
Result = Array
(
    [0] => Array
        (
            [template_id] => 105
        )

)
 
-----------------------
28-10-2025 22:24:19.45119[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][run_srai][438]
Found 1 rows in lookup table: Array
(
    [0] => Array
        (
            [template_id] => 105
        )

)
 
-----------------------
28-10-2025 22:24:19.45120[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][run_srai][440]
Found a matching entry in the lookup table. Using ID# 105. 
-----------------------
28-10-2025 22:24:19.45136[2][4] - Elapsed time: 0.160 milliseconds
[parse_aiml.php][run_srai][443]
Row found in AIML for ID 105:  
-----------------------
28-10-2025 22:24:19.45136[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][run_srai][466]
Nothing found in the SRAI lookup table. Looking for a direct pattern match for 'HAI'. 
-----------------------
28-10-2025 22:24:19.45137[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][run_srai][473]
lookup SQL = SELECT `id`, `pattern`, `thatpattern`, `topic` FROM `siew8359_dannu`.`aiml` where `pattern` like '%HAI%' and  bot_id = 1  order by `id` asc; 
-----------------------
28-10-2025 22:24:19.45163[2][4] - Elapsed time: 0.257 milliseconds
[parse_aiml.php][run_srai][477]
Found 1 potential responses. 
-----------------------
28-10-2025 22:24:19.45164[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][run_srai][478]
Responses: Array
(
    [0] => Array
        (
            [id] => 222
            [pattern] => HAI
            [thatpattern] => 
            [topic] => 
        )

)
 
-----------------------
28-10-2025 22:24:19.45164[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][run_srai][485]
FOUND: (1) potential AIML matches 
-----------------------
28-10-2025 22:24:19.45184[1][4] - Elapsed time: 0.201 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = GIMANA GIMANA 
-----------------------
28-10-2025 22:24:19.45185[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 1 rows to unset bad matches 
-----------------------
28-10-2025 22:24:19.45186[4][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][62]
Blue 5 to Blue leader. Starting my run now! Looking for 'HAI' 
-----------------------
28-10-2025 22:24:19.45190[4][4] - Elapsed time: 0.041 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 1 relevant rows 
-----------------------
28-10-2025 22:24:19.45191[4][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
28-10-2025 22:24:19.45210[4][4] - Elapsed time: 0.196 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 222
            [pattern] => HAI
            [thatpattern] => 
            [topic] => 
            [aiml_id] => 222
            [score] => 260
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: hai (2 points)
        )

)
 
-----------------------
28-10-2025 22:24:19.45212[2][4] - Elapsed time: 0.012 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 222
            [pattern] => HAI
            [thatpattern] => 
            [topic] => 
            [aiml_id] => 222
            [score] => 260
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: hai (2 points)
        )

)

 
-----------------------
28-10-2025 22:24:19.45221[4][4] - Elapsed time: 0.096 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 222
    [pattern] => HAI
    [thatpattern] => 
    [topic] => 
    [aiml_id] => 222
    [score] => 260
    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: hai (2 points)
)
 
-----------------------
28-10-2025 22:24:19.45222[2][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
28-10-2025 22:24:19.45240[2][4] - Elapsed time: 0.183 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
28-10-2025 22:24:19.45242[4][4] - Elapsed time: 0.017 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><random><li><text>Halo, </text><get name="namaku"/><text>! Ada yang bisa aku bantu?</text></li><li><text>Hai juga! Lagi apa nih?</text></li><li><text>Halo! Senang bisa ngobrol sama kamu.</text></li></random></template> 
-----------------------
28-10-2025 22:24:19.45245[2][4] - Elapsed time: 0.031 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:24:19.45248[4][4] - Elapsed time: 0.032 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><random><li><text>Halo, </text><get name="namaku"/><text>! Ada yang bisa aku bantu?</text></li><li><text>Hai juga! Lagi apa nih?</text></li><li><text>Halo! Senang bisa ngobrol sama kamu.</text></li></random></template>
 
-----------------------
28-10-2025 22:24:19.45249[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
28-10-2025 22:24:19.45250[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:24:19.45251[4][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element random at level 1. element XML = <random><li><text>Halo, </text><get name="namaku"/><text>! Ada yang bisa aku bantu?</text></li><li><text>Hai juga! Lagi apa nih?</text></li><li><text>Halo! Senang bisa ngobrol sama kamu.</text></li></random> 
-----------------------
28-10-2025 22:24:19.45252[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_random_tag does exist. Processing now. 
-----------------------
28-10-2025 22:24:19.45253[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element random to the parse_random_tag function 
-----------------------
28-10-2025 22:24:19.45253[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][496]
Parsing a RANDOM tag, or doing some stargazing, or fomenting chaos, or... 
-----------------------
28-10-2025 22:24:19.45258[4][4] - Elapsed time: 0.053 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][498]
Pick array:
Array
(
    [0] => SimpleXMLElement Object
        (
            [text] => Array
                (
                    [0] => Halo, 
                    [1] => ! Ada yang bisa aku bantu?
                )

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

                )

        )

    [1] => SimpleXMLElement Object
        (
            [text] => Hai juga! Lagi apa nih?
        )

    [2] => SimpleXMLElement Object
        (
            [text] => Halo! Senang bisa ngobrol sama kamu.
        )

)
 
-----------------------
28-10-2025 22:24:19.45259[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][500]
Picking option #0 from random tag.
 
-----------------------
28-10-2025 22:24:19.45260[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:24:19.45261[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element li at level 2. element XML = <li><text>Halo, </text><get name="namaku"/><text>! Ada yang bisa aku bantu?</text></li> 
-----------------------
28-10-2025 22:24:19.45262[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_li_tag does not exist. Parsing tag as text. 
-----------------------
28-10-2025 22:24:19.45262[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:24:19.45263[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 3. element XML = <text>Halo, </text> 
-----------------------
28-10-2025 22:24:19.45264[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
28-10-2025 22:24:19.45264[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
28-10-2025 22:24:19.45265[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
28-10-2025 22:24:19.45266[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Halo, ' to the response array. tag name is text 
-----------------------
28-10-2025 22:24:19.45266[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:24:19.45267[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo, 
)

 
-----------------------
28-10-2025 22:24:19.45267[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:24:19.45268[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo, ' 
-----------------------
28-10-2025 22:24:19.45268[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Halo, ' to the response array. tag name is li. 
-----------------------
28-10-2025 22:24:19.45269[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:24:19.45270[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element get at level 3. element XML = <get name="namaku"/> 
-----------------------
28-10-2025 22:24:19.45270[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_get_tag does exist. Processing now. 
-----------------------
28-10-2025 22:24:19.45271[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element get to the parse_get_tag function 
-----------------------
28-10-2025 22:24:19.45271[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_get_tag][519]
Client properties(get): Array
(
    [ip_address] => 182.8.195.90
    [name] => Seeker
)
 
-----------------------
28-10-2025 22:24:19.45272[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_get_tag][520]
Parsing a GET tag. Oh, and getting a sandwich while I'm at it. 
-----------------------
28-10-2025 22:24:19.45273[2][4] - Elapsed time: 0.013 milliseconds
[find_aiml.php][get_client_property][770]
Rummaging through various locations for client property 'namaku' 
-----------------------
28-10-2025 22:24:19.45274[2][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][get_client_property][781]
Client property 'namaku' not found in the conversation array. Searching the DB. 
-----------------------
28-10-2025 22:24:19.45275[3][4] - Elapsed time: 0.008 milliseconds
[find_aiml.php][get_client_property][793]
Querying the client_properties table for namaku. SQL:
SELECT `value` FROM `siew8359_dannu`.`client_properties` WHERE `user_id` = 4 AND `bot_id` = 1 AND `name` = 'namaku' limit 1; 
-----------------------
28-10-2025 22:24:19.45294[2][4] - Elapsed time: 0.196 milliseconds
[parse_aiml_as_XML.php][parse_get_tag][542]
Client properties(get2): Array
(
    [ip_address] => 182.8.195.90
    [name] => Seeker
)
 
-----------------------
28-10-2025 22:24:19.45295[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'undefined' to the response array. tag name is get 
-----------------------
28-10-2025 22:24:19.45296[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:24:19.45296[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => undefined
)

 
-----------------------
28-10-2025 22:24:19.45297[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:24:19.45297[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'undefined' 
-----------------------
28-10-2025 22:24:19.45298[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'undefined' to the response array. tag name is li. 
-----------------------
28-10-2025 22:24:19.45299[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:24:19.45300[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 3. element XML = <text>! Ada yang bisa aku bantu?</text> 
-----------------------
28-10-2025 22:24:19.45300[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
28-10-2025 22:24:19.45301[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
28-10-2025 22:24:19.45301[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
28-10-2025 22:24:19.45302[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding '! Ada yang bisa aku bantu?' to the response array. tag name is text 
-----------------------
28-10-2025 22:24:19.45302[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:24:19.45303[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => ! Ada yang bisa aku bantu?
)

 
-----------------------
28-10-2025 22:24:19.45303[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:24:19.45304[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '! Ada yang bisa aku bantu?' 
-----------------------
28-10-2025 22:24:19.45304[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding '! Ada yang bisa aku bantu?' to the response array. tag name is li. 
-----------------------
28-10-2025 22:24:19.45305[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:24:19.45306[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo, 
    [1] => undefined
    [2] => ! Ada yang bisa aku bantu?
)

 
-----------------------
28-10-2025 22:24:19.45306[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:24:19.45307[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo, undefined ! Ada yang bisa aku bantu?' 
-----------------------
28-10-2025 22:24:19.45307[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][parse_random_tag][503]
Chose Random Response of 'Halo, undefined ! Ada yang bisa aku bantu?' for output. 
-----------------------
28-10-2025 22:24:19.45308[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Halo, undefined ! Ada yang bisa aku bantu?' to the response array. tag name is random 
-----------------------
28-10-2025 22:24:19.45308[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:24:19.45309[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo, undefined ! Ada yang bisa aku bantu?
)

 
-----------------------
28-10-2025 22:24:19.45309[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:24:19.45310[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo, undefined ! Ada yang bisa aku bantu?' 
-----------------------
28-10-2025 22:24:19.45310[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Halo, undefined ! Ada yang bisa aku bantu?' to the response array. tag name is template. 
-----------------------
28-10-2025 22:24:19.45311[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:24:19.45312[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo, undefined ! Ada yang bisa aku bantu?
)

 
-----------------------
28-10-2025 22:24:19.45313[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:24:19.45313[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo, undefined ! Ada yang bisa aku bantu?' 
-----------------------
28-10-2025 22:24:19.45335[1][4] - Elapsed time: 0.222 milliseconds
[parse_aiml.php][run_srai][567]
Successfully inserted entry for 'HAI'. 
-----------------------
28-10-2025 22:24:19.45336[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][run_srai][576]
Returning results from stored srai lookup. 
-----------------------
28-10-2025 22:24:19.45337[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parse_srai_tag][771]
Finished parsing SRAI tag 
-----------------------
28-10-2025 22:24:19.45338[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:24:19.45338[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Halo, undefined ! Ada yang bisa aku bantu?
 
-----------------------
28-10-2025 22:24:19.45339[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Halo, undefined ! Ada yang bisa aku bantu?' to the response array. tag name is srai 
-----------------------
28-10-2025 22:24:19.45339[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:24:19.45340[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo, undefined ! Ada yang bisa aku bantu?
)

 
-----------------------
28-10-2025 22:24:19.45340[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:24:19.45341[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo, undefined ! Ada yang bisa aku bantu?' 
-----------------------
28-10-2025 22:24:19.45341[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Halo, undefined ! Ada yang bisa aku bantu?' to the response array. tag name is template. 
-----------------------
28-10-2025 22:24:19.45342[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:24:19.45342[2][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo, undefined ! Ada yang bisa aku bantu?
)

 
-----------------------
28-10-2025 22:24:19.45343[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:24:19.45343[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo, undefined ! Ada yang bisa aku bantu?' 
-----------------------
28-10-2025 22:24:19.45344[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Halo, undefined ! Ada yang bisa aku bantu? 
-----------------------
28-10-2025 22:24:19.45345[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
28-10-2025 22:24:19.45345[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
28-10-2025 22:24:19.45346[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Halo, undefined ! Ada yang bisa aku bantu?' to the front of the [that_raw] array 
-----------------------
28-10-2025 22:24:19.45347[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
28-10-2025 22:24:19.45349[2][4] - Elapsed time: 0.020 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Halo, undefined ! Ada yang bisa aku bantu?' to the front of the [that] array 
-----------------------
28-10-2025 22:24:19.45350[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo, undefined !' 
-----------------------
28-10-2025 22:24:19.45350[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo, undefined !' 
-----------------------
28-10-2025 22:24:19.45351[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO UNDEFINED' 
-----------------------
28-10-2025 22:24:19.45352[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO UNDEFINED' 
-----------------------
28-10-2025 22:24:19.45352[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Ada yang bisa aku bantu?' 
-----------------------
28-10-2025 22:24:19.45353[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Ada yang bisa aku bantu?' 
-----------------------
28-10-2025 22:24:19.45354[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'ADA YANG BISA AKU BANTU' 
-----------------------
28-10-2025 22:24:19.45354[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'ADA YANG BISA AKU BANTU' 
-----------------------
28-10-2025 22:24:19.45355[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Halo, undefined ! Ada yang bisa aku bantu?' to the front of the [parsed_template] array 
-----------------------
28-10-2025 22:24:19.45356[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
28-10-2025 22:24:19.45357[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing '<srai>HAI</srai>' to the front of the [template] array 
-----------------------
28-10-2025 22:24:19.45357[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
28-10-2025 22:24:19.45358[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
28-10-2025 22:24:19.45360[3][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][log_conversation][442]
Saving conservation SQL: INSERT INTO `siew8359_dannu`.`conversation_log` (
      `id` ,
      `input` ,
      `response` ,
      `user_id` ,
      `convo_id` ,
      `bot_id` ,
      `timestamp`
    )
    VALUES (
      NULL ,
      'halo',
      'Halo, undefined ! Ada yang bisa aku bantu?',
      4,
      'd691a9f1d78e60289ed8ed3fa176672d',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
28-10-2025 22:24:19.45449[4][4] - Elapsed time: 0.898 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
28-10-2025 22:24:19.45466[3][4] - Elapsed time: 0.171 milliseconds
[display_conversation.php][get_conversation_to_display][59]
get_conversation SQL: SELECT * FROM `siew8359_dannu`.`conversation_log` WHERE
        `user_id` = :user_id
        AND `bot_id` = :bot_id
        AND `convo_id` = :convo_id
        ORDER BY id DESC  LIMIT 1 
-----------------------
28-10-2025 22:24:19.45490[2][4] - Elapsed time: 0.232 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
28-10-2025 22:24:19.45491[4][4] - Elapsed time: 0.009 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
28-10-2025 22:24:19.45491[2][4] - Elapsed time: 0.007 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
28-10-2025 22:24:19.45494[4][4] - Elapsed time: 0.028 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"d691a9f1d78e60289ed8ed3fa176672d","usersay":"halo","botsay":"Halo, undefined ! Ada yang bisa aku bantu?","botData":{"convo_id":"d691a9f1d78e60289ed8ed3fa176672d","bot_name":"Pedro Salto","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"4","totallines":1,"rawSay":"halo","conversation_lines":"1","remember_up_to":"10","debugemail":"imanueldannu910@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":"222","pattern":"HAI","thatpattern":"","topic":"","aiml_id":"222","score":260,"track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: hai (2 points)"}}} 
-----------------------
28-10-2025 22:24:19.45531[2][4] - Elapsed time: 0.370 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
28-10-2025 22:24:19.45533[0][4] - Elapsed time: 0.024 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 14.514 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => halo
    [conversation] => Array
        (
            [convo_id] => d691a9f1d78e60289ed8ed3fa176672d
            [bot_name] => Pedro Salto
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_name] => Seeker
            [user_id] => 4
            [totallines] => 1
            [rawSay] => halo
            [conversation_lines] => 1
            [remember_up_to] => 10
            [debugemail] => imanueldannu910@gmail.com
            [debug_level] => 4
            [debugmode] => 1
            [save_state] => session
            [default_aiml_pattern] => RANDOM PICKUP LINE
            [bot_parent_id] => 1
            [aimlData] => Array
                (
                    [id] => 222
                    [pattern] => HAI
                    [thatpattern] => 
                    [topic] => 
                    [aiml_id] => 222
                    [score] => 260
                    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: hai (2 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => halo
            [lookingfor] => HALO
            [category_id] => 223
            [pattern] => HALO
            [thatpattern] => 
            [template] => <srai>HAI</srai>
            [html_template] => 
            [topic] => 
            [score] => 260
            [aiml_id] => 223
            [stars] => Array
                (
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Halo, undefined ! Ada yang bisa aku bantu?
        )

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

    [raw_that] => Array
        (
            [1] => Array
                (
                    [0] => Gimana, gimana?
                )

            [2] => Array
                (
                    [0] => Namaku Seeker
                    [1] =>  Salam kenal!
                )

            [3] => Array
                (
                    [0] => Hai juga! Lagi apa nih?
                )

        )

    [that] => Array
        (
            [1] => Array
                (
                    [1] => ADA YANG BISA AKU BANTU
                    [2] => HALO UNDEFINED
                )

            [2] => Array
                (
                    [1] => GIMANA GIMANA
                )

            [3] => Array
                (
                    [1] => NAMAKU SEEKER SALAM KENAL
                )

            [4] => Array
                (
                    [1] => HAI JUGA LAGI APA NIH
                )

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

    [input] => Array
        (
            [1] => halo
            [2] => NAMAKU PEDRO SALTO
            [3] => SIAPA NAMA KAMU
            [4] => HALO
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

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

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Ada yang bisa aku bantu?
                    [3] => Halo, undefined !
                )

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

    [parsed_template] => Array
        (
            [1] => Halo, undefined ! Ada yang bisa aku bantu?
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => <srai>HAI</srai>
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"d691a9f1d78e60289ed8ed3fa176672d","usersay":"halo","botsay":"Halo, undefined ! Ada yang bisa aku bantu?","botData":{"convo_id":"d691a9f1d78e60289ed8ed3fa176672d","bot_name":"Pedro Salto","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"4","totallines":1,"rawSay":"halo","conversation_lines":"1","remember_up_to":"10","debugemail":"imanueldannu910@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":"222","pattern":"HAI","thatpattern":"","topic":"","aiml_id":"222","score":260,"track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: hai (2 points)"}}}
)

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