07-10-2025 09:08:24.08190[0][4] - Elapsed time: 1.256 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:08:24.08228[4][4] - Elapsed time: 0.386 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
07-10-2025 09:08:24.08259[4][4] - Elapsed time: 0.308 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
07-10-2025 09:08:24.08276[4][4] - Elapsed time: 0.170 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
07-10-2025 09:08:24.08334[4][4] - Elapsed time: 0.581 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
07-10-2025 09:08:24.08337[4][4] - Elapsed time: 0.023 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
07-10-2025 09:08:24.08354[0][4] - Elapsed time: 0.177 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = 5f6b09e1db986b884f2d8c73c24323e3 
-----------------------
07-10-2025 09:08:24.08357[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:08:24.08359[4][4] - Elapsed time: 0.022 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
07-10-2025 09:08:24.08360[4][4] - Elapsed time: 0.016 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
07-10-2025 09:08:24.08362[3][4] - Elapsed time: 0.018 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:08:24.08400[1][4] - Elapsed time: 0.374 milliseconds
[intialise_conversation.php][check_set_convo_id][653]
Cannot find CONVO ID. Using default: 5f6b09e1db986b884f2d8c73c24323e3 
-----------------------
07-10-2025 09:08:24.08402[2][4] - Elapsed time: 0.023 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
07-10-2025 09:08:24.08404[3][4] - Elapsed time: 0.018 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:08:24.08437[2][4] - Elapsed time: 0.330 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
07-10-2025 09:08:24.08439[2][4] - Elapsed time: 0.022 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
07-10-2025 09:08:24.08467[2][4] - Elapsed time: 0.279 milliseconds
[handle_user.php][intisaliseUser][82]
Initializing user. 
-----------------------
07-10-2025 09:08:24.08502[3][4] - Elapsed time: 0.352 milliseconds
[handle_user.php][intisaliseUser][128]
intisaliseUser #29 SQL: INSERT INTO `users`
        (`id`, `user_name`, `session_id`, `bot_id`, `chatlines`,`ip`, `referer`, `browser`, `date_logged_on` , `last_update`    , `state`)
 VALUES (NULL, 'Seeker'  , '5f6b09e1db986b884f2d8c73c24323e3'   , 1 , '0'        , '202.10.43.123', ''      , 'unknown browser'      , CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, ''     ); 
-----------------------
07-10-2025 09:08:24.08524[3][4] - Elapsed time: 0.222 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` = 29 AND `bot_id` = 1; 
-----------------------
07-10-2025 09:08:24.08551[2][4] - Elapsed time: 0.267 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
07-10-2025 09:08:24.08554[2][4] - Elapsed time: 0.028 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on Meow. 
-----------------------
07-10-2025 09:08:24.08556[2][4] - Elapsed time: 0.019 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
07-10-2025 09:08:24.08606[2][4] - Elapsed time: 0.500 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on ?. 
-----------------------
07-10-2025 09:08:24.08609[2][4] - Elapsed time: 0.034 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
07-10-2025 09:08:24.08611[2][4] - Elapsed time: 0.025 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on Miaw. 
-----------------------
07-10-2025 09:08:24.08615[2][4] - Elapsed time: 0.038 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
07-10-2025 09:08:24.08618[2][4] - Elapsed time: 0.024 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on gak. 
-----------------------
07-10-2025 09:08:24.08621[2][4] - Elapsed time: 0.029 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
07-10-2025 09:08:24.08623[2][4] - Elapsed time: 0.024 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on ngerti. 
-----------------------
07-10-2025 09:08:24.08626[2][4] - Elapsed time: 0.030 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on .. 
-----------------------
07-10-2025 09:08:24.08629[2][4] - Elapsed time: 0.027 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
07-10-2025 09:08:24.08631[2][4] - Elapsed time: 0.025 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on Coba. 
-----------------------
07-10-2025 09:08:24.08635[2][4] - Elapsed time: 0.042 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
07-10-2025 09:08:24.08638[2][4] - Elapsed time: 0.027 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on lagi. 
-----------------------
07-10-2025 09:08:24.08642[2][4] - Elapsed time: 0.037 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
07-10-2025 09:08:24.08644[2][4] - Elapsed time: 0.025 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on yaa. 
-----------------------
07-10-2025 09:08:24.08647[2][4] - Elapsed time: 0.029 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on .. 
-----------------------
07-10-2025 09:08:24.08649[2][4] - Elapsed time: 0.023 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on 
. 
-----------------------
07-10-2025 09:08:24.08652[2][4] - Elapsed time: 0.024 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on 
. 
-----------------------
07-10-2025 09:08:24.08654[2][4] - Elapsed time: 0.023 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on >. 
-----------------------
07-10-2025 09:08:24.08657[2][4] - Elapsed time: 0.024 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
07-10-2025 09:08:24.08659[2][4] - Elapsed time: 0.023 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on _. 
-----------------------
07-10-2025 09:08:24.08661[2][4] - Elapsed time: 0.024 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on Sent. 
-----------------------
07-10-2025 09:08:24.08664[2][4] - Elapsed time: 0.026 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
07-10-2025 09:08:24.08666[2][4] - Elapsed time: 0.024 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on via. 
-----------------------
07-10-2025 09:08:24.08669[2][4] - Elapsed time: 0.029 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
07-10-2025 09:08:24.08672[2][4] - Elapsed time: 0.024 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on fonnte. 
-----------------------
07-10-2025 09:08:24.08675[2][4] - Elapsed time: 0.029 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on .. 
-----------------------
07-10-2025 09:08:24.08677[2][4] - Elapsed time: 0.024 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on com. 
-----------------------
07-10-2025 09:08:24.08680[2][4] - Elapsed time: 0.029 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on _. 
-----------------------
07-10-2025 09:08:24.08683[4][4] - Elapsed time: 0.029 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:08:24.08687[4][4] - Elapsed time: 0.045 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:08:24.08689[2][4] - Elapsed time: 0.017 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: 5f6b09e1db986b884f2d8c73c24323e3
Bot id: 1
Format: json 
-----------------------
07-10-2025 09:08:24.08691[4][4] - Elapsed time: 0.016 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
07-10-2025 09:08:24.08692[2][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
07-10-2025 09:08:24.08694[3][4] - Elapsed time: 0.020 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` = 29 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
07-10-2025 09:08:24.08736[4][4] - Elapsed time: 0.425 milliseconds
[intialise_conversation.php][load_that][856]
Couldn't find any previous inputs or responses. 
-----------------------
07-10-2025 09:08:24.08782[2][4] - Elapsed time: 0.453 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
07-10-2025 09:08:24.08787[3][4] - Elapsed time: 0.050 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:08:24.08815[4][4] - Elapsed time: 0.280 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
07-10-2025 09:08:24.08817[0][4] - Elapsed time: 0.027 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
07-10-2025 09:08:24.08819[0][4] - Elapsed time: 0.013 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
07-10-2025 09:08:24.08820[0][4] - Elapsed time: 0.011 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:08:24.08821[4][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
07-10-2025 09:08:24.08822[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 [user_say] array 
-----------------------
07-10-2025 09:08:24.08824[4][4] - Elapsed time: 0.021 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
07-10-2025 09:08:24.08827[0][4] - Elapsed time: 0.026 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:08:24.08828[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:08:24.08830[4][4] - Elapsed time: 0.016 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
07-10-2025 09:08:24.08832[4][4] - Elapsed time: 0.019 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
07-10-2025 09:08:24.08833[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:08:24.08836[4][4] - Elapsed time: 0.023 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:08:24.08837[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:08:24.08864[4][4] - Elapsed time: 0.270 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
07-10-2025 09:08:24.08868[3][4] - Elapsed time: 0.036 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` = '5f6b09e1db986b884f2d8c73c24323e3'
    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:08:24.08895[2][4] - Elapsed time: 0.273 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
07-10-2025 09:08:24.08897[4][4] - Elapsed time: 0.021 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
07-10-2025 09:08:24.08898[4][4] - Elapsed time: 0.011 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
07-10-2025 09:08:24.08926[4][4] - Elapsed time: 0.275 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
07-10-2025 09:08:24.08928[3][4] - Elapsed time: 0.030 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:08:24.08966[3][4] - Elapsed time: 0.378 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
07-10-2025 09:08:24.08968[1][4] - Elapsed time: 0.016 milliseconds
[find_aiml.php][find_aiml_matches][1082]
Error: FOUND NO AIML matches in DB. 
-----------------------
07-10-2025 09:08:24.08969[4][4] - Elapsed time: 0.014 milliseconds
[find_aiml.php][get_convo_var][727]
Get from ConvoArr [conversation][default_aiml_pattern][1][1] 
-----------------------
07-10-2025 09:08:24.08971[4][4] - Elapsed time: 0.014 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:08:24.08996[2][4] - Elapsed time: 0.252 milliseconds
[misc_functions.php][addUnknownInput][232]
Entry successfully added! 
-----------------------
07-10-2025 09:08:24.08998[1][4] - Elapsed time: 0.016 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:08:24.09024[4][4] - Elapsed time: 0.267 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 1 rows to unset bad matches 
-----------------------
07-10-2025 09:08:24.09026[1][4] - Elapsed time: 0.016 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][56]
Returning error as no results where found 
-----------------------
07-10-2025 09:08:24.09027[4][4] - Elapsed time: 0.013 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
07-10-2025 09:08:24.09057[4][4] - Elapsed time: 0.296 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:08:24.09060[2][4] - Elapsed time: 0.030 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:08:24.09081[4][4] - Elapsed time: 0.215 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:08:24.09083[2][4] - Elapsed time: 0.013 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
07-10-2025 09:08:24.09087[4][4] - Elapsed time: 0.044 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:-1 (no results) 
-----------------------
07-10-2025 09:08:24.09088[3][4] - Elapsed time: 0.016 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
07-10-2025 09:08:24.09090[2][4] - Elapsed time: 0.014 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'no results' 
-----------------------
07-10-2025 09:08:24.09091[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
07-10-2025 09:08:24.09092[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
07-10-2025 09:08:24.09094[2][4] - Elapsed time: 0.022 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:08:24.09096[2][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
07-10-2025 09:08:24.09097[2][4] - Elapsed time: 0.014 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:08:24.09099[4][4] - Elapsed time: 0.020 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:08:24.09106[2][4] - Elapsed time: 0.070 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
07-10-2025 09:08:24.09110[4][4] - Elapsed time: 0.040 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><text>No AIML category found. This is a Default Response.</text></template>
 
-----------------------
07-10-2025 09:08:24.09112[4][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
07-10-2025 09:08:24.09114[2][4] - Elapsed time: 0.019 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
07-10-2025 09:08:24.09116[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:08:24.09117[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:08:24.09119[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
07-10-2025 09:08:24.09120[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
07-10-2025 09:08:24.09121[4][4] - Elapsed time: 0.013 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:08:24.09122[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
07-10-2025 09:08:24.09124[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:08:24.09125[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
07-10-2025 09:08:24.09126[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:08:24.09127[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:08:24.09129[2][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
07-10-2025 09:08:24.09130[2][4] - Elapsed time: 0.012 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:08:24.09131[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
07-10-2025 09:08:24.09132[4][4] - Elapsed time: 0.012 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:08:24.09134[4][4] - Elapsed time: 0.015 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:08:24.09135[4][4] - Elapsed time: 0.016 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
07-10-2025 09:08:24.09137[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
07-10-2025 09:08:24.09138[2][4] - Elapsed time: 0.011 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:08:24.09139[4][4] - Elapsed time: 0.017 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
07-10-2025 09:08:24.09144[2][4] - Elapsed time: 0.045 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:08:24.09145[4][4] - Elapsed time: 0.016 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
07-10-2025 09:08:24.09148[4][4] - Elapsed time: 0.022 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'No AIML category found.' 
-----------------------
07-10-2025 09:08:24.09149[4][4] - Elapsed time: 0.013 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'No AIML category found.' 
-----------------------
07-10-2025 09:08:24.09151[4][4] - Elapsed time: 0.023 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NO AIML CATEGORY FOUND' 
-----------------------
07-10-2025 09:08:24.09152[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NO AIML CATEGORY FOUND' 
-----------------------
07-10-2025 09:08:24.09154[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:08:24.09155[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'This is a Default Response.' 
-----------------------
07-10-2025 09:08:24.09156[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'THIS IS A DEFAULT RESPONSE' 
-----------------------
07-10-2025 09:08:24.09157[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:08:24.09159[2][4] - Elapsed time: 0.020 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:08:24.09160[4][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
07-10-2025 09:08:24.09162[2][4] - Elapsed time: 0.018 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:08:24.09164[4][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
07-10-2025 09:08:24.09166[2][4] - Elapsed time: 0.020 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
07-10-2025 09:08:24.09168[3][4] - Elapsed time: 0.024 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.',
      29,
      '5f6b09e1db986b884f2d8c73c24323e3',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
07-10-2025 09:08:24.09302[4][4] - Elapsed time: 1.344 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
07-10-2025 09:08:24.09326[3][4] - Elapsed time: 0.235 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:08:24.09354[2][4] - Elapsed time: 0.283 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
07-10-2025 09:08:24.09356[4][4] - Elapsed time: 0.019 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
07-10-2025 09:08:24.09357[2][4] - Elapsed time: 0.013 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
07-10-2025 09:08:24.09360[4][4] - Elapsed time: 0.026 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"5f6b09e1db986b884f2d8c73c24323e3","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":"5f6b09e1db986b884f2d8c73c24323e3","bot_name":"bigel","bot_id":"1","format":"json","unknown_user":"Seeker","user_id":"29","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:08:24.09387[2][4] - Elapsed time: 0.269 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
07-10-2025 09:08:24.09390[0][4] - Elapsed time: 0.034 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 13.242 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] => 5f6b09e1db986b884f2d8c73c24323e3
            [bot_name] => bigel
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_id] => 29
            [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] => 1759802904.0806
    [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":"5f6b09e1db986b884f2d8c73c24323e3","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":"5f6b09e1db986b884f2d8c73c24323e3","bot_name":"bigel","bot_id":"1","format":"json","unknown_user":"Seeker","user_id":"29","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: 13.242 Milliseconds. Goodbye.