07-10-2025 09:12:18.57244[0][4] - Elapsed time: 1.900 milliseconds
[conversation_start.php][Called outside of function][56]
Conversation starting. Current system specs:
  Program O version:            2.6.11
  Server Software:              LiteSpeed
  PHP Version:                  7.4.33
  OS:                           Linux
  OS Version:                   #1 SMP PREEMPT_DYNAMIC Thu Sep 4 05:08:52 EDT 2025
  MySQL Version:                11.4.8-MariaDB-cll-lve
  Multi-byte functions enabled: true 
-----------------------
07-10-2025 09:12:18.57300[4][4] - Elapsed time: 0.558 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
07-10-2025 09:12:18.57334[4][4] - Elapsed time: 0.347 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
07-10-2025 09:12:18.57352[4][4] - Elapsed time: 0.175 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
07-10-2025 09:12:18.57420[4][4] - Elapsed time: 0.685 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
07-10-2025 09:12:18.57423[4][4] - Elapsed time: 0.024 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
07-10-2025 09:12:18.57444[0][4] - Elapsed time: 0.212 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = 52ee4108aa742d2b82febd060474c05b 
-----------------------
07-10-2025 09:12:18.57446[4][4] - Elapsed time: 0.022 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'Meow? Miaw gak ngerti. Coba lagi yaa.

> _Sent via fonnte.com_'. 
-----------------------
07-10-2025 09:12:18.57449[4][4] - Elapsed time: 0.027 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
07-10-2025 09:12:18.57451[4][4] - Elapsed time: 0.017 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
07-10-2025 09:12:18.57453[3][4] - Elapsed time: 0.022 milliseconds
[intialise_conversation.php][load_default_bot_values][118]
load db bot personality values SQL: SELECT * FROM `si2h6234_dbbigel`.`botpersonality` WHERE `bot_id` = 1; 
-----------------------
07-10-2025 09:12:18.57519[1][4] - Elapsed time: 0.664 milliseconds
[intialise_conversation.php][check_set_convo_id][653]
Cannot find CONVO ID. Using default: 52ee4108aa742d2b82febd060474c05b 
-----------------------
07-10-2025 09:12:18.57523[2][4] - Elapsed time: 0.038 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
07-10-2025 09:12:18.57525[3][4] - Elapsed time: 0.022 milliseconds
[intialise_conversation.php][check_set_bot][599]
Making sure the bot exists. SQL = SELECT * FROM `si2h6234_dbbigel`.`bots` WHERE bot_id = 1 AND `bot_active` = 1; 
-----------------------
07-10-2025 09:12:18.57590[2][4] - Elapsed time: 0.646 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
07-10-2025 09:12:18.57592[2][4] - Elapsed time: 0.024 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
07-10-2025 09:12:18.57657[2][4] - Elapsed time: 0.651 milliseconds
[handle_user.php][intisaliseUser][82]
Initializing user. 
-----------------------
07-10-2025 09:12:18.57737[3][4] - Elapsed time: 0.794 milliseconds
[handle_user.php][intisaliseUser][128]
intisaliseUser #40 SQL: INSERT INTO `users`
        (`id`, `user_name`, `session_id`, `bot_id`, `chatlines`,`ip`, `referer`, `browser`, `date_logged_on` , `last_update`    , `state`)
 VALUES (NULL, 'Seeker'  , '52ee4108aa742d2b82febd060474c05b'   , 1 , '0'        , '202.10.43.123', ''      , 'unknown browser'      , CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, ''     ); 
-----------------------
07-10-2025 09:12:18.57795[3][4] - Elapsed time: 0.581 milliseconds
[intialise_conversation.php][check_set_user][705]
Loading client properties from the DB - sql:
SELECT `name`, `value` FROM `si2h6234_dbbigel`.`client_properties` WHERE `user_id` = 40 AND `bot_id` = 1; 
-----------------------
07-10-2025 09:12:18.57862[2][4] - Elapsed time: 0.671 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
07-10-2025 09:12:18.57867[2][4] - Elapsed time: 0.051 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on Meow. 
-----------------------
07-10-2025 09:12:18.57869[2][4] - Elapsed time: 0.024 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
07-10-2025 09:12:18.57959[2][4] - Elapsed time: 0.900 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on ?. 
-----------------------
07-10-2025 09:12:18.57964[2][4] - Elapsed time: 0.049 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
07-10-2025 09:12:18.57967[2][4] - Elapsed time: 0.029 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on Miaw. 
-----------------------
07-10-2025 09:12:18.57971[2][4] - Elapsed time: 0.038 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
07-10-2025 09:12:18.57974[2][4] - Elapsed time: 0.026 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on gak. 
-----------------------
07-10-2025 09:12:18.57977[2][4] - Elapsed time: 0.030 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
07-10-2025 09:12:18.57979[2][4] - Elapsed time: 0.024 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on ngerti. 
-----------------------
07-10-2025 09:12:18.57982[2][4] - Elapsed time: 0.030 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on .. 
-----------------------
07-10-2025 09:12:18.57986[2][4] - Elapsed time: 0.041 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
07-10-2025 09:12:18.57989[2][4] - Elapsed time: 0.026 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on Coba. 
-----------------------
07-10-2025 09:12:18.57992[2][4] - Elapsed time: 0.037 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
07-10-2025 09:12:18.57995[2][4] - Elapsed time: 0.025 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on lagi. 
-----------------------
07-10-2025 09:12:18.57998[2][4] - Elapsed time: 0.031 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
07-10-2025 09:12:18.58000[2][4] - Elapsed time: 0.024 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on yaa. 
-----------------------
07-10-2025 09:12:18.58003[2][4] - Elapsed time: 0.029 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on .. 
-----------------------
07-10-2025 09:12:18.58006[2][4] - Elapsed time: 0.024 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on 
. 
-----------------------
07-10-2025 09:12:18.58008[2][4] - Elapsed time: 0.024 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on 
. 
-----------------------
07-10-2025 09:12:18.58010[2][4] - Elapsed time: 0.023 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on >. 
-----------------------
07-10-2025 09:12:18.58013[2][4] - Elapsed time: 0.024 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
07-10-2025 09:12:18.58015[2][4] - Elapsed time: 0.023 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on _. 
-----------------------
07-10-2025 09:12:18.58017[2][4] - Elapsed time: 0.023 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on Sent. 
-----------------------
07-10-2025 09:12:18.58020[2][4] - Elapsed time: 0.023 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
07-10-2025 09:12:18.58022[2][4] - Elapsed time: 0.023 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on via. 
-----------------------
07-10-2025 09:12:18.58025[2][4] - Elapsed time: 0.027 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
07-10-2025 09:12:18.58027[2][4] - Elapsed time: 0.024 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on fonnte. 
-----------------------
07-10-2025 09:12:18.58030[2][4] - Elapsed time: 0.029 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on .. 
-----------------------
07-10-2025 09:12:18.58032[2][4] - Elapsed time: 0.023 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on com. 
-----------------------
07-10-2025 09:12:18.58035[2][4] - Elapsed time: 0.027 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on _. 
-----------------------
07-10-2025 09:12:18.58038[4][4] - Elapsed time: 0.030 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Meow? Miaw gak ngerti. Coba lagi yaa.

> _Sent via fonnte.com_' 
-----------------------
07-10-2025 09:12:18.58042[4][4] - Elapsed time: 0.038 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MEOW MIAW GAK NGERTI COBA LAGI YAA SENT VIA FONNTE COM' 
-----------------------
07-10-2025 09:12:18.58043[2][4] - Elapsed time: 0.016 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: MEOW MIAW GAK NGERTI COBA LAGI YAA SENT VIA FONNTE COM
Convo id: 52ee4108aa742d2b82febd060474c05b
Bot id: 1
Format: json 
-----------------------
07-10-2025 09:12:18.58045[4][4] - Elapsed time: 0.021 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
07-10-2025 09:12:18.58047[2][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
07-10-2025 09:12:18.58049[3][4] - Elapsed time: 0.021 milliseconds
[intialise_conversation.php][load_that][784]
Getting conversation log entries for the current user. SQL:
SELECT `input`, `response` FROM `si2h6234_dbbigel`.`conversation_log` WHERE `user_id` = 40 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
07-10-2025 09:12:18.58146[4][4] - Elapsed time: 0.973 milliseconds
[intialise_conversation.php][load_that][856]
Couldn't find any previous inputs or responses. 
-----------------------
07-10-2025 09:12:18.58202[2][4] - Elapsed time: 0.554 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
07-10-2025 09:12:18.58205[3][4] - Elapsed time: 0.030 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `si2h6234_dbbigel`.`bots` WHERE bot_id = 1; 
-----------------------
07-10-2025 09:12:18.58267[4][4] - Elapsed time: 0.621 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
07-10-2025 09:12:18.58271[0][4] - Elapsed time: 0.044 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
07-10-2025 09:12:18.58273[0][4] - Elapsed time: 0.015 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
07-10-2025 09:12:18.58274[0][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][235]
Say = MEOW MIAW GAK NGERTI COBA LAGI YAA SENT VIA FONNTE COM: raw say = Meow? Miaw gak ngerti. Coba lagi yaa.

> _Sent via fonnte.com_ 
-----------------------
07-10-2025 09:12:18.58275[4][4] - Elapsed time: 0.016 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
07-10-2025 09:12:18.58277[2][4] - Elapsed time: 0.016 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'MEOW MIAW GAK NGERTI COBA LAGI YAA SENT VIA FONNTE COM' to the front of the [user_say] array 
-----------------------
07-10-2025 09:12:18.58279[4][4] - Elapsed time: 0.021 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
07-10-2025 09:12:18.58282[0][4] - Elapsed time: 0.030 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = Meow? Miaw gak ngerti. Coba lagi yaa.

> _Sent via fonnte.com_, RAW say = Meow? Miaw gak ngerti. Coba lagi yaa.

> _Sent via fonnte.com_ 
-----------------------
07-10-2025 09:12:18.58283[2][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Meow? Miaw gak ngerti. Coba lagi yaa.

> _Sent via fonnte.com_' to the front of the [input] array 
-----------------------
07-10-2025 09:12:18.58286[4][4] - Elapsed time: 0.029 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
07-10-2025 09:12:18.58289[4][4] - Elapsed time: 0.022 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
07-10-2025 09:12:18.58290[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'MEOW MIAW GAK NGERTI COBA LAGI YAA SENT VIA FONNTE COM' 
-----------------------
07-10-2025 09:12:18.58292[4][4] - Elapsed time: 0.025 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MEOW MIAW GAK NGERTI COBA LAGI YAA SENT VIA FONNTE COM' 
-----------------------
07-10-2025 09:12:18.58294[4][4] - Elapsed time: 0.013 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
07-10-2025 09:12:18.58362[4][4] - Elapsed time: 0.683 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
07-10-2025 09:12:18.58368[3][4] - Elapsed time: 0.058 milliseconds
[find_aiml.php][find_userdefined_aiml][870]
User defined SQL:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `template` FROM `si2h6234_dbbigel`.`aiml_userdefined` WHERE
    `bot_id` = 1 AND
    `user_id` = '52ee4108aa742d2b82febd060474c05b'
    AND (
        'MEOW MIAW GAK NGERTI COBA LAGI YAA SENT VIA FONNTE COM' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
07-10-2025 09:12:18.58434[2][4] - Elapsed time: 0.666 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
07-10-2025 09:12:18.58438[4][4] - Elapsed time: 0.038 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
07-10-2025 09:12:18.58440[4][4] - Elapsed time: 0.014 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
07-10-2025 09:12:18.58504[4][4] - Elapsed time: 0.647 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
07-10-2025 09:12:18.58508[3][4] - Elapsed time: 0.040 milliseconds
[find_aiml.php][find_aiml_matches][1052]
Core Match AIML sql:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `topic`, `filename`, `template` FROM `si2h6234_dbbigel`.`aiml` WHERE
    bot_id = 1 AND (
        'MEOW MIAW GAK NGERTI COBA LAGI YAA SENT VIA FONNTE COM' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
07-10-2025 09:12:18.58600[3][4] - Elapsed time: 0.920 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
07-10-2025 09:12:18.58602[1][4] - Elapsed time: 0.019 milliseconds
[find_aiml.php][find_aiml_matches][1082]
Error: FOUND NO AIML matches in DB. 
-----------------------
07-10-2025 09:12:18.58604[4][4] - Elapsed time: 0.016 milliseconds
[find_aiml.php][get_convo_var][727]
Get from ConvoArr [conversation][default_aiml_pattern][1][1] 
-----------------------
07-10-2025 09:12:18.58606[4][4] - Elapsed time: 0.017 milliseconds
[find_aiml.php][get_convo_var][757]
Get from ConvoArr [conversation][default_aiml_pattern][1][1] FOUND: ConvoArr Value = 'RANDOM PICKUP LINE' 
-----------------------
07-10-2025 09:12:18.58654[2][4] - Elapsed time: 0.490 milliseconds
[misc_functions.php][addUnknownInput][232]
Entry successfully added! 
-----------------------
07-10-2025 09:12:18.58656[1][4] - Elapsed time: 0.017 milliseconds
[find_aiml.php][find_aiml_matches][1084]
Added input 'MEOW MIAW GAK NGERTI COBA LAGI YAA SENT VIA FONNTE COM' to the unknown_inputs table. 
-----------------------
07-10-2025 09:12:18.58726[4][4] - Elapsed time: 0.701 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 1 rows to unset bad matches 
-----------------------
07-10-2025 09:12:18.58730[1][4] - Elapsed time: 0.032 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][56]
Returning error as no results where found 
-----------------------
07-10-2025 09:12:18.58731[4][4] - Elapsed time: 0.017 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
07-10-2025 09:12:18.58798[4][4] - Elapsed time: 0.672 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [aiml_id] => -1
            [bot_id] => 1
            [pattern] => no results
            [thatpattern] => 
            [template] => No AIML category found. This is a Default Response.
            [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)
        )

)
 
-----------------------
07-10-2025 09:12:18.58802[2][4] - Elapsed time: 0.036 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] => No AIML category found. This is a Default Response.
            [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)
        )

)

 
-----------------------
07-10-2025 09:12:18.58832[4][4] - Elapsed time: 0.299 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [aiml_id] => -1
    [bot_id] => 1
    [pattern] => no results
    [thatpattern] => 
    [template] => No AIML category found. This is a Default Response.
    [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)
)
 
-----------------------
07-10-2025 09:12:18.58833[2][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
07-10-2025 09:12:18.58837[4][4] - Elapsed time: 0.033 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:-1 (no results) 
-----------------------
07-10-2025 09:12:18.58838[3][4] - Elapsed time: 0.017 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
07-10-2025 09:12:18.58840[2][4] - Elapsed time: 0.016 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'no results' 
-----------------------
07-10-2025 09:12:18.58841[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
07-10-2025 09:12:18.58842[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
07-10-2025 09:12:18.58845[2][4] - Elapsed time: 0.023 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => -1
    [html_template] => 
    [lookingfor] => MEOW MIAW GAK NGERTI COBA LAGI YAA SENT VIA FONNTE COM
    [pattern] => no results
    [score] => 261
    [stars] => Array
        (
        )

    [template] => No AIML category found. This is a Default Response.
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => Meow? Miaw gak ngerti. Coba lagi yaa.

> _Sent via fonnte.com_
)
 
-----------------------
07-10-2025 09:12:18.58848[2][4] - Elapsed time: 0.034 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
07-10-2025 09:12:18.58850[2][4] - Elapsed time: 0.018 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
07-10-2025 09:12:18.58852[4][4] - Elapsed time: 0.024 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><text>No AIML category found. This is a Default Response.</text></template> 
-----------------------
07-10-2025 09:12:18.58860[2][4] - Elapsed time: 0.072 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
07-10-2025 09:12:18.58864[4][4] - Elapsed time: 0.047 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><text>No AIML category found. This is a Default Response.</text></template>
 
-----------------------
07-10-2025 09:12:18.58866[4][4] - Elapsed time: 0.018 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
07-10-2025 09:12:18.58868[2][4] - Elapsed time: 0.022 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
07-10-2025 09:12:18.58870[4][4] - Elapsed time: 0.021 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>No AIML category found. This is a Default Response.</text> 
-----------------------
07-10-2025 09:12:18.58872[4][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
07-10-2025 09:12:18.58873[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
07-10-2025 09:12:18.58875[2][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
07-10-2025 09:12:18.58876[4][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'No AIML category found. This is a Default Response.' to the response array. tag name is text 
-----------------------
07-10-2025 09:12:18.58877[2][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
07-10-2025 09:12:18.58879[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => No AIML category found. This is a Default Response.
)

 
-----------------------
07-10-2025 09:12:18.58880[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
07-10-2025 09:12:18.58881[4][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'No AIML category found. This is a Default Response.' 
-----------------------
07-10-2025 09:12:18.58883[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'No AIML category found. This is a Default Response.' to the response array. tag name is template. 
-----------------------
07-10-2025 09:12:18.58886[2][4] - Elapsed time: 0.028 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
07-10-2025 09:12:18.58887[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => No AIML category found. This is a Default Response.
)

 
-----------------------
07-10-2025 09:12:18.58888[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
07-10-2025 09:12:18.58889[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'No AIML category found. This is a Default Response.' 
-----------------------
07-10-2025 09:12:18.58891[4][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: No AIML category found. This is a Default Response. 
-----------------------
07-10-2025 09:12:18.58893[4][4] - Elapsed time: 0.017 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
07-10-2025 09:12:18.58894[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
07-10-2025 09:12:18.58895[2][4] - Elapsed time: 0.013 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_raw] array 
-----------------------
07-10-2025 09:12:18.58897[4][4] - Elapsed time: 0.018 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
07-10-2025 09:12:18.58902[2][4] - Elapsed time: 0.054 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 
-----------------------
07-10-2025 09:12:18.58904[4][4] - Elapsed time: 0.017 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
07-10-2025 09:12:18.58907[4][4] - Elapsed time: 0.025 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'No AIML category found.' 
-----------------------
07-10-2025 09:12:18.58908[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'No AIML category found.' 
-----------------------
07-10-2025 09:12:18.58910[4][4] - Elapsed time: 0.025 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NO AIML CATEGORY FOUND' 
-----------------------
07-10-2025 09:12:18.58912[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NO AIML CATEGORY FOUND' 
-----------------------
07-10-2025 09:12:18.58913[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'This is a Default Response.' 
-----------------------
07-10-2025 09:12:18.58914[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'This is a Default Response.' 
-----------------------
07-10-2025 09:12:18.58916[4][4] - Elapsed time: 0.016 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'THIS IS A DEFAULT RESPONSE' 
-----------------------
07-10-2025 09:12:18.58917[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'THIS IS A DEFAULT RESPONSE' 
-----------------------
07-10-2025 09:12:18.58919[2][4] - Elapsed time: 0.021 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'No AIML category found. This is a Default Response.' to the front of the [parsed_template] array 
-----------------------
07-10-2025 09:12:18.58920[4][4] - Elapsed time: 0.015 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
07-10-2025 09:12:18.58922[2][4] - Elapsed time: 0.019 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'No AIML category found. This is a Default Response.' to the front of the [template] array 
-----------------------
07-10-2025 09:12:18.58924[4][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
07-10-2025 09:12:18.58926[2][4] - Elapsed time: 0.022 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
07-10-2025 09:12:18.58928[3][4] - Elapsed time: 0.026 milliseconds
[intialise_conversation.php][log_conversation][442]
Saving conservation SQL: INSERT INTO `si2h6234_dbbigel`.`conversation_log` (
      `id` ,
      `input` ,
      `response` ,
      `user_id` ,
      `convo_id` ,
      `bot_id` ,
      `timestamp`
    )
    VALUES (
      NULL ,
      'Meow? Miaw gak ngerti. Coba lagi yaa.

> _Sent via fonnte.com_',
      'No AIML category found. This is a Default Response.',
      40,
      '52ee4108aa742d2b82febd060474c05b',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
07-10-2025 09:12:18.59180[4][4] - Elapsed time: 2.517 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
07-10-2025 09:12:18.59227[3][4] - Elapsed time: 0.474 milliseconds
[display_conversation.php][get_conversation_to_display][59]
get_conversation SQL: SELECT * FROM `si2h6234_dbbigel`.`conversation_log` WHERE
        `user_id` = :user_id
        AND `bot_id` = :bot_id
        AND `convo_id` = :convo_id
        ORDER BY id DESC  LIMIT 1 
-----------------------
07-10-2025 09:12:18.59275[2][4] - Elapsed time: 0.476 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
07-10-2025 09:12:18.59278[4][4] - Elapsed time: 0.025 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
07-10-2025 09:12:18.59279[2][4] - Elapsed time: 0.015 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
07-10-2025 09:12:18.59282[4][4] - Elapsed time: 0.033 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"52ee4108aa742d2b82febd060474c05b","usersay":"Meow? Miaw gak ngerti. Coba lagi yaa.\n\n> _Sent via fonnte.com_","botsay":"No AIML category found. This is a Default Response.","botData":{"convo_id":"52ee4108aa742d2b82febd060474c05b","bot_name":"bigel","bot_id":"1","format":"json","unknown_user":"Seeker","user_id":"40","totallines":1,"user_name":"Seeker","rawSay":"Meow? Miaw gak ngerti. Coba lagi yaa.\n\n> _Sent via fonnte.com_","conversation_lines":"1","remember_up_to":"10","debugemail":"pratama0mal.in@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"aiml_id":"-1","bot_id":"1","pattern":"no results","thatpattern":"","template":"No AIML category found. This is a Default Response.","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)"}}} 
-----------------------
07-10-2025 09:12:18.59330[2][4] - Elapsed time: 0.475 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
07-10-2025 09:12:18.59336[0][4] - Elapsed time: 0.061 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 22.792 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => Meow? Miaw gak ngerti. Coba lagi yaa.

> _Sent via fonnte.com_
    [conversation] => Array
        (
            [convo_id] => 52ee4108aa742d2b82febd060474c05b
            [bot_name] => bigel
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_id] => 40
            [totallines] => 1
            [user_name] => Seeker
            [rawSay] => Meow? Miaw gak ngerti. Coba lagi yaa.

> _Sent via fonnte.com_
            [conversation_lines] => 1
            [remember_up_to] => 10
            [debugemail] => pratama0mal.in@gmail.com
            [debug_level] => 4
            [debugmode] => 1
            [save_state] => session
            [default_aiml_pattern] => RANDOM PICKUP LINE
            [bot_parent_id] => 1
            [aimlData] => Array
                (
                    [aiml_id] => -1
                    [bot_id] => 1
                    [pattern] => no results
                    [thatpattern] => 
                    [template] => No AIML category found. This is a Default Response.
                    [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] => Meow? Miaw gak ngerti. Coba lagi yaa.

> _Sent via fonnte.com_
            [lookingfor] => MEOW MIAW GAK NGERTI COBA LAGI YAA SENT VIA FONNTE COM
            [pattern] => no results
            [thatpattern] => 
            [template] => No AIML category found. This is a Default Response.
            [html_template] => 
            [topic] => 
            [score] => 261
            [aiml_id] => -1
            [stars] => Array
                (
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => No AIML category found. This is a Default Response.
        )

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

    [time_start] => 1759803138.5705
    [user_say] => Array
        (
            [1] => MEOW MIAW GAK NGERTI COBA LAGI YAA SENT VIA FONNTE COM
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [input] => Array
        (
            [1] => Meow? Miaw gak ngerti. Coba lagi yaa. > _Sent via fonnte.com_
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => This is a Default Response.
                    [3] => No AIML category found.
                )

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

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

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

    [parsed_template] => Array
        (
            [1] => No AIML category found. This is a Default Response.
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => No AIML category found. This is a Default Response.
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"52ee4108aa742d2b82febd060474c05b","usersay":"Meow? Miaw gak ngerti. Coba lagi yaa.\n\n> _Sent via fonnte.com_","botsay":"No AIML category found. This is a Default Response.","botData":{"convo_id":"52ee4108aa742d2b82febd060474c05b","bot_name":"bigel","bot_id":"1","format":"json","unknown_user":"Seeker","user_id":"40","totallines":1,"user_name":"Seeker","rawSay":"Meow? Miaw gak ngerti. Coba lagi yaa.\n\n> _Sent via fonnte.com_","conversation_lines":"1","remember_up_to":"10","debugemail":"pratama0mal.in@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"aiml_id":"-1","bot_id":"1","pattern":"no results","thatpattern":"","template":"No AIML category found. This is a Default Response.","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: 22.792 Milliseconds. Goodbye.