07-10-2025 09:12:24.56236[0][4] - Elapsed time: 1.828 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:24.56279[4][4] - Elapsed time: 0.440 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
07-10-2025 09:12:24.56311[4][4] - Elapsed time: 0.313 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
07-10-2025 09:12:24.56326[4][4] - Elapsed time: 0.156 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
07-10-2025 09:12:24.56381[4][4] - Elapsed time: 0.543 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
07-10-2025 09:12:24.56383[4][4] - Elapsed time: 0.023 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
07-10-2025 09:12:24.56408[0][4] - Elapsed time: 0.246 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = c3eed4aff87434276fae8f96a17c3ea3 
-----------------------
07-10-2025 09:12:24.56410[4][4] - Elapsed time: 0.025 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:24.56413[4][4] - Elapsed time: 0.028 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
07-10-2025 09:12:24.56415[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:24.56417[3][4] - Elapsed time: 0.020 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:24.56469[1][4] - Elapsed time: 0.525 milliseconds
[intialise_conversation.php][check_set_convo_id][653]
Cannot find CONVO ID. Using default: c3eed4aff87434276fae8f96a17c3ea3 
-----------------------
07-10-2025 09:12:24.56473[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:24.56475[3][4] - Elapsed time: 0.023 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:24.56530[2][4] - Elapsed time: 0.553 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
07-10-2025 09:12:24.56534[2][4] - Elapsed time: 0.039 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
07-10-2025 09:12:24.56580[2][4] - Elapsed time: 0.454 milliseconds
[handle_user.php][intisaliseUser][82]
Initializing user. 
-----------------------
07-10-2025 09:12:24.56636[3][4] - Elapsed time: 0.563 milliseconds
[handle_user.php][intisaliseUser][128]
intisaliseUser #47 SQL: INSERT INTO `users`
        (`id`, `user_name`, `session_id`, `bot_id`, `chatlines`,`ip`, `referer`, `browser`, `date_logged_on` , `last_update`    , `state`)
 VALUES (NULL, 'Seeker'  , 'c3eed4aff87434276fae8f96a17c3ea3'   , 1 , '0'        , '202.10.43.123', ''      , 'unknown browser'      , CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, ''     ); 
-----------------------
07-10-2025 09:12:24.56674[3][4] - Elapsed time: 0.379 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` = 47 AND `bot_id` = 1; 
-----------------------
07-10-2025 09:12:24.56729[2][4] - Elapsed time: 0.546 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
07-10-2025 09:12:24.56734[2][4] - Elapsed time: 0.050 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on Meow. 
-----------------------
07-10-2025 09:12:24.56736[2][4] - Elapsed time: 0.025 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
07-10-2025 09:12:24.56804[2][4] - Elapsed time: 0.677 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on ?. 
-----------------------
07-10-2025 09:12:24.56808[2][4] - Elapsed time: 0.038 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
07-10-2025 09:12:24.56810[2][4] - Elapsed time: 0.026 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on Miaw. 
-----------------------
07-10-2025 09:12:24.56814[2][4] - Elapsed time: 0.039 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
07-10-2025 09:12:24.56817[2][4] - Elapsed time: 0.026 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on gak. 
-----------------------
07-10-2025 09:12:24.56820[2][4] - Elapsed time: 0.030 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
07-10-2025 09:12:24.56822[2][4] - Elapsed time: 0.028 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on ngerti. 
-----------------------
07-10-2025 09:12:24.56826[2][4] - Elapsed time: 0.033 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on .. 
-----------------------
07-10-2025 09:12:24.56828[2][4] - Elapsed time: 0.027 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
07-10-2025 09:12:24.56831[2][4] - Elapsed time: 0.026 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on Coba. 
-----------------------
07-10-2025 09:12:24.56835[2][4] - Elapsed time: 0.042 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
07-10-2025 09:12:24.56838[2][4] - Elapsed time: 0.026 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on lagi. 
-----------------------
07-10-2025 09:12:24.56842[2][4] - Elapsed time: 0.039 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
07-10-2025 09:12:24.56844[2][4] - Elapsed time: 0.025 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on yaa. 
-----------------------
07-10-2025 09:12:24.56847[2][4] - Elapsed time: 0.031 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on .. 
-----------------------
07-10-2025 09:12:24.56850[2][4] - Elapsed time: 0.025 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on 
. 
-----------------------
07-10-2025 09:12:24.56852[2][4] - Elapsed time: 0.025 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on 
. 
-----------------------
07-10-2025 09:12:24.56855[2][4] - Elapsed time: 0.026 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on >. 
-----------------------
07-10-2025 09:12:24.56857[2][4] - Elapsed time: 0.024 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
07-10-2025 09:12:24.56860[2][4] - Elapsed time: 0.026 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on _. 
-----------------------
07-10-2025 09:12:24.56863[2][4] - Elapsed time: 0.026 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on Sent. 
-----------------------
07-10-2025 09:12:24.56865[2][4] - Elapsed time: 0.027 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
07-10-2025 09:12:24.56868[2][4] - Elapsed time: 0.025 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on via. 
-----------------------
07-10-2025 09:12:24.56871[2][4] - Elapsed time: 0.030 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
07-10-2025 09:12:24.56873[2][4] - Elapsed time: 0.025 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on fonnte. 
-----------------------
07-10-2025 09:12:24.56876[2][4] - Elapsed time: 0.031 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on .. 
-----------------------
07-10-2025 09:12:24.56879[2][4] - Elapsed time: 0.025 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on com. 
-----------------------
07-10-2025 09:12:24.56882[2][4] - Elapsed time: 0.030 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on _. 
-----------------------
07-10-2025 09:12:24.56887[4][4] - Elapsed time: 0.049 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:24.56891[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:24.56892[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: c3eed4aff87434276fae8f96a17c3ea3
Bot id: 1
Format: json 
-----------------------
07-10-2025 09:12:24.56894[4][4] - Elapsed time: 0.018 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
07-10-2025 09:12:24.56896[2][4] - Elapsed time: 0.015 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
07-10-2025 09:12:24.56898[3][4] - Elapsed time: 0.022 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` = 47 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
07-10-2025 09:12:24.56987[4][4] - Elapsed time: 0.888 milliseconds
[intialise_conversation.php][load_that][856]
Couldn't find any previous inputs or responses. 
-----------------------
07-10-2025 09:12:24.57037[2][4] - Elapsed time: 0.501 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
07-10-2025 09:12:24.57040[3][4] - Elapsed time: 0.031 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:24.57095[4][4] - Elapsed time: 0.555 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
07-10-2025 09:12:24.57099[0][4] - Elapsed time: 0.032 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
07-10-2025 09:12:24.57100[0][4] - Elapsed time: 0.013 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
07-10-2025 09:12:24.57101[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:24.57102[4][4] - Elapsed time: 0.015 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
07-10-2025 09:12:24.57104[2][4] - Elapsed time: 0.015 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:24.57106[4][4] - Elapsed time: 0.022 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
07-10-2025 09:12:24.57109[0][4] - Elapsed time: 0.028 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:24.57110[2][4] - Elapsed time: 0.014 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:24.57112[4][4] - Elapsed time: 0.017 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
07-10-2025 09:12:24.57114[4][4] - Elapsed time: 0.020 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
07-10-2025 09:12:24.57116[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:24.57118[4][4] - Elapsed time: 0.024 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:24.57119[4][4] - Elapsed time: 0.014 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
07-10-2025 09:12:24.57180[4][4] - Elapsed time: 0.608 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
07-10-2025 09:12:24.57184[3][4] - Elapsed time: 0.039 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` = 'c3eed4aff87434276fae8f96a17c3ea3'
    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:24.57235[2][4] - Elapsed time: 0.512 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
07-10-2025 09:12:24.57239[4][4] - Elapsed time: 0.040 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
07-10-2025 09:12:24.57241[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:24.57287[4][4] - Elapsed time: 0.464 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
07-10-2025 09:12:24.57291[3][4] - Elapsed time: 0.039 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:24.57361[3][4] - Elapsed time: 0.703 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
07-10-2025 09:12:24.57365[1][4] - Elapsed time: 0.035 milliseconds
[find_aiml.php][find_aiml_matches][1082]
Error: FOUND NO AIML matches in DB. 
-----------------------
07-10-2025 09:12:24.57366[4][4] - Elapsed time: 0.018 milliseconds
[find_aiml.php][get_convo_var][727]
Get from ConvoArr [conversation][default_aiml_pattern][1][1] 
-----------------------
07-10-2025 09:12:24.57368[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:24.57417[2][4] - Elapsed time: 0.488 milliseconds
[misc_functions.php][addUnknownInput][232]
Entry successfully added! 
-----------------------
07-10-2025 09:12:24.57421[1][4] - Elapsed time: 0.037 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:24.57468[4][4] - Elapsed time: 0.475 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:24.57470[1][4] - Elapsed time: 0.020 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][56]
Returning error as no results where found 
-----------------------
07-10-2025 09:12:24.57472[4][4] - Elapsed time: 0.014 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
07-10-2025 09:12:24.57531[4][4] - Elapsed time: 0.598 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:24.57536[2][4] - Elapsed time: 0.048 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:24.57565[4][4] - Elapsed time: 0.292 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:24.57567[2][4] - Elapsed time: 0.016 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
07-10-2025 09:12:24.57570[4][4] - Elapsed time: 0.034 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:-1 (no results) 
-----------------------
07-10-2025 09:12:24.57572[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:24.57574[2][4] - Elapsed time: 0.017 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'no results' 
-----------------------
07-10-2025 09:12:24.57575[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
07-10-2025 09:12:24.57576[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
07-10-2025 09:12:24.57578[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:12:24.57580[2][4] - Elapsed time: 0.018 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
07-10-2025 09:12:24.57582[2][4] - Elapsed time: 0.015 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:24.57586[4][4] - Elapsed time: 0.038 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:24.57593[2][4] - Elapsed time: 0.079 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
07-10-2025 09:12:24.57598[4][4] - Elapsed time: 0.045 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:24.57600[4][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
07-10-2025 09:12:24.57602[2][4] - Elapsed time: 0.021 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
07-10-2025 09:12:24.57604[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:24.57605[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:24.57607[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:24.57608[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
07-10-2025 09:12:24.57609[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:24.57611[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
07-10-2025 09:12:24.57612[2][4] - Elapsed time: 0.014 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:24.57613[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:12:24.57615[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:24.57616[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:24.57617[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:12:24.57619[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:12:24.57620[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:24.57621[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:12:24.57623[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:24.57624[4][4] - Elapsed time: 0.017 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
07-10-2025 09:12:24.57626[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:12:24.57627[2][4] - Elapsed time: 0.012 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:24.57628[4][4] - Elapsed time: 0.017 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
07-10-2025 09:12:24.57634[2][4] - Elapsed time: 0.053 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:24.57635[4][4] - Elapsed time: 0.017 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
07-10-2025 09:12:24.57638[4][4] - Elapsed time: 0.023 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'No AIML category found.' 
-----------------------
07-10-2025 09:12:24.57639[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:24.57642[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:24.57643[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:24.57644[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:24.57645[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:12:24.57647[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:24.57648[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:24.57650[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:24.57651[4][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
07-10-2025 09:12:24.57653[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:24.57655[4][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
07-10-2025 09:12:24.57657[2][4] - Elapsed time: 0.021 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
07-10-2025 09:12:24.57659[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.',
      47,
      'c3eed4aff87434276fae8f96a17c3ea3',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
07-10-2025 09:12:24.57950[4][4] - Elapsed time: 2.909 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
07-10-2025 09:12:24.57994[3][4] - Elapsed time: 0.439 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:24.58048[2][4] - Elapsed time: 0.541 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
07-10-2025 09:12:24.58052[4][4] - Elapsed time: 0.039 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
07-10-2025 09:12:24.58054[2][4] - Elapsed time: 0.017 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
07-10-2025 09:12:24.58057[4][4] - Elapsed time: 0.034 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"c3eed4aff87434276fae8f96a17c3ea3","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":"c3eed4aff87434276fae8f96a17c3ea3","bot_name":"bigel","bot_id":"1","format":"json","unknown_user":"Seeker","user_id":"47","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:24.58103[2][4] - Elapsed time: 0.456 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
07-10-2025 09:12:24.58107[0][4] - Elapsed time: 0.043 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 20.519 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] => c3eed4aff87434276fae8f96a17c3ea3
            [bot_name] => bigel
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_id] => 47
            [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] => 1759803144.5605
    [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":"c3eed4aff87434276fae8f96a17c3ea3","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":"c3eed4aff87434276fae8f96a17c3ea3","bot_name":"bigel","bot_id":"1","format":"json","unknown_user":"Seeker","user_id":"47","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: 20.519 Milliseconds. Goodbye.