18-11-2025 13:52:50.30218[0][4] - Elapsed time: 8.117 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 
-----------------------
18-11-2025 13:52:50.31159[4][4] - Elapsed time: 9.407 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
18-11-2025 13:52:50.31458[4][4] - Elapsed time: 2.996 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
18-11-2025 13:52:50.31509[4][4] - Elapsed time: 0.501 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
18-11-2025 13:52:50.31753[4][4] - Elapsed time: 2.443 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
18-11-2025 13:52:50.31755[4][4] - Elapsed time: 0.017 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
18-11-2025 13:52:50.31768[1][4] - Elapsed time: 0.129 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 
-----------------------
18-11-2025 13:52:50.31819[0][4] - Elapsed time: 0.519 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = d731c30e7e23786f3722d4192a6d9327 
-----------------------
18-11-2025 13:52:50.31821[4][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said '/start'. 
-----------------------
18-11-2025 13:52:50.31823[4][4] - Elapsed time: 0.022 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
18-11-2025 13:52:50.31823[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
18-11-2025 13:52:50.31824[3][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_default_bot_values][118]
load db bot personality values SQL: SELECT * FROM `siew8359_dannu`.`botpersonality` WHERE `bot_id` = 1; 
-----------------------
18-11-2025 13:52:50.31882[4][4] - Elapsed time: 0.578 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value:  
-----------------------
18-11-2025 13:52:50.31884[2][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
18-11-2025 13:52:50.31884[3][4] - Elapsed time: 0.008 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; 
-----------------------
18-11-2025 13:52:50.31941[2][4] - Elapsed time: 0.562 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
18-11-2025 13:52:50.31942[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
18-11-2025 13:52:50.31998[3][4] - Elapsed time: 0.565 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` = 1 AND `bot_id` = 1; 
-----------------------
18-11-2025 13:52:50.32058[2][4] - Elapsed time: 0.596 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
18-11-2025 13:52:50.32064[2][4] - Elapsed time: 0.067 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on /. 
-----------------------
18-11-2025 13:52:50.32066[2][4] - Elapsed time: 0.012 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
18-11-2025 13:52:50.32123[2][4] - Elapsed time: 0.579 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on start. 
-----------------------
18-11-2025 13:52:50.32125[4][4] - Elapsed time: 0.018 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = '/start' 
-----------------------
18-11-2025 13:52:50.32140[4][4] - Elapsed time: 0.151 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'START' 
-----------------------
18-11-2025 13:52:50.32141[2][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: START
Convo id: d731c30e7e23786f3722d4192a6d9327
Bot id: 
Format: json 
-----------------------
18-11-2025 13:52:50.32142[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
18-11-2025 13:52:50.32143[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
18-11-2025 13:52:50.32144[3][4] - Elapsed time: 0.009 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` = 1 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
18-11-2025 13:52:50.32339[1][4] - Elapsed time: 1.951 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => nama saya abel
    [1] => halo
    [2] => halo
    [3] => halo
    [4] => halo
    [5] => halo
)
 
-----------------------
18-11-2025 13:52:50.32340[4][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
18-11-2025 13:52:50.32340[1][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => abel Senang berkenalan dengan Anda, abel. Saya akan mengingat nama Anda.
    [1] => Halo! Saya pedro salto, siap membantu Anda. Ada pertanyaan?
    [2] => Halo! Senang bisa ngobrol sama kamu.
    [3] => Halo, undefined ! Ada yang bisa aku bantu?
    [4] => Halo juga, aku Pedro Salto
    [5] => No AIML category found. This is a Default Response.
)
 
-----------------------
18-11-2025 13:52:50.32342[2][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
18-11-2025 13:52:50.32342[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => No AIML category found
    [1] =>  This is a Default Response
    [2] => 
)

 
-----------------------
18-11-2025 13:52:50.32343[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
18-11-2025 13:52:50.32343[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'No AIML category found This is a Default Response ' 
-----------------------
18-11-2025 13:52:50.32344[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'No AIML category found This is a Default Response ' 
-----------------------
18-11-2025 13:52:50.32345[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'No AIML category found This is a Default Response ' 
-----------------------
18-11-2025 13:52:50.32346[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NO AIML CATEGORY FOUND THIS IS A DEFAULT RESPONSE' 
-----------------------
18-11-2025 13:52:50.32346[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NO AIML CATEGORY FOUND THIS IS A DEFAULT RESPONSE' 
-----------------------
18-11-2025 13:52:50.32347[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NO AIML CATEGORY FOUND THIS IS A DEFAULT RESPONSE' to the front of the [that] array 
-----------------------
18-11-2025 13:52:50.32349[4][4] - Elapsed time: 0.025 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
18-11-2025 13:52:50.32356[4][4] - Elapsed time: 0.066 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'NO AIML CATEGORY FOUND THIS IS A DEFAULT RESPONSE' 
-----------------------
18-11-2025 13:52:50.32357[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'NO AIML CATEGORY FOUND THIS IS A DEFAULT RESPONSE' 
-----------------------
18-11-2025 13:52:50.32358[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NO AIML CATEGORY FOUND THIS IS A DEFAULT RESPONSE' 
-----------------------
18-11-2025 13:52:50.32358[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NO AIML CATEGORY FOUND THIS IS A DEFAULT RESPONSE' 
-----------------------
18-11-2025 13:52:50.32359[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
18-11-2025 13:52:50.32360[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo juga
    [1] =>  aku Pedro Salto
)

 
-----------------------
18-11-2025 13:52:50.32360[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
18-11-2025 13:52:50.32361[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo juga aku Pedro Salto' 
-----------------------
18-11-2025 13:52:50.32362[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo juga aku Pedro Salto' 
-----------------------
18-11-2025 13:52:50.32362[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo juga aku Pedro Salto' 
-----------------------
18-11-2025 13:52:50.32363[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO JUGA AKU PEDRO SALTO' 
-----------------------
18-11-2025 13:52:50.32363[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO JUGA AKU PEDRO SALTO' 
-----------------------
18-11-2025 13:52:50.32364[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO JUGA AKU PEDRO SALTO' to the front of the [that] array 
-----------------------
18-11-2025 13:52:50.32365[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HALO JUGA AKU PEDRO SALTO' 
-----------------------
18-11-2025 13:52:50.32365[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO JUGA AKU PEDRO SALTO' 
-----------------------
18-11-2025 13:52:50.32366[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO JUGA AKU PEDRO SALTO' 
-----------------------
18-11-2025 13:52:50.32366[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO JUGA AKU PEDRO SALTO' 
-----------------------
18-11-2025 13:52:50.32367[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
18-11-2025 13:52:50.32368[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
    [3] => 
)

 
-----------------------
18-11-2025 13:52:50.32368[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
18-11-2025 13:52:50.32369[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 ' 
-----------------------
18-11-2025 13:52:50.32369[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo undefined  Ada yang bisa aku bantu ' 
-----------------------
18-11-2025 13:52:50.32370[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo undefined  Ada yang bisa aku bantu ' 
-----------------------
18-11-2025 13:52:50.32370[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO UNDEFINED ADA YANG BISA AKU BANTU' 
-----------------------
18-11-2025 13:52:50.32371[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO UNDEFINED ADA YANG BISA AKU BANTU' 
-----------------------
18-11-2025 13:52:50.32371[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO UNDEFINED ADA YANG BISA AKU BANTU' to the front of the [that] array 
-----------------------
18-11-2025 13:52:50.32372[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HALO UNDEFINED ADA YANG BISA AKU BANTU' 
-----------------------
18-11-2025 13:52:50.32373[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO UNDEFINED ADA YANG BISA AKU BANTU' 
-----------------------
18-11-2025 13:52:50.32374[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO UNDEFINED ADA YANG BISA AKU BANTU' 
-----------------------
18-11-2025 13:52:50.32374[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO UNDEFINED ADA YANG BISA AKU BANTU' 
-----------------------
18-11-2025 13:52:50.32375[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
18-11-2025 13:52:50.32375[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
    [1] =>  Senang bisa ngobrol sama kamu
    [2] => 
)

 
-----------------------
18-11-2025 13:52:50.32376[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
18-11-2025 13:52:50.32376[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo Senang bisa ngobrol sama kamu ' 
-----------------------
18-11-2025 13:52:50.32377[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo Senang bisa ngobrol sama kamu ' 
-----------------------
18-11-2025 13:52:50.32377[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo Senang bisa ngobrol sama kamu ' 
-----------------------
18-11-2025 13:52:50.32378[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SENANG BISA NGOBROL SAMA KAMU' 
-----------------------
18-11-2025 13:52:50.32378[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SENANG BISA NGOBROL SAMA KAMU' 
-----------------------
18-11-2025 13:52:50.32379[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO SENANG BISA NGOBROL SAMA KAMU' to the front of the [that] array 
-----------------------
18-11-2025 13:52:50.32380[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HALO SENANG BISA NGOBROL SAMA KAMU' 
-----------------------
18-11-2025 13:52:50.32380[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO SENANG BISA NGOBROL SAMA KAMU' 
-----------------------
18-11-2025 13:52:50.32381[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SENANG BISA NGOBROL SAMA KAMU' 
-----------------------
18-11-2025 13:52:50.32381[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SENANG BISA NGOBROL SAMA KAMU' 
-----------------------
18-11-2025 13:52:50.32382[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
18-11-2025 13:52:50.32382[2][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
    [1] =>  Saya pedro salto
    [2] =>  siap membantu Anda
    [3] =>  Ada pertanyaan
    [4] => 
)

 
-----------------------
18-11-2025 13:52:50.32383[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
18-11-2025 13:52:50.32383[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo Saya pedro salto siap membantu Anda Ada pertanyaan ' 
-----------------------
18-11-2025 13:52:50.32384[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo Saya pedro salto siap membantu Anda Ada pertanyaan ' 
-----------------------
18-11-2025 13:52:50.32384[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo Saya pedro salto siap membantu Anda Ada pertanyaan ' 
-----------------------
18-11-2025 13:52:50.32385[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SAYA PEDRO SALTO SIAP MEMBANTU ANDA ADA PERTANYAAN' 
-----------------------
18-11-2025 13:52:50.32386[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SAYA PEDRO SALTO SIAP MEMBANTU ANDA ADA PERTANYAAN' 
-----------------------
18-11-2025 13:52:50.32386[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO SAYA PEDRO SALTO SIAP MEMBANTU ANDA ADA PERTANYAAN' to the front of the [that] array 
-----------------------
18-11-2025 13:52:50.32387[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HALO SAYA PEDRO SALTO SIAP MEMBANTU ANDA ADA PERTANYAAN' 
-----------------------
18-11-2025 13:52:50.32387[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO SAYA PEDRO SALTO SIAP MEMBANTU ANDA ADA PERTANYAAN' 
-----------------------
18-11-2025 13:52:50.32388[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SAYA PEDRO SALTO SIAP MEMBANTU ANDA ADA PERTANYAAN' 
-----------------------
18-11-2025 13:52:50.32389[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SAYA PEDRO SALTO SIAP MEMBANTU ANDA ADA PERTANYAAN' 
-----------------------
18-11-2025 13:52:50.32389[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
18-11-2025 13:52:50.32390[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => abel Senang berkenalan dengan Anda
    [1] =>  abel
    [2] =>  Saya akan mengingat nama Anda
    [3] => 
)

 
-----------------------
18-11-2025 13:52:50.32390[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
18-11-2025 13:52:50.32391[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'abel Senang berkenalan dengan Anda abel Saya akan mengingat nama Anda ' 
-----------------------
18-11-2025 13:52:50.32392[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'abel Senang berkenalan dengan Anda abel Saya akan mengingat nama Anda ' 
-----------------------
18-11-2025 13:52:50.32392[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'abel Senang berkenalan dengan Anda abel Saya akan mengingat nama Anda ' 
-----------------------
18-11-2025 13:52:50.32393[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'ABEL SENANG BERKENALAN DENGAN ANDA ABEL SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
18-11-2025 13:52:50.32393[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'ABEL SENANG BERKENALAN DENGAN ANDA ABEL SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
18-11-2025 13:52:50.32394[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'ABEL SENANG BERKENALAN DENGAN ANDA ABEL SAYA AKAN MENGINGAT NAMA ANDA' to the front of the [that] array 
-----------------------
18-11-2025 13:52:50.32395[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'ABEL SENANG BERKENALAN DENGAN ANDA ABEL SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
18-11-2025 13:52:50.32395[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'ABEL SENANG BERKENALAN DENGAN ANDA ABEL SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
18-11-2025 13:52:50.32396[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'ABEL SENANG BERKENALAN DENGAN ANDA ABEL SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
18-11-2025 13:52:50.32396[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'ABEL SENANG BERKENALAN DENGAN ANDA ABEL SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
18-11-2025 13:52:50.32397[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][835]
Loading previous user inputs into the ~INPUT~ array. 
-----------------------
18-11-2025 13:52:50.32398[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
18-11-2025 13:52:50.32398[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => halo
)

 
-----------------------
18-11-2025 13:52:50.32399[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
18-11-2025 13:52:50.32399[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'halo' 
-----------------------
18-11-2025 13:52:50.32400[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'halo' 
-----------------------
18-11-2025 13:52:50.32400[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'halo' 
-----------------------
18-11-2025 13:52:50.32401[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
18-11-2025 13:52:50.32401[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
18-11-2025 13:52:50.32402[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
18-11-2025 13:52:50.32402[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
18-11-2025 13:52:50.32403[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
18-11-2025 13:52:50.32404[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => halo
)

 
-----------------------
18-11-2025 13:52:50.32404[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
18-11-2025 13:52:50.32405[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'halo' 
-----------------------
18-11-2025 13:52:50.32405[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'halo' 
-----------------------
18-11-2025 13:52:50.32406[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'halo' 
-----------------------
18-11-2025 13:52:50.32406[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
18-11-2025 13:52:50.32407[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
18-11-2025 13:52:50.32407[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
18-11-2025 13:52:50.32408[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
18-11-2025 13:52:50.32409[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => halo
)

 
-----------------------
18-11-2025 13:52:50.32409[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
18-11-2025 13:52:50.32410[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'halo' 
-----------------------
18-11-2025 13:52:50.32410[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'halo' 
-----------------------
18-11-2025 13:52:50.32411[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'halo' 
-----------------------
18-11-2025 13:52:50.32411[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
18-11-2025 13:52:50.32412[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
18-11-2025 13:52:50.32412[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
18-11-2025 13:52:50.32413[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
18-11-2025 13:52:50.32413[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => halo
)

 
-----------------------
18-11-2025 13:52:50.32414[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
18-11-2025 13:52:50.32414[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'halo' 
-----------------------
18-11-2025 13:52:50.32415[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'halo' 
-----------------------
18-11-2025 13:52:50.32415[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'halo' 
-----------------------
18-11-2025 13:52:50.32416[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
18-11-2025 13:52:50.32416[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
18-11-2025 13:52:50.32417[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
18-11-2025 13:52:50.32417[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
18-11-2025 13:52:50.32418[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => halo
)

 
-----------------------
18-11-2025 13:52:50.32418[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
18-11-2025 13:52:50.32419[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'halo' 
-----------------------
18-11-2025 13:52:50.32419[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'halo' 
-----------------------
18-11-2025 13:52:50.32420[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'halo' 
-----------------------
18-11-2025 13:52:50.32420[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
18-11-2025 13:52:50.32421[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
18-11-2025 13:52:50.32421[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
18-11-2025 13:52:50.32422[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
18-11-2025 13:52:50.32422[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => nama saya abel
)

 
-----------------------
18-11-2025 13:52:50.32423[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
18-11-2025 13:52:50.32423[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'nama saya abel' 
-----------------------
18-11-2025 13:52:50.32424[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'nama saya abel' 
-----------------------
18-11-2025 13:52:50.32424[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'nama saya abel' 
-----------------------
18-11-2025 13:52:50.32425[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA SAYA ABEL' 
-----------------------
18-11-2025 13:52:50.32425[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMA SAYA ABEL' 
-----------------------
18-11-2025 13:52:50.32426[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMA SAYA ABEL' to the front of the [input] array 
-----------------------
18-11-2025 13:52:50.32485[2][4] - Elapsed time: 0.586 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
18-11-2025 13:52:50.32486[3][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `siew8359_dannu`.`bots` WHERE bot_id = 1; 
-----------------------
18-11-2025 13:52:50.32505[4][4] - Elapsed time: 0.192 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
18-11-2025 13:52:50.32506[0][4] - Elapsed time: 0.013 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
18-11-2025 13:52:50.32507[0][4] - Elapsed time: 0.005 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
18-11-2025 13:52:50.32508[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][235]
Say = START: raw say = /start 
-----------------------
18-11-2025 13:52:50.32508[4][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
18-11-2025 13:52:50.32509[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'START' to the front of the [user_say] array 
-----------------------
18-11-2025 13:52:50.32509[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
18-11-2025 13:52:50.32510[0][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = /start, RAW say = /start 
-----------------------
18-11-2025 13:52:50.32511[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing '/start' to the front of the [input] array 
-----------------------
18-11-2025 13:52:50.32512[4][4] - Elapsed time: 0.008 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
18-11-2025 13:52:50.32512[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'START' 
-----------------------
18-11-2025 13:52:50.32513[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'START' 
-----------------------
18-11-2025 13:52:50.32514[4][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
18-11-2025 13:52:50.32541[4][4] - Elapsed time: 0.272 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
18-11-2025 13:52:50.32543[3][4] - Elapsed time: 0.016 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` = ''
    AND (
        'START' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'ABEL SENANG BERKENALAN DENGAN ANDA ABEL SAYA AKAN MENGINGAT NAMA ANDA' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
18-11-2025 13:52:50.32582[2][4] - Elapsed time: 0.392 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
18-11-2025 13:52:50.32583[4][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
18-11-2025 13:52:50.32583[4][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
18-11-2025 13:52:50.32608[4][4] - Elapsed time: 0.251 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
18-11-2025 13:52:50.32610[3][4] - Elapsed time: 0.015 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 (
        'START' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'ABEL SENANG BERKENALAN DENGAN ANDA ABEL SAYA AKAN MENGINGAT NAMA ANDA' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
18-11-2025 13:52:50.32690[3][4] - Elapsed time: 0.798 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
18-11-2025 13:52:50.32691[2][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (1) potential AIML matches 
-----------------------
18-11-2025 13:52:50.32716[1][4] - Elapsed time: 0.254 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = ABEL SENANG BERKENALAN DENGAN ANDA ABEL SAYA AKAN MENGINGAT NAMA ANDA 
-----------------------
18-11-2025 13:52:50.32717[4][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 1 rows to unset bad matches 
-----------------------
18-11-2025 13:52:50.32717[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 'START' 
-----------------------
18-11-2025 13:52:50.32722[4][4] - Elapsed time: 0.050 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 1 relevant rows 
-----------------------
18-11-2025 13:52:50.32723[4][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
18-11-2025 13:52:50.32750[4][4] - Elapsed time: 0.264 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 1190
            [bot_id] => 1
            [pattern] => *
            [thatpattern] => 
            [topic] => 
            [filename] => chatbot.aiml
            [template] => <random>
        <li>Maaf, saya kurang memahami pertanyaan Anda.
        Bisakah Anda mengatakannya dengan cara lain?</li>
        <li>Hmm, saya belum mengerti maksud Anda.
        Bisa dijelaskan lebih detail?</li>
        <li>Maaf, saya masih belajar.
        Bisakah Anda bertanya dengan kalimat yang berbeda?</li>
        <li>Saya belum dapat memproses itu.
        Coba tanyakan hal lain atau gunakan kata-kata yang lebih sederhana.</li>
      </random>
            [score] => 252
            [current_that] => abel senang berkenalan dengan anda abel saya akan mengingat nama anda
            [aiml_id] => 1190
            [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

)
 
-----------------------
18-11-2025 13:52:50.32751[2][4] - Elapsed time: 0.014 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 1190
            [bot_id] => 1
            [pattern] => *
            [thatpattern] => 
            [topic] => 
            [filename] => chatbot.aiml
            [template] => <random>
        <li>Maaf, saya kurang memahami pertanyaan Anda.
        Bisakah Anda mengatakannya dengan cara lain?</li>
        <li>Hmm, saya belum mengerti maksud Anda.
        Bisa dijelaskan lebih detail?</li>
        <li>Maaf, saya masih belajar.
        Bisakah Anda bertanya dengan kalimat yang berbeda?</li>
        <li>Saya belum dapat memproses itu.
        Coba tanyakan hal lain atau gunakan kata-kata yang lebih sederhana.</li>
      </random>
            [score] => 252
            [current_that] => abel senang berkenalan dengan anda abel saya akan mengingat nama anda
            [aiml_id] => 1190
            [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

)

 
-----------------------
18-11-2025 13:52:50.32781[4][4] - Elapsed time: 0.298 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 1190
    [bot_id] => 1
    [pattern] => *
    [thatpattern] => 
    [topic] => 
    [filename] => chatbot.aiml
    [template] => <random>
        <li>Maaf, saya kurang memahami pertanyaan Anda.
        Bisakah Anda mengatakannya dengan cara lain?</li>
        <li>Hmm, saya belum mengerti maksud Anda.
        Bisa dijelaskan lebih detail?</li>
        <li>Maaf, saya masih belajar.
        Bisakah Anda bertanya dengan kalimat yang berbeda?</li>
        <li>Saya belum dapat memproses itu.
        Coba tanyakan hal lain atau gunakan kata-kata yang lebih sederhana.</li>
      </random>
    [score] => 252
    [current_that] => abel senang berkenalan dengan anda abel saya akan mengingat nama anda
    [aiml_id] => 1190
    [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
)
 
-----------------------
18-11-2025 13:52:50.32782[2][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
18-11-2025 13:52:50.32783[4][4] - Elapsed time: 0.014 milliseconds
[find_aiml.php][get_convo_var][727]
Get from ConvoArr [conversation][default_aiml_pattern][1][1] 
-----------------------
18-11-2025 13:52:50.32784[4][4] - Elapsed time: 0.008 milliseconds
[find_aiml.php][get_convo_var][757]
Get from ConvoArr [conversation][default_aiml_pattern][1][1] FOUND: ConvoArr Value = 'RANDOM PICKUP LINE' 
-----------------------
18-11-2025 13:52:50.32836[2][4] - Elapsed time: 0.524 milliseconds
[misc_functions.php][addUnknownInput][232]
Entry successfully added! 
-----------------------
18-11-2025 13:52:50.32837[1][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][get_aiml_to_parse][944]
Added input 'START' to the unknown_inputs table. 
-----------------------
18-11-2025 13:52:50.32838[4][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:1190 (*) 
-----------------------
18-11-2025 13:52:50.32839[3][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
18-11-2025 13:52:50.32839[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = '*' 
-----------------------
18-11-2025 13:52:50.32840[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][306]
We have pattern stars to process! 
-----------------------
18-11-2025 13:52:50.32840[2][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml.php][set_wildcards][310]
RegEx string = ~(.+)$~siuU: Searching /start for a match. 
-----------------------
18-11-2025 13:52:50.32844[2][4] - Elapsed time: 0.037 milliseconds
[parse_aiml.php][set_wildcards][313]
Array
(
    [0] => Array
        (
            [0] => /start
        )

    [1] => Array
        (
            [0] => /start
        )

)
 
-----------------------
18-11-2025 13:52:50.32845[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][set_wildcards][318]
Adding ' start' to the stars stack. 
-----------------------
18-11-2025 13:52:50.32845[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][320]
Star array = Array
(
    [1] =>  start
)
 
-----------------------
18-11-2025 13:52:50.32846[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
18-11-2025 13:52:50.32846[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
18-11-2025 13:52:50.32848[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 1190
    [category_id] => 1190
    [html_template] => 
    [lookingfor] => START
    [pattern] => *
    [score] => 252
    [stars] => Array
        (
            [1] =>  start
        )

    [template] => <random>
        <li>Maaf, saya kurang memahami pertanyaan Anda.
        Bisakah Anda mengatakannya dengan cara lain?</li>
        <li>Hmm, saya belum mengerti maksud Anda.
        Bisa dijelaskan lebih detail?</li>
        <li>Maaf, saya masih belajar.
        Bisakah Anda bertanya dengan kalimat yang berbeda?</li>
        <li>Saya belum dapat memproses itu.
        Coba tanyakan hal lain atau gunakan kata-kata yang lebih sederhana.</li>
      </random>
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => /start
)
 
-----------------------
18-11-2025 13:52:50.32848[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
18-11-2025 13:52:50.32849[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... 
-----------------------
18-11-2025 13:52:50.32854[4][4] - Elapsed time: 0.052 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><random><li><text>Maaf, saya kurang memahami pertanyaan Anda.        Bisakah Anda mengatakannya dengan cara lain?</text></li><li><text>Hmm, saya belum mengerti maksud Anda.        Bisa dijelaskan lebih detail?</text></li><li><text>Maaf, saya masih belajar.        Bisakah Anda bertanya dengan kalimat yang berbeda?</text></li><li><text>Saya belum dapat memproses itu.        Coba tanyakan hal lain atau gunakan kata-kata yang lebih sederhana.</text></li></random></template> 
-----------------------
18-11-2025 13:52:50.32868[2][4] - Elapsed time: 0.138 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
18-11-2025 13:52:50.32874[4][4] - Elapsed time: 0.054 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><random><li><text>Maaf, saya kurang memahami pertanyaan Anda.        Bisakah Anda mengatakannya dengan cara lain?</text></li><li><text>Hmm, saya belum mengerti maksud Anda.        Bisa dijelaskan lebih detail?</text></li><li><text>Maaf, saya masih belajar.        Bisakah Anda bertanya dengan kalimat yang berbeda?</text></li><li><text>Saya belum dapat memproses itu.        Coba tanyakan hal lain atau gunakan kata-kata yang lebih sederhana.</text></li></random></template>
 
-----------------------
18-11-2025 13:52:50.32874[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. 
-----------------------
18-11-2025 13:52:50.32876[2][4] - Elapsed time: 0.017 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
18-11-2025 13:52:50.32878[4][4] - Elapsed time: 0.020 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element random at level 1. element XML = <random><li><text>Maaf, saya kurang memahami pertanyaan Anda.        Bisakah Anda mengatakannya dengan cara lain?</text></li><li><text>Hmm, saya belum mengerti maksud Anda.        Bisa dijelaskan lebih detail?</text></li><li><text>Maaf, saya masih belajar.        Bisakah Anda bertanya dengan kalimat yang berbeda?</text></li><li><text>Saya belum dapat memproses itu.        Coba tanyakan hal lain atau gunakan kata-kata yang lebih sederhana.</text></li></random> 
-----------------------
18-11-2025 13:52:50.32879[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_random_tag does exist. Processing now. 
-----------------------
18-11-2025 13:52:50.32879[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element random to the parse_random_tag function 
-----------------------
18-11-2025 13:52:50.32880[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][496]
Parsing a RANDOM tag, or doing some stargazing, or fomenting chaos, or... 
-----------------------
18-11-2025 13:52:50.32885[4][4] - Elapsed time: 0.051 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][498]
Pick array:
Array
(
    [0] => SimpleXMLElement Object
        (
            [text] => Maaf, saya kurang memahami pertanyaan Anda.        Bisakah Anda mengatakannya dengan cara lain?
        )

    [1] => SimpleXMLElement Object
        (
            [text] => Hmm, saya belum mengerti maksud Anda.        Bisa dijelaskan lebih detail?
        )

    [2] => SimpleXMLElement Object
        (
            [text] => Maaf, saya masih belajar.        Bisakah Anda bertanya dengan kalimat yang berbeda?
        )

    [3] => SimpleXMLElement Object
        (
            [text] => Saya belum dapat memproses itu.        Coba tanyakan hal lain atau gunakan kata-kata yang lebih sederhana.
        )

)
 
-----------------------
18-11-2025 13:52:50.32886[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][500]
Picking option #1 from random tag.
 
-----------------------
18-11-2025 13:52:50.32886[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
18-11-2025 13:52:50.32887[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element li at level 2. element XML = <li><text>Hmm, saya belum mengerti maksud Anda.        Bisa dijelaskan lebih detail?</text></li> 
-----------------------
18-11-2025 13:52:50.32888[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_li_tag does not exist. Parsing tag as text. 
-----------------------
18-11-2025 13:52:50.32888[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
18-11-2025 13:52:50.32889[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 3. element XML = <text>Hmm, saya belum mengerti maksud Anda.        Bisa dijelaskan lebih detail?</text> 
-----------------------
18-11-2025 13:52:50.32890[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
18-11-2025 13:52:50.32890[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
18-11-2025 13:52:50.32891[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
18-11-2025 13:52:50.32891[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Hmm, saya belum mengerti maksud Anda.        Bisa dijelaskan lebih detail?' to the response array. tag name is text 
-----------------------
18-11-2025 13:52:50.32892[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
18-11-2025 13:52:50.32892[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm, saya belum mengerti maksud Anda.        Bisa dijelaskan lebih detail?
)

 
-----------------------
18-11-2025 13:52:50.32893[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
18-11-2025 13:52:50.32894[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm, saya belum mengerti maksud Anda.    Bisa dijelaskan lebih detail?' 
-----------------------
18-11-2025 13:52:50.32894[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Hmm, saya belum mengerti maksud Anda.    Bisa dijelaskan lebih detail?' to the response array. tag name is li. 
-----------------------
18-11-2025 13:52:50.32895[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
18-11-2025 13:52:50.32896[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm, saya belum mengerti maksud Anda.    Bisa dijelaskan lebih detail?
)

 
-----------------------
18-11-2025 13:52:50.32896[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
18-11-2025 13:52:50.32897[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm, saya belum mengerti maksud Anda.  Bisa dijelaskan lebih detail?' 
-----------------------
18-11-2025 13:52:50.32897[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][503]
Chose Random Response of 'Hmm, saya belum mengerti maksud Anda.  Bisa dijelaskan lebih detail?' for output. 
-----------------------
18-11-2025 13:52:50.32898[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Hmm, saya belum mengerti maksud Anda.  Bisa dijelaskan lebih detail?' to the response array. tag name is random 
-----------------------
18-11-2025 13:52:50.32898[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
18-11-2025 13:52:50.32899[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm, saya belum mengerti maksud Anda.  Bisa dijelaskan lebih detail?
)

 
-----------------------
18-11-2025 13:52:50.32899[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
18-11-2025 13:52:50.32900[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm, saya belum mengerti maksud Anda. Bisa dijelaskan lebih detail?' 
-----------------------
18-11-2025 13:52:50.32900[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Hmm, saya belum mengerti maksud Anda. Bisa dijelaskan lebih detail?' to the response array. tag name is template. 
-----------------------
18-11-2025 13:52:50.32901[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
18-11-2025 13:52:50.32902[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm, saya belum mengerti maksud Anda. Bisa dijelaskan lebih detail?
)

 
-----------------------
18-11-2025 13:52:50.32902[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
18-11-2025 13:52:50.32903[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm, saya belum mengerti maksud Anda. Bisa dijelaskan lebih detail?' 
-----------------------
18-11-2025 13:52:50.32903[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: Hmm, saya belum mengerti maksud Anda. Bisa dijelaskan lebih detail? 
-----------------------
18-11-2025 13:52:50.32905[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
18-11-2025 13:52:50.32905[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
18-11-2025 13:52:50.32906[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Hmm, saya belum mengerti maksud Anda. Bisa dijelaskan lebih detail?' to the front of the [that_raw] array 
-----------------------
18-11-2025 13:52:50.32906[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
18-11-2025 13:52:50.32908[2][4] - Elapsed time: 0.019 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Hmm, saya belum mengerti maksud Anda. Bisa dijelaskan lebih detail?' to the front of the [that] array 
-----------------------
18-11-2025 13:52:50.32909[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm, saya belum mengerti maksud Anda.' 
-----------------------
18-11-2025 13:52:50.32910[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm, saya belum mengerti maksud Anda.' 
-----------------------
18-11-2025 13:52:50.32911[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM SAYA BELUM MENGERTI MAKSUD ANDA' 
-----------------------
18-11-2025 13:52:50.32911[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM SAYA BELUM MENGERTI MAKSUD ANDA' 
-----------------------
18-11-2025 13:52:50.32912[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Bisa dijelaskan lebih detail?' 
-----------------------
18-11-2025 13:52:50.32912[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Bisa dijelaskan lebih detail?' 
-----------------------
18-11-2025 13:52:50.32913[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BISA DIJELASKAN LEBIH DETAIL' 
-----------------------
18-11-2025 13:52:50.32914[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BISA DIJELASKAN LEBIH DETAIL' 
-----------------------
18-11-2025 13:52:50.32915[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Hmm, saya belum mengerti maksud Anda. Bisa dijelaskan lebih detail?' to the front of the [parsed_template] array 
-----------------------
18-11-2025 13:52:50.32915[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
18-11-2025 13:52:50.32916[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing '<random>
        <li>Maaf, saya kurang memahami pertanyaan Anda.
        Bisakah Anda mengatakannya dengan cara lain?</li>
        <li>Hmm, saya belum mengerti maksud Anda.
        Bisa dijelaskan lebih detail?</li>
        <li>Maaf, saya masih belajar.
        Bisakah Anda bertanya dengan kalimat yang berbeda?</li>
        <li>Saya belum dapat memproses itu.
        Coba tanyakan hal lain atau gunakan kata-kata yang lebih sederhana.</li>
      </random>' to the front of the [template] array 
-----------------------
18-11-2025 13:52:50.32917[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
18-11-2025 13:52:50.32918[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
18-11-2025 13:52:50.32919[3][4] - Elapsed time: 0.011 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 ,
      '/start',
      'Hmm, saya belum mengerti maksud Anda. Bisa dijelaskan lebih detail?',
      1,
      '',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
18-11-2025 13:52:50.33310[4][4] - Elapsed time: 3.907 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
18-11-2025 13:52:50.33326[3][4] - Elapsed time: 0.164 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 
-----------------------
18-11-2025 13:52:50.33349[2][4] - Elapsed time: 0.227 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
18-11-2025 13:52:50.33350[4][4] - Elapsed time: 0.013 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
18-11-2025 13:52:50.33351[2][4] - Elapsed time: 0.006 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
18-11-2025 13:52:50.33354[4][4] - Elapsed time: 0.032 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"","usersay":"\/start","botsay":"Hmm, saya belum mengerti maksud Anda. Bisa dijelaskan lebih detail?","botData":{"convo_id":"","bot_name":"Pedro Salto","bot_id":1,"format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"1","totallines":1,"rawSay":"\/start","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":"1190","bot_id":"1","pattern":"*","thatpattern":"","topic":"","filename":"chatbot.aiml","template":"<random>\n        <li>Maaf, saya kurang memahami pertanyaan Anda.\n        Bisakah Anda mengatakannya dengan cara lain?<\/li>\n        <li>Hmm, saya belum mengerti maksud Anda.\n        Bisa dijelaskan lebih detail?<\/li>\n        <li>Maaf, saya masih belajar.\n        Bisakah Anda bertanya dengan kalimat yang berbeda?<\/li>\n        <li>Saya belum dapat memproses itu.\n        Coba tanyakan hal lain atau gunakan kata-kata yang lebih sederhana.<\/li>\n      <\/random>","score":252,"current_that":"abel senang berkenalan dengan anda abel saya akan mengingat nama anda","aiml_id":"1190","track_score":"current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)"}}} 
-----------------------
18-11-2025 13:52:50.33406[2][4] - Elapsed time: 0.518 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
18-11-2025 13:52:50.33409[0][4] - Elapsed time: 0.036 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 40.003 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => /start
    [conversation] => Array
        (
            [convo_id] => 
            [bot_name] => Pedro Salto
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_name] => Seeker
            [user_id] => 1
            [totallines] => 1
            [rawSay] => /start
            [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] => 1190
                    [bot_id] => 1
                    [pattern] => *
                    [thatpattern] => 
                    [topic] => 
                    [filename] => chatbot.aiml
                    [template] => <random>
        <li>Maaf, saya kurang memahami pertanyaan Anda.
        Bisakah Anda mengatakannya dengan cara lain?</li>
        <li>Hmm, saya belum mengerti maksud Anda.
        Bisa dijelaskan lebih detail?</li>
        <li>Maaf, saya masih belajar.
        Bisakah Anda bertanya dengan kalimat yang berbeda?</li>
        <li>Saya belum dapat memproses itu.
        Coba tanyakan hal lain atau gunakan kata-kata yang lebih sederhana.</li>
      </random>
                    [score] => 252
                    [current_that] => abel senang berkenalan dengan anda abel saya akan mengingat nama anda
                    [aiml_id] => 1190
                    [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => /start
            [lookingfor] => START
            [category_id] => 1190
            [pattern] => *
            [thatpattern] => 
            [template] => <random>
        <li>Maaf, saya kurang memahami pertanyaan Anda.
        Bisakah Anda mengatakannya dengan cara lain?</li>
        <li>Hmm, saya belum mengerti maksud Anda.
        Bisa dijelaskan lebih detail?</li>
        <li>Maaf, saya masih belajar.
        Bisakah Anda bertanya dengan kalimat yang berbeda?</li>
        <li>Saya belum dapat memproses itu.
        Coba tanyakan hal lain atau gunakan kata-kata yang lebih sederhana.</li>
      </random>
            [html_template] => 
            [topic] => 
            [score] => 252
            [aiml_id] => 1190
            [stars] => Array
                (
                    [1] =>  start
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Hmm, saya belum mengerti maksud Anda. Bisa dijelaskan lebih detail?
        )

    [client_properties] => Array
        (
            [ip_address] => 160.191.171.42
            [name] => Seeker
            [nama] => abel
        )

    [raw_that] => Array
        (
            [1] => Array
                (
                    [0] => abel Senang berkenalan dengan Anda, abel
                    [1] =>  Saya akan mengingat nama Anda
                    [2] => 
                )

            [2] => Array
                (
                    [0] => Halo! Saya pedro salto, siap membantu Anda
                    [1] =>  Ada pertanyaan?
                )

            [3] => Array
                (
                    [0] => Halo! Senang bisa ngobrol sama kamu
                    [1] => 
                )

            [4] => Array
                (
                    [0] => Halo, undefined ! Ada yang bisa aku bantu?
                )

            [5] => Array
                (
                    [0] => Halo juga, aku Pedro Salto
                )

            [6] => Array
                (
                    [0] => No AIML category found
                    [1] =>  This is a Default Response
                    [2] => 
                )

        )

    [that] => Array
        (
            [1] => Array
                (
                    [1] => BISA DIJELASKAN LEBIH DETAIL
                    [2] => HMM SAYA BELUM MENGERTI MAKSUD ANDA
                )

            [2] => Array
                (
                    [1] => ABEL SENANG BERKENALAN DENGAN ANDA ABEL SAYA AKAN MENGINGAT NAMA ANDA
                )

            [3] => Array
                (
                    [1] => HALO SAYA PEDRO SALTO SIAP MEMBANTU ANDA ADA PERTANYAAN
                )

            [4] => Array
                (
                    [1] => HALO SENANG BISA NGOBROL SAMA KAMU
                )

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

            [6] => Array
                (
                    [1] => HALO JUGA AKU PEDRO SALTO
                )

            [7] => Array
                (
                    [1] => NO AIML CATEGORY FOUND THIS IS A DEFAULT RESPONSE
                )

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

    [input] => Array
        (
            [1] => /start
            [2] => NAMA SAYA ABEL
            [3] => HALO
            [4] => HALO
            [5] => HALO
            [6] => HALO
            [7] => HALO
            [8] => 
            [9] => 
            [10] => 
        )

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

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Bisa dijelaskan lebih detail?
                    [3] => Hmm, saya belum mengerti maksud Anda.
                )

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

    [parsed_template] => Array
        (
            [1] => Hmm, saya belum mengerti maksud Anda. Bisa dijelaskan lebih detail?
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => <random> <li>Maaf, saya kurang memahami pertanyaan Anda. Bisakah Anda mengatakannya dengan cara lain?</li> <li>Hmm, saya belum mengerti maksud Anda. Bisa dijelaskan lebih detail?</li> <li>Maaf, saya masih belajar. Bisakah Anda bertanya dengan kalimat yang berbeda?</li> <li>Saya belum dapat memproses itu. Coba tanyakan hal lain atau gunakan kata-kata yang lebih sederhana.</li> </random>
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"","usersay":"\/start","botsay":"Hmm, saya belum mengerti maksud Anda. Bisa dijelaskan lebih detail?","botData":{"convo_id":"","bot_name":"Pedro Salto","bot_id":1,"format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"1","totallines":1,"rawSay":"\/start","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":"1190","bot_id":"1","pattern":"*","thatpattern":"","topic":"","filename":"chatbot.aiml","template":"<random>\n        <li>Maaf, saya kurang memahami pertanyaan Anda.\n        Bisakah Anda mengatakannya dengan cara lain?<\/li>\n        <li>Hmm, saya belum mengerti maksud Anda.\n        Bisa dijelaskan lebih detail?<\/li>\n        <li>Maaf, saya masih belajar.\n        Bisakah Anda bertanya dengan kalimat yang berbeda?<\/li>\n        <li>Saya belum dapat memproses itu.\n        Coba tanyakan hal lain atau gunakan kata-kata yang lebih sederhana.<\/li>\n      <\/random>","score":252,"current_that":"abel senang berkenalan dengan anda abel saya akan mengingat nama anda","aiml_id":"1190","track_score":"current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)"}}}
)

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