11-11-2025 14:38:06.10277[0][4] - Elapsed time: 0.837 milliseconds
[conversation_start.php][Called outside of function][56]
Conversation starting. Current system specs:
  Program O version:            2.6.11
  Server Software:              LiteSpeed
  PHP Version:                  7.4.33
  OS:                           Linux
  OS Version:                   #1 SMP PREEMPT_DYNAMIC Wed Oct 15 06:39:08 EDT 2025
  MySQL Version:                11.4.8-MariaDB-cll-lve
  Multi-byte functions enabled: true 
-----------------------
11-11-2025 14:38:06.10302[4][4] - Elapsed time: 0.253 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
11-11-2025 14:38:06.10326[4][4] - Elapsed time: 0.242 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
11-11-2025 14:38:06.10339[4][4] - Elapsed time: 0.130 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
11-11-2025 14:38:06.10381[4][4] - Elapsed time: 0.414 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
11-11-2025 14:38:06.10382[4][4] - Elapsed time: 0.014 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
11-11-2025 14:38:06.10393[1][4] - Elapsed time: 0.111 milliseconds
[conversation_start.php][Called outside of function][118]
PHP ERROR [Warning] -session_id(): Cannot change session id when session is active in /home/siew8359/public_html/dannus.siega23.com/Program-O/chatbot/conversation_start.php on Line 118 
-----------------------
11-11-2025 14:38:06.10426[0][4] - Elapsed time: 0.332 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = 1a7e3014fe750dc5ec43edde96915252 
-----------------------
11-11-2025 14:38:06.10428[4][4] - Elapsed time: 0.014 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said '1halo'. 
-----------------------
11-11-2025 14:38:06.10429[4][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
11-11-2025 14:38:06.10430[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
11-11-2025 14:38:06.10431[3][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_default_bot_values][118]
load db bot personality values SQL: SELECT * FROM `siew8359_dannu`.`botpersonality` WHERE `bot_id` = 1; 
-----------------------
11-11-2025 14:38:06.10481[4][4] - Elapsed time: 0.500 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value: {$convo_id}?convo_id= 
-----------------------
11-11-2025 14:38:06.10483[2][4] - Elapsed time: 0.020 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
11-11-2025 14:38:06.10484[3][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][check_set_bot][599]
Making sure the bot exists. SQL = SELECT * FROM `siew8359_dannu`.`bots` WHERE bot_id = 16 AND `bot_active` = 1; 
-----------------------
11-11-2025 14:38:06.10526[1][4] - Elapsed time: 0.422 milliseconds
[intialise_conversation.php][check_set_bot][622]
ERROR - Cannot find bot id: 16 
-----------------------
11-11-2025 14:38:06.10528[2][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
11-11-2025 14:38:06.10569[2][4] - Elapsed time: 0.416 milliseconds
[handle_user.php][intisaliseUser][82]
Initializing user. 
-----------------------
11-11-2025 14:38:06.10593[3][4] - Elapsed time: 0.241 milliseconds
[handle_user.php][intisaliseUser][128]
intisaliseUser #152 SQL: INSERT INTO `users`
        (`id`, `user_name`, `session_id`, `bot_id`, `chatlines`,`ip`, `referer`, `browser`, `date_logged_on` , `last_update`    , `state`)
 VALUES (NULL, 'Seeker'  , '{$convo_id}?convo_id='   , 16 , '0'        , '2a09:bac1:34c0:38::3c3:43', ''      , 'Dalvik/2.1.0 (Linux; U; Android 15; SM-A546E Build/AP3A.240905.015.A2)'      , CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, ''     ); 
-----------------------
11-11-2025 14:38:06.10631[3][4] - Elapsed time: 0.373 milliseconds
[intialise_conversation.php][check_set_user][705]
Loading client properties from the DB - sql:
SELECT `name`, `value` FROM `siew8359_dannu`.`client_properties` WHERE `user_id` = 152 AND `bot_id` = 16; 
-----------------------
11-11-2025 14:38:06.10659[2][4] - Elapsed time: 0.285 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
11-11-2025 14:38:06.10661[2][4] - Elapsed time: 0.016 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on 1. 
-----------------------
11-11-2025 14:38:06.10662[2][4] - Elapsed time: 0.011 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
11-11-2025 14:38:06.10709[2][4] - Elapsed time: 0.475 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on halo. 
-----------------------
11-11-2025 14:38:06.10713[4][4] - Elapsed time: 0.038 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = '1halo' 
-----------------------
11-11-2025 14:38:06.10716[4][4] - Elapsed time: 0.026 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = '1HALO' 
-----------------------
11-11-2025 14:38:06.10717[2][4] - Elapsed time: 0.009 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: 1HALO
Convo id: 1a7e3014fe750dc5ec43edde96915252
Bot id: 16
Format: json 
-----------------------
11-11-2025 14:38:06.10717[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
11-11-2025 14:38:06.10718[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
11-11-2025 14:38:06.10719[3][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_that][784]
Getting conversation log entries for the current user. SQL:
SELECT `input`, `response` FROM `siew8359_dannu`.`conversation_log` WHERE `user_id` = 152 AND `bot_id` = 16 ORDER BY `id` DESC limit 10; 
-----------------------
11-11-2025 14:38:06.10830[4][4] - Elapsed time: 1.112 milliseconds
[intialise_conversation.php][load_that][856]
Couldn't find any previous inputs or responses. 
-----------------------
11-11-2025 14:38:06.10859[2][4] - Elapsed time: 0.289 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
11-11-2025 14:38:06.10861[3][4] - Elapsed time: 0.016 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `siew8359_dannu`.`bots` WHERE bot_id = 16; 
-----------------------
11-11-2025 14:38:06.10882[1][4] - Elapsed time: 0.211 milliseconds
[intialise_conversation.php][Called outside of function][355]
PHP ERROR [Warning] -count(): Parameter must be an array or an object that implements Countable in /home/siew8359/public_html/dannus.siega23.com/Program-O/chatbot/core/conversation/intialise_conversation.php on Line 355 
-----------------------
11-11-2025 14:38:06.10903[4][4] - Elapsed time: 0.214 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
11-11-2025 14:38:06.10905[1][4] - Elapsed time: 0.018 milliseconds
[intialise_conversation.php][Called outside of function][358]
PHP ERROR [Notice] -Trying to access array offset on value of type bool in /home/siew8359/public_html/dannus.siega23.com/Program-O/chatbot/core/conversation/intialise_conversation.php on Line 358 
-----------------------
11-11-2025 14:38:06.10920[1][4] - Elapsed time: 0.150 milliseconds
[intialise_conversation.php][Called outside of function][359]
PHP ERROR [Notice] -Trying to access array offset on value of type bool in /home/siew8359/public_html/dannus.siega23.com/Program-O/chatbot/core/conversation/intialise_conversation.php on Line 359 
-----------------------
11-11-2025 14:38:06.10940[1][4] - Elapsed time: 0.197 milliseconds
[intialise_conversation.php][Called outside of function][360]
PHP ERROR [Notice] -Trying to access array offset on value of type bool in /home/siew8359/public_html/dannus.siega23.com/Program-O/chatbot/core/conversation/intialise_conversation.php on Line 360 
-----------------------
11-11-2025 14:38:06.10956[1][4] - Elapsed time: 0.161 milliseconds
[intialise_conversation.php][Called outside of function][361]
PHP ERROR [Notice] -Trying to access array offset on value of type bool in /home/siew8359/public_html/dannus.siega23.com/Program-O/chatbot/core/conversation/intialise_conversation.php on Line 361 
-----------------------
11-11-2025 14:38:06.10971[1][4] - Elapsed time: 0.152 milliseconds
[intialise_conversation.php][Called outside of function][362]
PHP ERROR [Notice] -Trying to access array offset on value of type bool in /home/siew8359/public_html/dannus.siega23.com/Program-O/chatbot/core/conversation/intialise_conversation.php on Line 362 
-----------------------
11-11-2025 14:38:06.10989[1][4] - Elapsed time: 0.177 milliseconds
[intialise_conversation.php][Called outside of function][363]
PHP ERROR [Notice] -Trying to access array offset on value of type bool in /home/siew8359/public_html/dannus.siega23.com/Program-O/chatbot/core/conversation/intialise_conversation.php on Line 363 
-----------------------
11-11-2025 14:38:06.11004[1][4] - Elapsed time: 0.158 milliseconds
[intialise_conversation.php][Called outside of function][364]
PHP ERROR [Notice] -Trying to access array offset on value of type bool in /home/siew8359/public_html/dannus.siega23.com/Program-O/chatbot/core/conversation/intialise_conversation.php on Line 364 
-----------------------
11-11-2025 14:38:06.11021[1][4] - Elapsed time: 0.162 milliseconds
[intialise_conversation.php][Called outside of function][365]
PHP ERROR [Notice] -Trying to access array offset on value of type bool in /home/siew8359/public_html/dannus.siega23.com/Program-O/chatbot/core/conversation/intialise_conversation.php on Line 365 
-----------------------
11-11-2025 14:38:06.11040[0][4] - Elapsed time: 0.192 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
11-11-2025 14:38:06.11042[0][4] - Elapsed time: 0.018 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
11-11-2025 14:38:06.11043[0][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][235]
Say = 1HALO: raw say = 1halo 
-----------------------
11-11-2025 14:38:06.11044[4][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
11-11-2025 14:38:06.11045[2][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing '1HALO' to the front of the [user_say] array 
-----------------------
11-11-2025 14:38:06.11046[4][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
11-11-2025 14:38:06.11048[0][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = 1halo, RAW say = 1halo 
-----------------------
11-11-2025 14:38:06.11048[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing '1halo' to the front of the [input] array 
-----------------------
11-11-2025 14:38:06.11049[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
11-11-2025 14:38:06.11050[4][4] - Elapsed time: 0.009 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
11-11-2025 14:38:06.11050[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = '1HALO' 
-----------------------
11-11-2025 14:38:06.11051[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = '1HALO' 
-----------------------
11-11-2025 14:38:06.11053[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 
-----------------------
11-11-2025 14:38:06.11081[4][4] - Elapsed time: 0.284 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
11-11-2025 14:38:06.11083[3][4] - Elapsed time: 0.021 milliseconds
[find_aiml.php][find_userdefined_aiml][870]
User defined SQL:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `template` FROM `siew8359_dannu`.`aiml_userdefined` WHERE
    `bot_id` = 16 AND
    `user_id` = '{$convo_id}?convo_id='
    AND (
        '1HALO' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
11-11-2025 14:38:06.11123[2][4] - Elapsed time: 0.403 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
11-11-2025 14:38:06.11125[4][4] - Elapsed time: 0.014 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
11-11-2025 14:38:06.11125[4][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 16. Bot Parent ID = . 
-----------------------
11-11-2025 14:38:06.11152[4][4] - Elapsed time: 0.268 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
11-11-2025 14:38:06.11154[3][4] - Elapsed time: 0.018 milliseconds
[find_aiml.php][find_aiml_matches][1052]
Core Match AIML sql:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `topic`, `filename`, `template` FROM `siew8359_dannu`.`aiml` WHERE
    bot_id = 16 AND (
        '1HALO' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR `pattern` LIKE ''
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
11-11-2025 14:38:06.11193[3][4] - Elapsed time: 0.394 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
11-11-2025 14:38:06.11194[1][4] - Elapsed time: 0.011 milliseconds
[find_aiml.php][find_aiml_matches][1082]
Error: FOUND NO AIML matches in DB. 
-----------------------
11-11-2025 14:38:06.11195[4][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][get_convo_var][727]
Get from ConvoArr [conversation][default_aiml_pattern][1][1] 
-----------------------
11-11-2025 14:38:06.11196[4][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][get_convo_var][757]
Get from ConvoArr [conversation][default_aiml_pattern][1][1] FOUND: ConvoArr Value = '' 
-----------------------
11-11-2025 14:38:06.11231[2][4] - Elapsed time: 0.351 milliseconds
[misc_functions.php][addUnknownInput][232]
Entry successfully added! 
-----------------------
11-11-2025 14:38:06.11232[1][4] - Elapsed time: 0.011 milliseconds
[find_aiml.php][find_aiml_matches][1084]
Added input '1HALO' to the unknown_inputs table. 
-----------------------
11-11-2025 14:38:06.11261[4][4] - Elapsed time: 0.285 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 1 rows to unset bad matches 
-----------------------
11-11-2025 14:38:06.11262[1][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][56]
Returning error as no results where found 
-----------------------
11-11-2025 14:38:06.11262[4][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
11-11-2025 14:38:06.11297[4][4] - Elapsed time: 0.348 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [aiml_id] => -1
            [bot_id] => 16
            [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)
        )

)
 
-----------------------
11-11-2025 14:38:06.11299[2][4] - Elapsed time: 0.017 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [aiml_id] => -1
            [bot_id] => 16
            [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)
        )

)

 
-----------------------
11-11-2025 14:38:06.11318[4][4] - Elapsed time: 0.192 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [aiml_id] => -1
    [bot_id] => 16
    [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)
)
 
-----------------------
11-11-2025 14:38:06.11319[2][4] - Elapsed time: 0.012 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
11-11-2025 14:38:06.11321[4][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:-1 (no results) 
-----------------------
11-11-2025 14:38:06.11322[3][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
11-11-2025 14:38:06.11322[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'no results' 
-----------------------
11-11-2025 14:38:06.11323[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
11-11-2025 14:38:06.11324[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
11-11-2025 14:38:06.11325[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => -1
    [html_template] => 
    [lookingfor] => 1HALO
    [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] => 1halo
)
 
-----------------------
11-11-2025 14:38:06.11326[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
11-11-2025 14:38:06.11326[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
11-11-2025 14:38:06.11327[4][4] - Elapsed time: 0.012 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> 
-----------------------
11-11-2025 14:38:06.11332[2][4] - Elapsed time: 0.044 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
11-11-2025 14:38:06.11336[4][4] - Elapsed time: 0.041 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>
 
-----------------------
11-11-2025 14:38:06.11337[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
11-11-2025 14:38:06.11338[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
11-11-2025 14:38:06.11339[4][4] - Elapsed time: 0.010 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> 
-----------------------
11-11-2025 14:38:06.11339[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
11-11-2025 14:38:06.11340[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
11-11-2025 14:38:06.11342[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
11-11-2025 14:38:06.11343[4][4] - Elapsed time: 0.012 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 
-----------------------
11-11-2025 14:38:06.11344[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
11-11-2025 14:38:06.11345[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => No AIML category found. This is a Default Response.
)

 
-----------------------
11-11-2025 14:38:06.11346[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
11-11-2025 14:38:06.11347[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.' 
-----------------------
11-11-2025 14:38:06.11348[4][4] - Elapsed time: 0.011 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. 
-----------------------
11-11-2025 14:38:06.11350[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
11-11-2025 14:38:06.11351[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => No AIML category found. This is a Default Response.
)

 
-----------------------
11-11-2025 14:38:06.11352[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
11-11-2025 14:38:06.11353[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'No AIML category found. This is a Default Response.' 
-----------------------
11-11-2025 14:38:06.11354[4][4] - Elapsed time: 0.010 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. 
-----------------------
11-11-2025 14:38:06.11354[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
11-11-2025 14:38:06.11355[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
11-11-2025 14:38:06.11356[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'No AIML category found. This is a Default Response.' to the front of the [that_raw] array 
-----------------------
11-11-2025 14:38:06.11357[4][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
11-11-2025 14:38:06.11359[2][4] - Elapsed time: 0.025 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 
-----------------------
11-11-2025 14:38:06.11360[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
11-11-2025 14:38:06.11361[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'No AIML category found.' 
-----------------------
11-11-2025 14:38:06.11362[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'No AIML category found.' 
-----------------------
11-11-2025 14:38:06.11363[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NO AIML CATEGORY FOUND' 
-----------------------
11-11-2025 14:38:06.11363[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NO AIML CATEGORY FOUND' 
-----------------------
11-11-2025 14:38:06.11364[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'This is a Default Response.' 
-----------------------
11-11-2025 14:38:06.11365[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'This is a Default Response.' 
-----------------------
11-11-2025 14:38:06.11365[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'THIS IS A DEFAULT RESPONSE' 
-----------------------
11-11-2025 14:38:06.11366[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'THIS IS A DEFAULT RESPONSE' 
-----------------------
11-11-2025 14:38:06.11367[2][4] - Elapsed time: 0.009 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 
-----------------------
11-11-2025 14:38:06.11367[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
11-11-2025 14:38:06.11368[2][4] - Elapsed time: 0.008 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 
-----------------------
11-11-2025 14:38:06.11369[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
11-11-2025 14:38:06.11370[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
11-11-2025 14:38:06.11371[3][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][log_conversation][442]
Saving conservation SQL: INSERT INTO `siew8359_dannu`.`conversation_log` (
      `id` ,
      `input` ,
      `response` ,
      `user_id` ,
      `convo_id` ,
      `bot_id` ,
      `timestamp`
    )
    VALUES (
      NULL ,
      '1halo',
      'No AIML category found. This is a Default Response.',
      152,
      '{$convo_id}?convo_id=',
      16,
      CURRENT_TIMESTAMP
    ) 
-----------------------
11-11-2025 14:38:06.11573[4][4] - Elapsed time: 2.017 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
11-11-2025 14:38:06.11593[1][4] - Elapsed time: 0.201 milliseconds
[display_conversation.php][Called outside of function][37]
PHP ERROR [Notice] -Trying to access array offset on value of type bool in /home/siew8359/public_html/dannus.siega23.com/Program-O/chatbot/core/conversation/display_conversation.php on Line 37 
-----------------------
11-11-2025 14:38:06.11616[3][4] - Elapsed time: 0.234 milliseconds
[display_conversation.php][get_conversation_to_display][59]
get_conversation SQL: SELECT * FROM `siew8359_dannu`.`conversation_log` WHERE
        `user_id` = :user_id
        AND `bot_id` = :bot_id
        AND `convo_id` = :convo_id
        ORDER BY id DESC  
-----------------------
11-11-2025 14:38:06.11652[2][4] - Elapsed time: 0.359 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
11-11-2025 14:38:06.11653[4][4] - Elapsed time: 0.014 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
11-11-2025 14:38:06.11654[2][4] - Elapsed time: 0.008 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
11-11-2025 14:38:06.11655[4][4] - Elapsed time: 0.014 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"{$convo_id}?convo_id=","usersay":"1halo","botsay":"No AIML category found. This is a Default Response.","botData":{"convo_id":"{$convo_id}?convo_id=","format":"json","bot_id":"16","user_id":"152","totallines":1,"user_name":"Seeker","rawSay":"1halo","conversation_lines":null,"remember_up_to":null,"debugemail":null,"debug_level":null,"debugmode":1,"save_state":null,"default_aiml_pattern":null,"bot_parent_id":null,"aimlData":{"aiml_id":"-1","bot_id":"16","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)"}}} 
-----------------------
11-11-2025 14:38:06.11693[2][4] - Elapsed time: 0.378 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
11-11-2025 14:38:06.11696[0][4] - Elapsed time: 0.022 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 15.011 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => 1halo
    [conversation] => Array
        (
            [convo_id] => {$convo_id}?convo_id=
            [format] => json
            [bot_id] => 16
            [user_id] => 152
            [totallines] => 1
            [user_name] => Seeker
            [rawSay] => 1halo
            [conversation_lines] => 
            [remember_up_to] => 
            [debugemail] => 
            [debug_level] => 
            [debugmode] => 1
            [save_state] => 
            [default_aiml_pattern] => 
            [bot_parent_id] => 
            [aimlData] => Array
                (
                    [aiml_id] => -1
                    [bot_id] => 16
                    [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] => 1halo
            [lookingfor] => 1HALO
            [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] => 2a09:bac1:34c0:38::3c3:43
            [name] => Seeker
        )

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

    [input] => Array
        (
            [1] => 1halo
            [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":"{$convo_id}?convo_id=","usersay":"1halo","botsay":"No AIML category found. This is a Default Response.","botData":{"convo_id":"{$convo_id}?convo_id=","format":"json","bot_id":"16","user_id":"152","totallines":1,"user_name":"Seeker","rawSay":"1halo","conversation_lines":null,"remember_up_to":null,"debugemail":null,"debug_level":null,"debugmode":1,"save_state":null,"default_aiml_pattern":null,"bot_parent_id":null,"aimlData":{"aiml_id":"-1","bot_id":"16","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: 15.011 Milliseconds. Goodbye.