02-11-2025 22:52:37.55580[0][4] - Elapsed time: 1.279 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 
-----------------------
02-11-2025 22:52:37.57082[4][4] - Elapsed time: 15.020 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
02-11-2025 22:52:37.57583[4][4] - Elapsed time: 5.012 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
02-11-2025 22:52:37.57678[4][4] - Elapsed time: 0.946 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
02-11-2025 22:52:37.58101[4][4] - Elapsed time: 4.231 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
02-11-2025 22:52:37.58103[4][4] - Elapsed time: 0.024 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
02-11-2025 22:52:37.58119[1][4] - Elapsed time: 0.159 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/riski.siega23.com/Program-O/chatbot/conversation_start.php on Line 118 
-----------------------
02-11-2025 22:52:37.58174[0][4] - Elapsed time: 0.551 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = 4a88f0e825b7464abc4a1150d18516cc 
-----------------------
02-11-2025 22:52:37.58176[4][4] - Elapsed time: 0.018 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'halo'. 
-----------------------
02-11-2025 22:52:37.58178[4][4] - Elapsed time: 0.018 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
02-11-2025 22:52:37.58179[4][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
02-11-2025 22:52:37.58181[3][4] - Elapsed time: 0.015 milliseconds
[intialise_conversation.php][load_default_bot_values][118]
load db bot personality values SQL: SELECT * FROM `siew8359_riski`.`botpersonality` WHERE `bot_id` = 1; 
-----------------------
02-11-2025 22:52:37.58232[4][4] - Elapsed time: 0.510 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value: fe0256208a21d68d5f91d5930b2305c4 
-----------------------
02-11-2025 22:52:37.58234[2][4] - Elapsed time: 0.019 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
02-11-2025 22:52:37.58235[3][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][check_set_bot][599]
Making sure the bot exists. SQL = SELECT * FROM `siew8359_riski`.`bots` WHERE bot_id = 1 AND `bot_active` = 1; 
-----------------------
02-11-2025 22:52:37.58259[2][4] - Elapsed time: 0.244 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
02-11-2025 22:52:37.58261[2][4] - Elapsed time: 0.017 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
02-11-2025 22:52:37.58299[2][4] - Elapsed time: 0.375 milliseconds
[handle_user.php][intisaliseUser][82]
Initializing user. 
-----------------------
02-11-2025 22:52:37.58327[3][4] - Elapsed time: 0.282 milliseconds
[handle_user.php][intisaliseUser][128]
intisaliseUser #1 SQL: INSERT INTO `users`
        (`id`, `user_name`, `session_id`, `bot_id`, `chatlines`,`ip`, `referer`, `browser`, `date_logged_on` , `last_update`    , `state`)
 VALUES (NULL, 'Seeker'  , 'fe0256208a21d68d5f91d5930b2305c4'   , 1 , '0'        , '114.10.16.60', 'https://riski.siega23.com/Program-O/gui/jquery/?bot_id=1'      , 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36'      , CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, ''     ); 
-----------------------
02-11-2025 22:52:37.58360[3][4] - Elapsed time: 0.332 milliseconds
[intialise_conversation.php][check_set_user][705]
Loading client properties from the DB - sql:
SELECT `name`, `value` FROM `siew8359_riski`.`client_properties` WHERE `user_id` = 1 AND `bot_id` = 1; 
-----------------------
02-11-2025 22:52:37.58380[2][4] - Elapsed time: 0.199 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
02-11-2025 22:52:37.58392[2][4] - Elapsed time: 0.120 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on halo. 
-----------------------
02-11-2025 22:52:37.58394[2][4] - Elapsed time: 0.019 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
02-11-2025 22:52:37.58450[4][4] - Elapsed time: 0.564 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'halo' 
-----------------------
02-11-2025 22:52:37.58473[4][4] - Elapsed time: 0.231 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
02-11-2025 22:52:37.58475[2][4] - Elapsed time: 0.018 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: HALO
Convo id: 4a88f0e825b7464abc4a1150d18516cc
Bot id: 1
Format: json 
-----------------------
02-11-2025 22:52:37.58476[4][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
02-11-2025 22:52:37.58478[2][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
02-11-2025 22:52:37.58479[3][4] - Elapsed time: 0.016 milliseconds
[intialise_conversation.php][load_that][784]
Getting conversation log entries for the current user. SQL:
SELECT `input`, `response` FROM `siew8359_riski`.`conversation_log` WHERE `user_id` = 1 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
02-11-2025 22:52:37.58513[4][4] - Elapsed time: 0.336 milliseconds
[intialise_conversation.php][load_that][856]
Couldn't find any previous inputs or responses. 
-----------------------
02-11-2025 22:52:37.58577[2][4] - Elapsed time: 0.643 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
02-11-2025 22:52:37.58579[3][4] - Elapsed time: 0.022 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `siew8359_riski`.`bots` WHERE bot_id = 1; 
-----------------------
02-11-2025 22:52:37.58600[4][4] - Elapsed time: 0.207 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
02-11-2025 22:52:37.58602[0][4] - Elapsed time: 0.021 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
02-11-2025 22:52:37.58603[0][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
02-11-2025 22:52:37.58604[0][4] - Elapsed time: 0.010 milliseconds
[conversation_start.php][Called outside of function][235]
Say = HALO: raw say = halo 
-----------------------
02-11-2025 22:52:37.58605[4][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
02-11-2025 22:52:37.58607[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [user_say] array 
-----------------------
02-11-2025 22:52:37.58611[4][4] - Elapsed time: 0.047 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
02-11-2025 22:52:37.58614[0][4] - Elapsed time: 0.024 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = halo, RAW say = halo 
-----------------------
02-11-2025 22:52:37.58615[2][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'halo' to the front of the [input] array 
-----------------------
02-11-2025 22:52:37.58616[4][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
02-11-2025 22:52:37.58618[4][4] - Elapsed time: 0.017 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
02-11-2025 22:52:37.58619[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO' 
-----------------------
02-11-2025 22:52:37.58620[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
02-11-2025 22:52:37.58622[4][4] - Elapsed time: 0.019 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
02-11-2025 22:52:37.58642[4][4] - Elapsed time: 0.197 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
02-11-2025 22:52:37.58645[3][4] - Elapsed time: 0.026 milliseconds
[find_aiml.php][find_userdefined_aiml][870]
User defined SQL:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `template` FROM `siew8359_riski`.`aiml_userdefined` WHERE
    `bot_id` = 1 AND
    `user_id` = 'fe0256208a21d68d5f91d5930b2305c4'
    AND (
        'HALO' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
02-11-2025 22:52:37.58683[2][4] - Elapsed time: 0.385 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
02-11-2025 22:52:37.58685[4][4] - Elapsed time: 0.016 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
02-11-2025 22:52:37.58686[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
02-11-2025 22:52:37.58704[4][4] - Elapsed time: 0.183 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
02-11-2025 22:52:37.58706[3][4] - Elapsed time: 0.023 milliseconds
[find_aiml.php][find_aiml_matches][1052]
Core Match AIML sql:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `topic`, `filename`, `template` FROM `siew8359_riski`.`aiml` WHERE
    bot_id = 1 AND (
        'HALO' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
02-11-2025 22:52:37.58740[3][4] - Elapsed time: 0.335 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
02-11-2025 22:52:37.58741[2][4] - Elapsed time: 0.017 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (1) potential AIML matches 
-----------------------
02-11-2025 22:52:37.58761[4][4] - Elapsed time: 0.193 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 1 rows to unset bad matches 
-----------------------
02-11-2025 22:52:37.58762[4][4] - Elapsed time: 0.014 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][62]
Blue 5 to Blue leader. Starting my run now! Looking for 'HALO' 
-----------------------
02-11-2025 22:52:37.58772[1][4] - Elapsed time: 0.099 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][182]
Error: FOUND NO AIML matches in DB 
-----------------------
02-11-2025 22:52:37.58774[4][4] - Elapsed time: 0.021 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 1 relevant rows 
-----------------------
02-11-2025 22:52:37.58775[4][4] - Elapsed time: 0.012 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
02-11-2025 22:52:37.58794[1][4] - Elapsed time: 0.188 milliseconds
[find_aiml.php][score_matches][329]
Found an error trying to identify the chatbot. 
-----------------------
02-11-2025 22:52:37.58796[4][4] - Elapsed time: 0.020 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
)
 
-----------------------
02-11-2025 22:52:37.58798[2][4] - Elapsed time: 0.017 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
)

 
-----------------------
02-11-2025 22:52:37.58836[4][4] - Elapsed time: 0.386 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => -1
    [aiml_id] => -1
    [bot_id] => 1
    [pattern] => no results
    [thatpattern] => 
    [topic] => 
    [template] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
    [score] => 0
    [track_score] => No Match Found!
)
 
-----------------------
02-11-2025 22:52:37.58838[2][4] - Elapsed time: 0.013 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
02-11-2025 22:52:37.58840[4][4] - Elapsed time: 0.028 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:-1 (no results) 
-----------------------
02-11-2025 22:52:37.58842[3][4] - Elapsed time: 0.013 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
02-11-2025 22:52:37.58843[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'no results' 
-----------------------
02-11-2025 22:52:37.58844[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
02-11-2025 22:52:37.58845[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
02-11-2025 22:52:37.58847[2][4] - Elapsed time: 0.017 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => -1
    [category_id] => -1
    [html_template] => 
    [lookingfor] => HALO
    [pattern] => no results
    [score] => 0
    [stars] => Array
        (
        )

    [template] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => halo
)
 
-----------------------
02-11-2025 22:52:37.58848[2][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
02-11-2025 22:52:37.58849[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
02-11-2025 22:52:37.58858[4][4] - Elapsed time: 0.087 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><text>Wah pertanyaanmu unik banget, aku pelajari dulu ya !!</text></template> 
-----------------------
02-11-2025 22:52:37.58873[2][4] - Elapsed time: 0.153 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
02-11-2025 22:52:37.58879[4][4] - Elapsed time: 0.054 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><text>Wah pertanyaanmu unik banget, aku pelajari dulu ya !!</text></template>
 
-----------------------
02-11-2025 22:52:37.58880[4][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
02-11-2025 22:52:37.58882[2][4] - Elapsed time: 0.022 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
02-11-2025 22:52:37.58885[4][4] - Elapsed time: 0.024 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>Wah pertanyaanmu unik banget, aku pelajari dulu ya !!</text> 
-----------------------
02-11-2025 22:52:37.58886[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
02-11-2025 22:52:37.58887[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
02-11-2025 22:52:37.58888[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
02-11-2025 22:52:37.58889[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Wah pertanyaanmu unik banget, aku pelajari dulu ya !!' to the response array. tag name is text 
-----------------------
02-11-2025 22:52:37.58891[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 22:52:37.58892[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
)

 
-----------------------
02-11-2025 22:52:37.58892[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 22:52:37.58894[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Wah pertanyaanmu unik banget, aku pelajari dulu ya !!' 
-----------------------
02-11-2025 22:52:37.58895[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Wah pertanyaanmu unik banget, aku pelajari dulu ya !!' to the response array. tag name is template. 
-----------------------
02-11-2025 22:52:37.58897[2][4] - Elapsed time: 0.018 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 22:52:37.58898[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
)

 
-----------------------
02-11-2025 22:52:37.58899[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 22:52:37.58900[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Wah pertanyaanmu unik banget, aku pelajari dulu ya !!' 
-----------------------
02-11-2025 22:52:37.58901[4][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Wah pertanyaanmu unik banget, aku pelajari dulu ya !! 
-----------------------
02-11-2025 22:52:37.58903[4][4] - Elapsed time: 0.016 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
02-11-2025 22:52:37.58904[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
02-11-2025 22:52:37.58905[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Wah pertanyaanmu unik banget, aku pelajari dulu ya !!' to the front of the [that_raw] array 
-----------------------
02-11-2025 22:52:37.58906[4][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
02-11-2025 22:52:37.58917[2][4] - Elapsed time: 0.114 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Wah pertanyaanmu unik banget, aku pelajari dulu ya !!' to the front of the [that] array 
-----------------------
02-11-2025 22:52:37.58919[4][4] - Elapsed time: 0.018 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
02-11-2025 22:52:37.58921[4][4] - Elapsed time: 0.020 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Wah pertanyaanmu unik banget, aku pelajari dulu ya !!' 
-----------------------
02-11-2025 22:52:37.58923[4][4] - Elapsed time: 0.013 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Wah pertanyaanmu unik banget, aku pelajari dulu ya !!' 
-----------------------
02-11-2025 22:52:37.58924[4][4] - Elapsed time: 0.019 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:52:37.58925[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:52:37.58927[2][4] - Elapsed time: 0.016 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Wah pertanyaanmu unik banget, aku pelajari dulu ya !!' to the front of the [parsed_template] array 
-----------------------
02-11-2025 22:52:37.58928[4][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
02-11-2025 22:52:37.58931[2][4] - Elapsed time: 0.027 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Wah pertanyaanmu unik banget, aku pelajari dulu ya !!' to the front of the [template] array 
-----------------------
02-11-2025 22:52:37.58932[4][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
02-11-2025 22:52:37.58934[2][4] - Elapsed time: 0.018 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
02-11-2025 22:52:37.58936[3][4] - Elapsed time: 0.019 milliseconds
[intialise_conversation.php][log_conversation][442]
Saving conservation SQL: INSERT INTO `siew8359_riski`.`conversation_log` (
      `id` ,
      `input` ,
      `response` ,
      `user_id` ,
      `convo_id` ,
      `bot_id` ,
      `timestamp`
    )
    VALUES (
      NULL ,
      'halo',
      'Wah pertanyaanmu unik banget, aku pelajari dulu ya !!',
      1,
      'fe0256208a21d68d5f91d5930b2305c4',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
02-11-2025 22:52:37.59023[4][4] - Elapsed time: 0.868 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
02-11-2025 22:52:37.59043[3][4] - Elapsed time: 0.199 milliseconds
[display_conversation.php][get_conversation_to_display][59]
get_conversation SQL: SELECT * FROM `siew8359_riski`.`conversation_log` WHERE
        `user_id` = :user_id
        AND `bot_id` = :bot_id
        AND `convo_id` = :convo_id
        ORDER BY id DESC  LIMIT 1 
-----------------------
02-11-2025 22:52:37.59064[2][4] - Elapsed time: 0.215 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
02-11-2025 22:52:37.59066[4][4] - Elapsed time: 0.017 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
02-11-2025 22:52:37.59067[2][4] - Elapsed time: 0.011 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
02-11-2025 22:52:37.59071[4][4] - Elapsed time: 0.037 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"fe0256208a21d68d5f91d5930b2305c4","usersay":"halo","botsay":"Wah pertanyaanmu unik banget, aku pelajari dulu ya !!","botData":{"convo_id":"fe0256208a21d68d5f91d5930b2305c4","bot_name":"Chat.ai","bot_id":"1","format":"json","unknown_user":"Seeker","user_id":"1","totallines":1,"user_name":"Seeker","rawSay":"halo","conversation_lines":"1","remember_up_to":"10","debugemail":"apriansyahrizky84@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":-1,"aiml_id":-1,"bot_id":"1","pattern":"no results","thatpattern":"","topic":"","template":"Wah pertanyaanmu unik banget, aku pelajari dulu ya !!","score":0,"track_score":"No Match Found!"}}} 
-----------------------
02-11-2025 22:52:37.59111[2][4] - Elapsed time: 0.405 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
02-11-2025 22:52:37.59114[0][4] - Elapsed time: 0.031 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 36.606 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => halo
    [conversation] => Array
        (
            [convo_id] => fe0256208a21d68d5f91d5930b2305c4
            [bot_name] => Chat.ai
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_id] => 1
            [totallines] => 1
            [user_name] => Seeker
            [rawSay] => halo
            [conversation_lines] => 1
            [remember_up_to] => 10
            [debugemail] => apriansyahrizky84@gmail.com
            [debug_level] => 4
            [debugmode] => 1
            [save_state] => session
            [default_aiml_pattern] => RANDOM PICKUP LINE
            [bot_parent_id] => 1
            [aimlData] => Array
                (
                    [id] => -1
                    [aiml_id] => -1
                    [bot_id] => 1
                    [pattern] => no results
                    [thatpattern] => 
                    [topic] => 
                    [template] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
                    [score] => 0
                    [track_score] => No Match Found!
                )

        )

    [aiml] => Array
        (
            [user_raw] => halo
            [lookingfor] => HALO
            [category_id] => -1
            [pattern] => no results
            [thatpattern] => 
            [template] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
            [html_template] => 
            [topic] => 
            [score] => 0
            [aiml_id] => -1
            [stars] => Array
                (
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
        )

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

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

    [input] => Array
        (
            [1] => halo
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
                )

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

    [that] => Array
        (
            [1] => Array
                (
                    [1] => WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA
                )

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

    [parsed_template] => Array
        (
            [1] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"fe0256208a21d68d5f91d5930b2305c4","usersay":"halo","botsay":"Wah pertanyaanmu unik banget, aku pelajari dulu ya !!","botData":{"convo_id":"fe0256208a21d68d5f91d5930b2305c4","bot_name":"Chat.ai","bot_id":"1","format":"json","unknown_user":"Seeker","user_id":"1","totallines":1,"user_name":"Seeker","rawSay":"halo","conversation_lines":"1","remember_up_to":"10","debugemail":"apriansyahrizky84@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":-1,"aiml_id":-1,"bot_id":"1","pattern":"no results","thatpattern":"","topic":"","template":"Wah pertanyaanmu unik banget, aku pelajari dulu ya !!","score":0,"track_score":"No Match Found!"}}}
)

-----------------------
Total execution time: 36.606 Milliseconds. Goodbye.