07-10-2025 09:13:43.11598[0][4] - Elapsed time: 2.225 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:13:43.11648[4][4] - Elapsed time: 0.503 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
07-10-2025 09:13:43.11691[4][4] - Elapsed time: 0.425 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
07-10-2025 09:13:43.11711[4][4] - Elapsed time: 0.202 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
07-10-2025 09:13:43.11780[4][4] - Elapsed time: 0.694 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
07-10-2025 09:13:43.11783[4][4] - Elapsed time: 0.024 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
07-10-2025 09:13:43.11803[0][4] - Elapsed time: 0.206 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = 0bec0390d4e9ac5f17a36c2b986a3418 
-----------------------
07-10-2025 09:13:43.11805[4][4] - Elapsed time: 0.022 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'apa kabar'. 
-----------------------
07-10-2025 09:13:43.11809[4][4] - Elapsed time: 0.034 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
07-10-2025 09:13:43.11810[4][4] - Elapsed time: 0.017 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
07-10-2025 09:13:43.11812[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:13:43.11866[1][4] - Elapsed time: 0.539 milliseconds
[intialise_conversation.php][check_set_convo_id][653]
Cannot find CONVO ID. Using default: 0bec0390d4e9ac5f17a36c2b986a3418 
-----------------------
07-10-2025 09:13:43.11869[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:13:43.11870[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:13:43.11946[2][4] - Elapsed time: 0.757 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
07-10-2025 09:13:43.11950[2][4] - Elapsed time: 0.038 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
07-10-2025 09:13:43.11997[2][4] - Elapsed time: 0.474 milliseconds
[handle_user.php][intisaliseUser][82]
Initializing user. 
-----------------------
07-10-2025 09:13:43.12067[3][4] - Elapsed time: 0.694 milliseconds
[handle_user.php][intisaliseUser][128]
intisaliseUser #50 SQL: INSERT INTO `users`
        (`id`, `user_name`, `session_id`, `bot_id`, `chatlines`,`ip`, `referer`, `browser`, `date_logged_on` , `last_update`    , `state`)
 VALUES (NULL, 'Seeker'  , '0bec0390d4e9ac5f17a36c2b986a3418'   , 1 , '0'        , '202.10.43.123', ''      , 'unknown browser'      , CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, ''     ); 
-----------------------
07-10-2025 09:13:43.12124[3][4] - Elapsed time: 0.576 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` = 50 AND `bot_id` = 1; 
-----------------------
07-10-2025 09:13:43.12184[2][4] - Elapsed time: 0.595 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
07-10-2025 09:13:43.12196[2][4] - Elapsed time: 0.125 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on apa. 
-----------------------
07-10-2025 09:13:43.12199[2][4] - Elapsed time: 0.028 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
07-10-2025 09:13:43.12265[2][4] - Elapsed time: 0.665 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
07-10-2025 09:13:43.12269[2][4] - Elapsed time: 0.037 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on kabar. 
-----------------------
07-10-2025 09:13:43.12273[4][4] - Elapsed time: 0.040 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'apa kabar' 
-----------------------
07-10-2025 09:13:43.12306[4][4] - Elapsed time: 0.331 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA KABAR' 
-----------------------
07-10-2025 09:13:43.12309[2][4] - Elapsed time: 0.026 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: APA KABAR
Convo id: 0bec0390d4e9ac5f17a36c2b986a3418
Bot id: 1
Format: json 
-----------------------
07-10-2025 09:13:43.12311[4][4] - Elapsed time: 0.019 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
07-10-2025 09:13:43.12312[2][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
07-10-2025 09:13:43.12314[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` = 50 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
07-10-2025 09:13:43.12426[4][4] - Elapsed time: 1.118 milliseconds
[intialise_conversation.php][load_that][856]
Couldn't find any previous inputs or responses. 
-----------------------
07-10-2025 09:13:43.12473[2][4] - Elapsed time: 0.465 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
07-10-2025 09:13:43.12475[3][4] - Elapsed time: 0.029 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:13:43.12540[4][4] - Elapsed time: 0.648 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
07-10-2025 09:13:43.12545[0][4] - Elapsed time: 0.043 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
07-10-2025 09:13:43.12546[0][4] - Elapsed time: 0.015 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
07-10-2025 09:13:43.12547[0][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][235]
Say = APA KABAR: raw say = apa kabar 
-----------------------
07-10-2025 09:13:43.12549[4][4] - Elapsed time: 0.015 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
07-10-2025 09:13:43.12550[2][4] - Elapsed time: 0.015 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'APA KABAR' to the front of the [user_say] array 
-----------------------
07-10-2025 09:13:43.12557[4][4] - Elapsed time: 0.069 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
07-10-2025 09:13:43.12561[0][4] - Elapsed time: 0.033 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = apa kabar, RAW say = apa kabar 
-----------------------
07-10-2025 09:13:43.12562[2][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'apa kabar' to the front of the [input] array 
-----------------------
07-10-2025 09:13:43.12563[4][4] - Elapsed time: 0.015 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
07-10-2025 09:13:43.12565[4][4] - Elapsed time: 0.019 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
07-10-2025 09:13:43.12567[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'APA KABAR' 
-----------------------
07-10-2025 09:13:43.12569[4][4] - Elapsed time: 0.022 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA KABAR' 
-----------------------
07-10-2025 09:13:43.12570[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:13:43.12644[4][4] - Elapsed time: 0.737 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
07-10-2025 09:13:43.12649[3][4] - Elapsed time: 0.056 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` = '0bec0390d4e9ac5f17a36c2b986a3418'
    AND (
        'APA KABAR' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
07-10-2025 09:13:43.12722[2][4] - Elapsed time: 0.725 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
07-10-2025 09:13:43.12726[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:13:43.12727[4][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
07-10-2025 09:13:43.12793[4][4] - Elapsed time: 0.661 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
07-10-2025 09:13:43.12797[3][4] - Elapsed time: 0.038 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 (
        'APA KABAR' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
07-10-2025 09:13:43.12884[3][4] - Elapsed time: 0.867 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
07-10-2025 09:13:43.12888[1][4] - Elapsed time: 0.041 milliseconds
[find_aiml.php][find_aiml_matches][1082]
Error: FOUND NO AIML matches in DB. 
-----------------------
07-10-2025 09:13:43.12889[4][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][get_convo_var][727]
Get from ConvoArr [conversation][default_aiml_pattern][1][1] 
-----------------------
07-10-2025 09:13:43.12891[4][4] - Elapsed time: 0.016 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:13:43.12946[2][4] - Elapsed time: 0.550 milliseconds
[misc_functions.php][addUnknownInput][232]
Entry successfully added! 
-----------------------
07-10-2025 09:13:43.12950[1][4] - Elapsed time: 0.037 milliseconds
[find_aiml.php][find_aiml_matches][1084]
Added input 'APA KABAR' to the unknown_inputs table. 
-----------------------
07-10-2025 09:13:43.13007[4][4] - Elapsed time: 0.576 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 1 rows to unset bad matches 
-----------------------
07-10-2025 09:13:43.13010[1][4] - Elapsed time: 0.022 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][56]
Returning error as no results where found 
-----------------------
07-10-2025 09:13:43.13011[4][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
07-10-2025 09:13:43.13066[4][4] - Elapsed time: 0.546 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:13:43.13069[2][4] - Elapsed time: 0.034 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:13:43.13118[4][4] - Elapsed time: 0.492 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:13:43.13120[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:13:43.13123[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:13:43.13125[3][4] - Elapsed time: 0.015 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
07-10-2025 09:13:43.13126[2][4] - Elapsed time: 0.016 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'no results' 
-----------------------
07-10-2025 09:13:43.13127[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
07-10-2025 09:13:43.13129[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
07-10-2025 09:13:43.13131[2][4] - Elapsed time: 0.022 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => -1
    [html_template] => 
    [lookingfor] => APA KABAR
    [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] => apa kabar
)
 
-----------------------
07-10-2025 09:13:43.13134[2][4] - Elapsed time: 0.027 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
07-10-2025 09:13:43.13135[2][4] - Elapsed time: 0.016 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:13:43.13146[4][4] - Elapsed time: 0.112 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:13:43.13168[2][4] - Elapsed time: 0.219 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
07-10-2025 09:13:43.13176[4][4] - Elapsed time: 0.073 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:13:43.13177[4][4] - Elapsed time: 0.017 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
07-10-2025 09:13:43.13180[2][4] - Elapsed time: 0.029 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
07-10-2025 09:13:43.13183[4][4] - Elapsed time: 0.032 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:13:43.13187[4][4] - Elapsed time: 0.032 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
07-10-2025 09:13:43.13188[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:13:43.13189[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
07-10-2025 09:13:43.13191[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:13:43.13192[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:13:43.13193[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:13:43.13194[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:13:43.13196[4][4] - Elapsed time: 0.015 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:13:43.13197[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:13:43.13199[2][4] - Elapsed time: 0.022 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
07-10-2025 09:13:43.13200[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:13:43.13202[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:13:43.13203[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:13:43.13204[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:13:43.13206[4][4] - Elapsed time: 0.021 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
07-10-2025 09:13:43.13208[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:13:43.13209[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:13:43.13211[4][4] - Elapsed time: 0.017 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
07-10-2025 09:13:43.13227[2][4] - Elapsed time: 0.162 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:13:43.13229[4][4] - Elapsed time: 0.023 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
07-10-2025 09:13:43.13232[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:13:43.13233[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'No AIML category found.' 
-----------------------
07-10-2025 09:13:43.13235[4][4] - Elapsed time: 0.023 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NO AIML CATEGORY FOUND' 
-----------------------
07-10-2025 09:13:43.13237[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NO AIML CATEGORY FOUND' 
-----------------------
07-10-2025 09:13:43.13238[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:13:43.13239[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:13:43.13241[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:13:43.13242[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'THIS IS A DEFAULT RESPONSE' 
-----------------------
07-10-2025 09:13:43.13244[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:13:43.13245[4][4] - Elapsed time: 0.015 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
07-10-2025 09:13:43.13247[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:13:43.13248[4][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
07-10-2025 09:13:43.13250[2][4] - Elapsed time: 0.021 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
07-10-2025 09:13:43.13253[3][4] - Elapsed time: 0.027 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 ,
      'apa kabar',
      'No AIML category found. This is a Default Response.',
      50,
      '0bec0390d4e9ac5f17a36c2b986a3418',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
07-10-2025 09:13:43.13636[4][4] - Elapsed time: 3.832 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
07-10-2025 09:13:43.13690[3][4] - Elapsed time: 0.536 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:13:43.13756[2][4] - Elapsed time: 0.665 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
07-10-2025 09:13:43.13760[4][4] - Elapsed time: 0.038 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
07-10-2025 09:13:43.13762[2][4] - Elapsed time: 0.016 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
07-10-2025 09:13:43.13765[4][4] - Elapsed time: 0.029 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"0bec0390d4e9ac5f17a36c2b986a3418","usersay":"apa kabar","botsay":"No AIML category found. This is a Default Response.","botData":{"convo_id":"0bec0390d4e9ac5f17a36c2b986a3418","bot_name":"bigel","bot_id":"1","format":"json","unknown_user":"Seeker","user_id":"50","totallines":1,"user_name":"Seeker","rawSay":"apa kabar","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:13:43.13822[2][4] - Elapsed time: 0.567 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
07-10-2025 09:13:43.13827[0][4] - Elapsed time: 0.058 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 24.484 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => apa kabar
    [conversation] => Array
        (
            [convo_id] => 0bec0390d4e9ac5f17a36c2b986a3418
            [bot_name] => bigel
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_id] => 50
            [totallines] => 1
            [user_name] => Seeker
            [rawSay] => apa kabar
            [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] => apa kabar
            [lookingfor] => APA KABAR
            [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] => 1759803223.1138
    [user_say] => Array
        (
            [1] => APA KABAR
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [input] => Array
        (
            [1] => apa kabar
            [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":"0bec0390d4e9ac5f17a36c2b986a3418","usersay":"apa kabar","botsay":"No AIML category found. This is a Default Response.","botData":{"convo_id":"0bec0390d4e9ac5f17a36c2b986a3418","bot_name":"bigel","bot_id":"1","format":"json","unknown_user":"Seeker","user_id":"50","totallines":1,"user_name":"Seeker","rawSay":"apa kabar","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: 24.484 Milliseconds. Goodbye.