02-11-2025 22:54:22.29927[0][4] - Elapsed time: 5.040 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 
-----------------------
02-11-2025 22:54:22.29956[4][4] - Elapsed time: 0.290 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
02-11-2025 22:54:22.29975[4][4] - Elapsed time: 0.189 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
02-11-2025 22:54:22.29984[4][4] - Elapsed time: 0.094 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
02-11-2025 22:54:22.30021[4][4] - Elapsed time: 0.371 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
02-11-2025 22:54:22.30022[4][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
02-11-2025 22:54:22.30037[1][4] - Elapsed time: 0.151 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/riski.siega23.com/Program-O/chatbot/conversation_start.php on Line 118 
-----------------------
02-11-2025 22:54:22.30064[0][4] - Elapsed time: 0.260 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = 3401bb41c311943b6a779216d4e2d6c1 
-----------------------
02-11-2025 22:54:22.30065[4][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'aku hobby basket'. 
-----------------------
02-11-2025 22:54:22.30066[4][4] - Elapsed time: 0.018 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
02-11-2025 22:54:22.30067[4][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
02-11-2025 22:54:22.30068[3][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_default_bot_values][118]
load db bot personality values SQL: SELECT * FROM `siew8359_riski`.`botpersonality` WHERE `bot_id` = 1; 
-----------------------
02-11-2025 22:54:22.30091[4][4] - Elapsed time: 0.225 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value: fe0256208a21d68d5f91d5930b2305c4 
-----------------------
02-11-2025 22:54:22.30092[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
02-11-2025 22:54:22.30093[3][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][check_set_bot][599]
Making sure the bot exists. SQL = SELECT * FROM `siew8359_riski`.`bots` WHERE bot_id = 1 AND `bot_active` = 1; 
-----------------------
02-11-2025 22:54:22.30121[2][4] - Elapsed time: 0.279 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
02-11-2025 22:54:22.30122[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
02-11-2025 22:54:22.30142[3][4] - Elapsed time: 0.204 milliseconds
[intialise_conversation.php][check_set_user][705]
Loading client properties from the DB - sql:
SELECT `name`, `value` FROM `siew8359_riski`.`client_properties` WHERE `user_id` = 1 AND `bot_id` = 1; 
-----------------------
02-11-2025 22:54:22.30163[2][4] - Elapsed time: 0.204 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
02-11-2025 22:54:22.30169[2][4] - Elapsed time: 0.062 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on aku. 
-----------------------
02-11-2025 22:54:22.30170[2][4] - Elapsed time: 0.013 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
02-11-2025 22:54:22.30209[2][4] - Elapsed time: 0.387 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
02-11-2025 22:54:22.30210[2][4] - Elapsed time: 0.017 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on hobby. 
-----------------------
02-11-2025 22:54:22.30212[2][4] - Elapsed time: 0.017 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
02-11-2025 22:54:22.30213[2][4] - Elapsed time: 0.011 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on basket. 
-----------------------
02-11-2025 22:54:22.30215[4][4] - Elapsed time: 0.016 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku hobby basket' 
-----------------------
02-11-2025 22:54:22.30228[4][4] - Elapsed time: 0.128 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU HOBBY BASKET' 
-----------------------
02-11-2025 22:54:22.30230[2][4] - Elapsed time: 0.020 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: AKU HOBBY BASKET
Convo id: 3401bb41c311943b6a779216d4e2d6c1
Bot id: 1
Format: json 
-----------------------
02-11-2025 22:54:22.30231[4][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
02-11-2025 22:54:22.30231[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
02-11-2025 22:54:22.30232[3][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_that][784]
Getting conversation log entries for the current user. SQL:
SELECT `input`, `response` FROM `siew8359_riski`.`conversation_log` WHERE `user_id` = 1 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
02-11-2025 22:54:22.30256[1][4] - Elapsed time: 0.238 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => namaku riski
    [1] => hai
    [2] => halo
    [3] => Halo
    [4] => halo
)
 
-----------------------
02-11-2025 22:54:22.30257[4][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
02-11-2025 22:54:22.30258[1][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Halo riski ! Senang kenalan sama kamu????
    [1] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
    [2] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
    [3] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
    [4] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
)
 
-----------------------
02-11-2025 22:54:22.30259[2][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 22:54:22.30260[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Wah pertanyaanmu unik banget
    [1] =>  aku pelajari dulu ya 
    [2] => 
    [3] => 
)

 
-----------------------
02-11-2025 22:54:22.30260[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 22:54:22.30261[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 22:54:22.30262[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 22:54:22.30262[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 22:54:22.30264[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:54:22.30264[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:54:22.30265[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' to the front of the [that] array 
-----------------------
02-11-2025 22:54:22.30268[4][4] - Elapsed time: 0.028 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
02-11-2025 22:54:22.30275[4][4] - Elapsed time: 0.075 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:54:22.30276[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:54:22.30277[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:54:22.30277[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:54:22.30278[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 22:54:22.30279[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Wah pertanyaanmu unik banget
    [1] =>  aku pelajari dulu ya 
    [2] => 
    [3] => 
)

 
-----------------------
02-11-2025 22:54:22.30280[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 22:54:22.30280[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 22:54:22.30281[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 22:54:22.30281[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 22:54:22.30282[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:54:22.30283[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:54:22.30283[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' to the front of the [that] array 
-----------------------
02-11-2025 22:54:22.30284[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:54:22.30285[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:54:22.30285[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:54:22.30286[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:54:22.30287[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 22:54:22.30287[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Wah pertanyaanmu unik banget
    [1] =>  aku pelajari dulu ya 
    [2] => 
    [3] => 
)

 
-----------------------
02-11-2025 22:54:22.30288[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 22:54:22.30288[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 22:54:22.30289[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 22:54:22.30289[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 22:54:22.30290[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:54:22.30291[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:54:22.30291[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' to the front of the [that] array 
-----------------------
02-11-2025 22:54:22.30292[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:54:22.30292[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:54:22.30293[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:54:22.30293[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:54:22.30294[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 22:54:22.30295[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Wah pertanyaanmu unik banget
    [1] =>  aku pelajari dulu ya 
    [2] => 
    [3] => 
)

 
-----------------------
02-11-2025 22:54:22.30295[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 22:54:22.30296[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 22:54:22.30296[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 22:54:22.30297[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 22:54:22.30298[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:54:22.30299[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:54:22.30299[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' to the front of the [that] array 
-----------------------
02-11-2025 22:54:22.30300[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:54:22.30300[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:54:22.30301[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:54:22.30302[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:54:22.30302[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 22:54:22.30303[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo riski 
    [1] =>  Senang kenalan sama kamu
    [2] => 
    [3] => 
    [4] => 
    [5] => 
)

 
-----------------------
02-11-2025 22:54:22.30303[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 22:54:22.30304[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo riski  Senang kenalan sama kamu  ' 
-----------------------
02-11-2025 22:54:22.30304[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo riski  Senang kenalan sama kamu  ' 
-----------------------
02-11-2025 22:54:22.30305[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo riski  Senang kenalan sama kamu  ' 
-----------------------
02-11-2025 22:54:22.30306[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO RISKI SENANG KENALAN SAMA KAMU' 
-----------------------
02-11-2025 22:54:22.30306[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO RISKI SENANG KENALAN SAMA KAMU' 
-----------------------
02-11-2025 22:54:22.30307[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO RISKI SENANG KENALAN SAMA KAMU' to the front of the [that] array 
-----------------------
02-11-2025 22:54:22.30307[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HALO RISKI SENANG KENALAN SAMA KAMU' 
-----------------------
02-11-2025 22:54:22.30308[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO RISKI SENANG KENALAN SAMA KAMU' 
-----------------------
02-11-2025 22:54:22.30309[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO RISKI SENANG KENALAN SAMA KAMU' 
-----------------------
02-11-2025 22:54:22.30309[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO RISKI SENANG KENALAN SAMA KAMU' 
-----------------------
02-11-2025 22:54:22.30310[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][835]
Loading previous user inputs into the ~INPUT~ array. 
-----------------------
02-11-2025 22:54:22.30311[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 22:54:22.30311[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => halo
)

 
-----------------------
02-11-2025 22:54:22.30312[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 22:54:22.30312[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'halo' 
-----------------------
02-11-2025 22:54:22.30313[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'halo' 
-----------------------
02-11-2025 22:54:22.30313[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'halo' 
-----------------------
02-11-2025 22:54:22.30314[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
02-11-2025 22:54:22.30314[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
02-11-2025 22:54:22.30315[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
02-11-2025 22:54:22.30315[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
02-11-2025 22:54:22.30316[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 22:54:22.30317[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
)

 
-----------------------
02-11-2025 22:54:22.30317[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 22:54:22.30318[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo' 
-----------------------
02-11-2025 22:54:22.30318[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo' 
-----------------------
02-11-2025 22:54:22.30319[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo' 
-----------------------
02-11-2025 22:54:22.30320[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
02-11-2025 22:54:22.30321[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
02-11-2025 22:54:22.30321[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
02-11-2025 22:54:22.30322[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 22:54:22.30322[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => halo
)

 
-----------------------
02-11-2025 22:54:22.30323[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 22:54:22.30323[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'halo' 
-----------------------
02-11-2025 22:54:22.30324[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'halo' 
-----------------------
02-11-2025 22:54:22.30324[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'halo' 
-----------------------
02-11-2025 22:54:22.30325[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
02-11-2025 22:54:22.30325[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
02-11-2025 22:54:22.30326[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
02-11-2025 22:54:22.30327[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 22:54:22.30328[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => hai
)

 
-----------------------
02-11-2025 22:54:22.30328[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 22:54:22.30329[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'hai' 
-----------------------
02-11-2025 22:54:22.30330[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'hai' 
-----------------------
02-11-2025 22:54:22.30331[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'hai' 
-----------------------
02-11-2025 22:54:22.30331[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HAI' 
-----------------------
02-11-2025 22:54:22.30332[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HAI' 
-----------------------
02-11-2025 22:54:22.30332[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HAI' to the front of the [input] array 
-----------------------
02-11-2025 22:54:22.30333[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 22:54:22.30333[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => namaku riski
)

 
-----------------------
02-11-2025 22:54:22.30334[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 22:54:22.30335[4][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'namaku riski' 
-----------------------
02-11-2025 22:54:22.30336[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'namaku riski' 
-----------------------
02-11-2025 22:54:22.30336[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'namaku riski' 
-----------------------
02-11-2025 22:54:22.30337[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMAKU RISKI' 
-----------------------
02-11-2025 22:54:22.30338[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMAKU RISKI' 
-----------------------
02-11-2025 22:54:22.30338[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMAKU RISKI' to the front of the [input] array 
-----------------------
02-11-2025 22:54:22.30383[2][4] - Elapsed time: 0.447 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
02-11-2025 22:54:22.30384[3][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `siew8359_riski`.`bots` WHERE bot_id = 1; 
-----------------------
02-11-2025 22:54:22.30403[4][4] - Elapsed time: 0.191 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
02-11-2025 22:54:22.30404[0][4] - Elapsed time: 0.014 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
02-11-2025 22:54:22.30405[0][4] - Elapsed time: 0.005 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
02-11-2025 22:54:22.30406[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][235]
Say = AKU HOBBY BASKET: raw say = aku hobby basket 
-----------------------
02-11-2025 22:54:22.30406[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
02-11-2025 22:54:22.30407[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU HOBBY BASKET' to the front of the [user_say] array 
-----------------------
02-11-2025 22:54:22.30407[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
02-11-2025 22:54:22.30409[0][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = aku hobby basket, RAW say = aku hobby basket 
-----------------------
02-11-2025 22:54:22.30409[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'aku hobby basket' to the front of the [input] array 
-----------------------
02-11-2025 22:54:22.30410[4][4] - Elapsed time: 0.009 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
02-11-2025 22:54:22.30411[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'AKU HOBBY BASKET' 
-----------------------
02-11-2025 22:54:22.30411[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU HOBBY BASKET' 
-----------------------
02-11-2025 22:54:22.30413[4][4] - Elapsed time: 0.012 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
02-11-2025 22:54:22.30434[4][4] - Elapsed time: 0.216 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
02-11-2025 22:54:22.30437[3][4] - Elapsed time: 0.029 milliseconds
[find_aiml.php][find_userdefined_aiml][870]
User defined SQL:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `template` FROM `siew8359_riski`.`aiml_userdefined` WHERE
    `bot_id` = 1 AND
    `user_id` = 'fe0256208a21d68d5f91d5930b2305c4'
    AND (
        'AKU HOBBY BASKET' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'HALO RISKI SENANG KENALAN SAMA KAMU' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
02-11-2025 22:54:22.30460[2][4] - Elapsed time: 0.231 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
02-11-2025 22:54:22.30461[4][4] - Elapsed time: 0.011 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
02-11-2025 22:54:22.30462[4][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
02-11-2025 22:54:22.30480[4][4] - Elapsed time: 0.182 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
02-11-2025 22:54:22.30482[3][4] - Elapsed time: 0.018 milliseconds
[find_aiml.php][find_aiml_matches][1052]
Core Match AIML sql:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `topic`, `filename`, `template` FROM `siew8359_riski`.`aiml` WHERE
    bot_id = 1 AND (
        'AKU HOBBY BASKET' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'HALO RISKI SENANG KENALAN SAMA KAMU' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
02-11-2025 22:54:22.30516[3][4] - Elapsed time: 0.336 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
02-11-2025 22:54:22.30516[1][4] - Elapsed time: 0.008 milliseconds
[find_aiml.php][find_aiml_matches][1082]
Error: FOUND NO AIML matches in DB. 
-----------------------
02-11-2025 22:54:22.30517[4][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][get_convo_var][727]
Get from ConvoArr [conversation][default_aiml_pattern][1][1] 
-----------------------
02-11-2025 22:54:22.30518[4][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][get_convo_var][757]
Get from ConvoArr [conversation][default_aiml_pattern][1][1] FOUND: ConvoArr Value = 'RANDOM PICKUP LINE' 
-----------------------
02-11-2025 22:54:22.30539[2][4] - Elapsed time: 0.213 milliseconds
[misc_functions.php][addUnknownInput][232]
Entry successfully added! 
-----------------------
02-11-2025 22:54:22.30540[1][4] - Elapsed time: 0.008 milliseconds
[find_aiml.php][find_aiml_matches][1084]
Added input 'AKU HOBBY BASKET' to the unknown_inputs table. 
-----------------------
02-11-2025 22:54:22.30558[1][4] - Elapsed time: 0.186 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = HALO RISKI SENANG KENALAN SAMA KAMU 
-----------------------
02-11-2025 22:54:22.30559[4][4] - Elapsed time: 0.011 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 1 rows to unset bad matches 
-----------------------
02-11-2025 22:54:22.30560[1][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][56]
Returning error as no results where found 
-----------------------
02-11-2025 22:54:22.30561[4][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
02-11-2025 22:54:22.30581[4][4] - Elapsed time: 0.201 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [aiml_id] => -1
            [bot_id] => 1
            [pattern] => no results
            [thatpattern] => 
            [template] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
            [topic] => 
            [score] => 261
            [track_score] => current bot (250 points), no thatpattern to match (1 point), common word match: no (1 points), uncommon word match: results (8 points)
        )

)
 
-----------------------
02-11-2025 22:54:22.30582[2][4] - Elapsed time: 0.016 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [aiml_id] => -1
            [bot_id] => 1
            [pattern] => no results
            [thatpattern] => 
            [template] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
            [topic] => 
            [score] => 261
            [track_score] => current bot (250 points), no thatpattern to match (1 point), common word match: no (1 points), uncommon word match: results (8 points)
        )

)

 
-----------------------
02-11-2025 22:54:22.30609[4][4] - Elapsed time: 0.270 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [aiml_id] => -1
    [bot_id] => 1
    [pattern] => no results
    [thatpattern] => 
    [template] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
    [topic] => 
    [score] => 261
    [track_score] => current bot (250 points), no thatpattern to match (1 point), common word match: no (1 points), uncommon word match: results (8 points)
)
 
-----------------------
02-11-2025 22:54:22.30610[2][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
02-11-2025 22:54:22.30612[4][4] - Elapsed time: 0.016 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:-1 (no results) 
-----------------------
02-11-2025 22:54:22.30612[3][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
02-11-2025 22:54:22.30613[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'no results' 
-----------------------
02-11-2025 22:54:22.30614[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
02-11-2025 22:54:22.30614[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
02-11-2025 22:54:22.30615[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => -1
    [html_template] => 
    [lookingfor] => AKU HOBBY BASKET
    [pattern] => no results
    [score] => 261
    [stars] => Array
        (
        )

    [template] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => aku hobby basket
)
 
-----------------------
02-11-2025 22:54:22.30616[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
02-11-2025 22:54:22.30617[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
02-11-2025 22:54:22.30623[4][4] - Elapsed time: 0.065 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><text>Wah pertanyaanmu unik banget, aku pelajari dulu ya !!</text></template> 
-----------------------
02-11-2025 22:54:22.30636[2][4] - Elapsed time: 0.131 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
02-11-2025 22:54:22.30640[4][4] - Elapsed time: 0.040 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><text>Wah pertanyaanmu unik banget, aku pelajari dulu ya !!</text></template>
 
-----------------------
02-11-2025 22:54:22.30641[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
02-11-2025 22:54:22.30643[2][4] - Elapsed time: 0.018 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
02-11-2025 22:54:22.30645[4][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>Wah pertanyaanmu unik banget, aku pelajari dulu ya !!</text> 
-----------------------
02-11-2025 22:54:22.30645[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
02-11-2025 22:54:22.30646[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
02-11-2025 22:54:22.30646[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
02-11-2025 22:54:22.30647[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Wah pertanyaanmu unik banget, aku pelajari dulu ya !!' to the response array. tag name is text 
-----------------------
02-11-2025 22:54:22.30648[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 22:54:22.30648[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
)

 
-----------------------
02-11-2025 22:54:22.30649[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 22:54:22.30649[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Wah pertanyaanmu unik banget, aku pelajari dulu ya !!' 
-----------------------
02-11-2025 22:54:22.30650[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Wah pertanyaanmu unik banget, aku pelajari dulu ya !!' to the response array. tag name is template. 
-----------------------
02-11-2025 22:54:22.30651[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 22:54:22.30651[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
)

 
-----------------------
02-11-2025 22:54:22.30652[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 22:54:22.30653[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Wah pertanyaanmu unik banget, aku pelajari dulu ya !!' 
-----------------------
02-11-2025 22:54:22.30653[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: Wah pertanyaanmu unik banget, aku pelajari dulu ya !! 
-----------------------
02-11-2025 22:54:22.30654[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
02-11-2025 22:54:22.30655[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
02-11-2025 22:54:22.30655[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Wah pertanyaanmu unik banget, aku pelajari dulu ya !!' to the front of the [that_raw] array 
-----------------------
02-11-2025 22:54:22.30656[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
02-11-2025 22:54:22.30658[2][4] - Elapsed time: 0.021 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Wah pertanyaanmu unik banget, aku pelajari dulu ya !!' to the front of the [that] array 
-----------------------
02-11-2025 22:54:22.30659[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Wah pertanyaanmu unik banget, aku pelajari dulu ya !!' 
-----------------------
02-11-2025 22:54:22.30660[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Wah pertanyaanmu unik banget, aku pelajari dulu ya !!' 
-----------------------
02-11-2025 22:54:22.30661[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:54:22.30662[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:54:22.30662[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Wah pertanyaanmu unik banget, aku pelajari dulu ya !!' to the front of the [parsed_template] array 
-----------------------
02-11-2025 22:54:22.30663[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
02-11-2025 22:54:22.30664[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Wah pertanyaanmu unik banget, aku pelajari dulu ya !!' to the front of the [template] array 
-----------------------
02-11-2025 22:54:22.30665[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
02-11-2025 22:54:22.30666[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
02-11-2025 22:54:22.30667[3][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][log_conversation][442]
Saving conservation SQL: INSERT INTO `siew8359_riski`.`conversation_log` (
      `id` ,
      `input` ,
      `response` ,
      `user_id` ,
      `convo_id` ,
      `bot_id` ,
      `timestamp`
    )
    VALUES (
      NULL ,
      'aku hobby basket',
      'Wah pertanyaanmu unik banget, aku pelajari dulu ya !!',
      1,
      'fe0256208a21d68d5f91d5930b2305c4',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
02-11-2025 22:54:22.30783[4][4] - Elapsed time: 1.165 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
02-11-2025 22:54:22.30800[3][4] - Elapsed time: 0.170 milliseconds
[display_conversation.php][get_conversation_to_display][59]
get_conversation SQL: SELECT * FROM `siew8359_riski`.`conversation_log` WHERE
        `user_id` = :user_id
        AND `bot_id` = :bot_id
        AND `convo_id` = :convo_id
        ORDER BY id DESC  LIMIT 1 
-----------------------
02-11-2025 22:54:22.30822[2][4] - Elapsed time: 0.220 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
02-11-2025 22:54:22.30823[4][4] - Elapsed time: 0.010 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
02-11-2025 22:54:22.30824[2][4] - Elapsed time: 0.006 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
02-11-2025 22:54:22.30826[4][4] - Elapsed time: 0.025 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"fe0256208a21d68d5f91d5930b2305c4","usersay":"aku hobby basket","botsay":"Wah pertanyaanmu unik banget, aku pelajari dulu ya !!","botData":{"convo_id":"fe0256208a21d68d5f91d5930b2305c4","bot_name":"Chat.ai","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"1","totallines":1,"rawSay":"aku hobby basket","conversation_lines":"1","remember_up_to":"10","debugemail":"apriansyahrizky84@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"aiml_id":"-1","bot_id":"1","pattern":"no results","thatpattern":"","template":"Wah pertanyaanmu unik banget, aku pelajari dulu ya !!","topic":"","score":261,"track_score":"current bot (250 points), no thatpattern to match (1 point), common word match: no (1 points), uncommon word match: results (8 points)"}}} 
-----------------------
02-11-2025 22:54:22.30852[2][4] - Elapsed time: 0.252 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
02-11-2025 22:54:22.30855[0][4] - Elapsed time: 0.034 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 14.298 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => aku hobby basket
    [conversation] => Array
        (
            [convo_id] => fe0256208a21d68d5f91d5930b2305c4
            [bot_name] => Chat.ai
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_name] => Seeker
            [user_id] => 1
            [totallines] => 1
            [rawSay] => aku hobby basket
            [conversation_lines] => 1
            [remember_up_to] => 10
            [debugemail] => apriansyahrizky84@gmail.com
            [debug_level] => 4
            [debugmode] => 1
            [save_state] => session
            [default_aiml_pattern] => RANDOM PICKUP LINE
            [bot_parent_id] => 1
            [aimlData] => Array
                (
                    [aiml_id] => -1
                    [bot_id] => 1
                    [pattern] => no results
                    [thatpattern] => 
                    [template] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
                    [topic] => 
                    [score] => 261
                    [track_score] => current bot (250 points), no thatpattern to match (1 point), common word match: no (1 points), uncommon word match: results (8 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => aku hobby basket
            [lookingfor] => AKU HOBBY BASKET
            [pattern] => no results
            [thatpattern] => 
            [template] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
            [html_template] => 
            [topic] => 
            [score] => 261
            [aiml_id] => -1
            [stars] => Array
                (
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
        )

    [client_properties] => Array
        (
            [ip_address] => 114.10.16.60
            [name] => Seeker
            [username] => riski
        )

    [raw_that] => Array
        (
            [1] => Array
                (
                    [0] => Halo riski ! Senang kenalan sama kamu????
                )

            [2] => Array
                (
                    [0] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
                )

            [3] => Array
                (
                    [0] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
                )

            [4] => Array
                (
                    [0] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
                )

            [5] => Array
                (
                    [0] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
                )

        )

    [that] => Array
        (
            [1] => Array
                (
                    [1] => WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA
                )

            [2] => Array
                (
                    [1] => HALO RISKI SENANG KENALAN SAMA KAMU
                )

            [3] => Array
                (
                    [1] => WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA
                )

            [4] => Array
                (
                    [1] => WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA
                )

            [5] => Array
                (
                    [1] => WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA
                )

            [6] => Array
                (
                    [1] => WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA
                )

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

    [input] => Array
        (
            [1] => aku hobby basket
            [2] => NAMAKU RISKI
            [3] => HAI
            [4] => HALO
            [5] => HALO
            [6] => HALO
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [time_start] => 1762098862.2942
    [user_say] => Array
        (
            [1] => AKU HOBBY BASKET
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
                )

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

    [parsed_template] => Array
        (
            [1] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"fe0256208a21d68d5f91d5930b2305c4","usersay":"aku hobby basket","botsay":"Wah pertanyaanmu unik banget, aku pelajari dulu ya !!","botData":{"convo_id":"fe0256208a21d68d5f91d5930b2305c4","bot_name":"Chat.ai","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"1","totallines":1,"rawSay":"aku hobby basket","conversation_lines":"1","remember_up_to":"10","debugemail":"apriansyahrizky84@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"aiml_id":"-1","bot_id":"1","pattern":"no results","thatpattern":"","template":"Wah pertanyaanmu unik banget, aku pelajari dulu ya !!","topic":"","score":261,"track_score":"current bot (250 points), no thatpattern to match (1 point), common word match: no (1 points), uncommon word match: results (8 points)"}}}
)

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