2026-08-07 06:47:06 - Database error: SQLSTATE[HY000] [1045] Access denied for user 'tglbotir_dbuser'@'localhost' (using password: YES)
----------------------------------------
2026-08-07 06:47:06 - Forwarder initialized
----------------------------------------
2026-08-07 06:47:06 - Raw webhook input
----------------------------------------
2026-08-07 06:47:06 - Invalid JSON received
----------------------------------------
2026-08-07 07:28:32 - Database error: SQLSTATE[HY000] [1044] Access denied for user 'tglboti1_user1'@'localhost' to database 'tglboti1_tglbotir_db1'
----------------------------------------
2026-08-07 07:28:32 - Forwarder initialized
----------------------------------------
2026-08-07 07:28:32 - Raw webhook input
----------------------------------------
2026-08-07 07:28:32 - Invalid JSON received
----------------------------------------
2026-08-07 07:28:56 - Database error: SQLSTATE[HY000] [1044] Access denied for user 'tglboti1_user1'@'localhost' to database 'tglboti1_tglbotir_db1'
----------------------------------------
2026-08-07 07:28:56 - Forwarder initialized
----------------------------------------
2026-08-07 07:28:56 - Raw webhook input
----------------------------------------
2026-08-07 07:28:56 - Invalid JSON received
----------------------------------------
2026-08-07 07:30:34 - Database error: SQLSTATE[HY000] [1044] Access denied for user 'tglboti1_user1'@'localhost' to database 'tglboti1_tglbotir_db1'
----------------------------------------
2026-08-07 07:30:34 - Forwarder initialized
----------------------------------------
2026-08-07 07:30:34 - Raw webhook input
----------------------------------------
2026-08-07 07:30:34 - Invalid JSON received
----------------------------------------
2026-08-07 07:30:36 - Database error: SQLSTATE[HY000] [1044] Access denied for user 'tglboti1_user1'@'localhost' to database 'tglboti1_tglbotir_db1'
----------------------------------------
2026-08-07 07:30:36 - Forwarder initialized
----------------------------------------
2026-08-07 07:30:36 - Raw webhook input
{"update_id":70092761,
"channel_post":{"message_id":32,"sender_chat":{"id":-1003711891478,"title":"telegram to rubika","username":"tgltorubika","type":"channel"},"chat":{"id":-1003711891478,"title":"telegram to rubika","username":"tgltorubika","type":"channel"},"date":1786087836,"text":"."}}
----------------------------------------
2026-08-07 07:30:36 - Parsed update
Array
(
    [update_id] => 70092761
    [channel_post] => Array
        (
            [message_id] => 32
            [sender_chat] => Array
                (
                    [id] => -1003711891478
                    [title] => telegram to rubika
                    [username] => tgltorubika
                    [type] => channel
                )

            [chat] => Array
                (
                    [id] => -1003711891478
                    [title] => telegram to rubika
                    [username] => tgltorubika
                    [type] => channel
                )

            [date] => 1786087836
            [text] => .
        )

)

----------------------------------------
2026-08-07 07:30:36 - Channel post received
Array
(
    [message_id] => 32
    [sender_chat] => Array
        (
            [id] => -1003711891478
            [title] => telegram to rubika
            [username] => tgltorubika
            [type] => channel
        )

    [chat] => Array
        (
            [id] => -1003711891478
            [title] => telegram to rubika
            [username] => tgltorubika
            [type] => channel
        )

    [date] => 1786087836
    [text] => .
)

----------------------------------------
2026-08-07 07:30:36 - Processing post
Array
(
    [message_id] => 32
    [sender_chat] => Array
        (
            [id] => -1003711891478
            [title] => telegram to rubika
            [username] => tgltorubika
            [type] => channel
        )

    [chat] => Array
        (
            [id] => -1003711891478
            [title] => telegram to rubika
            [username] => tgltorubika
            [type] => channel
        )

    [date] => 1786087836
    [text] => .
)

----------------------------------------
2026-08-07 07:30:36 - Channel check
Array
(
    [chat_id] => -1003711891478
    [chat_username] => @tgltorubika
    [source_channel] => @tgltorubika
)

----------------------------------------
2026-08-07 07:30:45 - Database error: SQLSTATE[HY000] [1044] Access denied for user 'tglboti1_user1'@'localhost' to database 'tglboti1_tglbotir_db1'
----------------------------------------
2026-08-07 07:30:45 - Forwarder initialized
----------------------------------------
2026-08-07 07:30:45 - Raw webhook input
{"update_id":70092762,
"channel_post":{"message_id":33,"sender_chat":{"id":-1003711891478,"title":"telegram to rubika","username":"tgltorubika","type":"channel"},"chat":{"id":-1003711891478,"title":"telegram to rubika","username":"tgltorubika","type":"channel"},"date":1786087844,"text":"j"}}
----------------------------------------
2026-08-07 07:30:45 - Parsed update
Array
(
    [update_id] => 70092762
    [channel_post] => Array
        (
            [message_id] => 33
            [sender_chat] => Array
                (
                    [id] => -1003711891478
                    [title] => telegram to rubika
                    [username] => tgltorubika
                    [type] => channel
                )

            [chat] => Array
                (
                    [id] => -1003711891478
                    [title] => telegram to rubika
                    [username] => tgltorubika
                    [type] => channel
                )

            [date] => 1786087844
            [text] => j
        )

)

----------------------------------------
2026-08-07 07:30:45 - Channel post received
Array
(
    [message_id] => 33
    [sender_chat] => Array
        (
            [id] => -1003711891478
            [title] => telegram to rubika
            [username] => tgltorubika
            [type] => channel
        )

    [chat] => Array
        (
            [id] => -1003711891478
            [title] => telegram to rubika
            [username] => tgltorubika
            [type] => channel
        )

    [date] => 1786087844
    [text] => j
)

----------------------------------------
2026-08-07 07:30:45 - Processing post
Array
(
    [message_id] => 33
    [sender_chat] => Array
        (
            [id] => -1003711891478
            [title] => telegram to rubika
            [username] => tgltorubika
            [type] => channel
        )

    [chat] => Array
        (
            [id] => -1003711891478
            [title] => telegram to rubika
            [username] => tgltorubika
            [type] => channel
        )

    [date] => 1786087844
    [text] => j
)

----------------------------------------
2026-08-07 07:30:45 - Channel check
Array
(
    [chat_id] => -1003711891478
    [chat_username] => @tgltorubika
    [source_channel] => @tgltorubika
)

----------------------------------------
2026-08-07 07:37:43 - Database initialized successfully
----------------------------------------
2026-08-07 07:37:43 - Forwarder initialized
----------------------------------------
2026-08-07 07:37:43 - Raw webhook input
{"update_id":70092763,
"channel_post":{"message_id":34,"sender_chat":{"id":-1003711891478,"title":"telegram to rubika","username":"tgltorubika","type":"channel"},"chat":{"id":-1003711891478,"title":"telegram to rubika","username":"tgltorubika","type":"channel"},"date":1786088263,"text":"."}}
----------------------------------------
2026-08-07 07:37:43 - Parsed update
Array
(
    [update_id] => 70092763
    [channel_post] => Array
        (
            [message_id] => 34
            [sender_chat] => Array
                (
                    [id] => -1003711891478
                    [title] => telegram to rubika
                    [username] => tgltorubika
                    [type] => channel
                )

            [chat] => Array
                (
                    [id] => -1003711891478
                    [title] => telegram to rubika
                    [username] => tgltorubika
                    [type] => channel
                )

            [date] => 1786088263
            [text] => .
        )

)

----------------------------------------
2026-08-07 07:37:43 - Channel post received
Array
(
    [message_id] => 34
    [sender_chat] => Array
        (
            [id] => -1003711891478
            [title] => telegram to rubika
            [username] => tgltorubika
            [type] => channel
        )

    [chat] => Array
        (
            [id] => -1003711891478
            [title] => telegram to rubika
            [username] => tgltorubika
            [type] => channel
        )

    [date] => 1786088263
    [text] => .
)

----------------------------------------
2026-08-07 07:37:43 - Processing post
Array
(
    [message_id] => 34
    [sender_chat] => Array
        (
            [id] => -1003711891478
            [title] => telegram to rubika
            [username] => tgltorubika
            [type] => channel
        )

    [chat] => Array
        (
            [id] => -1003711891478
            [title] => telegram to rubika
            [username] => tgltorubika
            [type] => channel
        )

    [date] => 1786088263
    [text] => .
)

----------------------------------------
2026-08-07 07:37:43 - Channel check
Array
(
    [chat_id] => -1003711891478
    [chat_username] => @tgltorubika
    [source_channel] => @abzartaavon
)

----------------------------------------
2026-08-07 07:37:43 - Not from source channel, skipping
----------------------------------------
2026-08-07 07:38:39 - Database initialized successfully
----------------------------------------
2026-08-07 07:38:39 - Forwarder initialized
----------------------------------------
2026-08-07 07:38:39 - Raw webhook input
{"update_id":70092764,
"channel_post":{"message_id":35,"sender_chat":{"id":-1003711891478,"title":"telegram to rubika","username":"tgltorubika","type":"channel"},"chat":{"id":-1003711891478,"title":"telegram to rubika","username":"tgltorubika","type":"channel"},"date":1786088319,"text":"..."}}
----------------------------------------
2026-08-07 07:38:39 - Parsed update
Array
(
    [update_id] => 70092764
    [channel_post] => Array
        (
            [message_id] => 35
            [sender_chat] => Array
                (
                    [id] => -1003711891478
                    [title] => telegram to rubika
                    [username] => tgltorubika
                    [type] => channel
                )

            [chat] => Array
                (
                    [id] => -1003711891478
                    [title] => telegram to rubika
                    [username] => tgltorubika
                    [type] => channel
                )

            [date] => 1786088319
            [text] => ...
        )

)

----------------------------------------
2026-08-07 07:38:39 - Channel post received
Array
(
    [message_id] => 35
    [sender_chat] => Array
        (
            [id] => -1003711891478
            [title] => telegram to rubika
            [username] => tgltorubika
            [type] => channel
        )

    [chat] => Array
        (
            [id] => -1003711891478
            [title] => telegram to rubika
            [username] => tgltorubika
            [type] => channel
        )

    [date] => 1786088319
    [text] => ...
)

----------------------------------------
2026-08-07 07:38:39 - Processing post
Array
(
    [message_id] => 35
    [sender_chat] => Array
        (
            [id] => -1003711891478
            [title] => telegram to rubika
            [username] => tgltorubika
            [type] => channel
        )

    [chat] => Array
        (
            [id] => -1003711891478
            [title] => telegram to rubika
            [username] => tgltorubika
            [type] => channel
        )

    [date] => 1786088319
    [text] => ...
)

----------------------------------------
2026-08-07 07:38:39 - Channel check
Array
(
    [chat_id] => -1003711891478
    [chat_username] => @tgltorubika
    [source_channel] => @tgltorubika
)

----------------------------------------
2026-08-07 07:38:39 - Checking if forwarded
Array
(
    [message_id] => 35
    [is_forwarded] => 
)

----------------------------------------
2026-08-07 07:38:39 - Message is from source channel and not forwarded, proceeding to forward
----------------------------------------
2026-08-07 07:38:39 - Forwarding to Rubika
Array
(
    [message_id] => 35
)

----------------------------------------
2026-08-07 07:38:39 - Type: Text message
----------------------------------------
2026-08-07 07:38:39 - Sending text message to Rubika
Array
(
    [chat_id] => @getfromtelegram
    [text] => ...
)

----------------------------------------
2026-08-07 07:38:39 - Calling Rubika API
Array
(
    [method] => sendMessage
    [url] => https://botapi.rubika.ir/v3/HFCAI0BJPWUEAPXGDGJTOFBKHLKIJEGLOIJHEFCVQCFIJZXEIWRFSLVIDVBZJZMJ/sendMessage
    [data] => Array
        (
            [chat_id] => @getfromtelegram
            [text] => ...
        )

)

----------------------------------------
2026-08-07 07:38:41 - Rubika API response
Array
(
    [http_code] => 200
    [response] => {"status":"OK","data":{"message_id":"1862924819004003046"}}
)

----------------------------------------
2026-08-07 07:38:41 - Saving forwarded message to database
Array
(
    [telegram_message_id] => 35
    [rubika_message_id] => 1862924819004003046
    [media_type] => text
)

----------------------------------------
2026-08-07 07:38:41 - Message saved successfully
----------------------------------------
2026-08-07 07:38:41 - Text message forwarded successfully
Array
(
    [status] => OK
    [data] => Array
        (
            [message_id] => 1862924819004003046
        )

)

----------------------------------------
2026-08-07 08:00:00 - Database initialized successfully
----------------------------------------
2026-08-07 08:00:00 - Forwarder initialized
----------------------------------------
2026-08-07 08:00:00 - Raw webhook input
{"update_id":70092765,
"channel_post":{"message_id":36,"sender_chat":{"id":-1003711891478,"title":"telegram to rubika","username":"tgltorubika","type":"channel"},"chat":{"id":-1003711891478,"title":"telegram to rubika","username":"tgltorubika","type":"channel"},"date":1786089600,"text":"."}}
----------------------------------------
2026-08-07 08:00:00 - Parsed update
Array
(
    [update_id] => 70092765
    [channel_post] => Array
        (
            [message_id] => 36
            [sender_chat] => Array
                (
                    [id] => -1003711891478
                    [title] => telegram to rubika
                    [username] => tgltorubika
                    [type] => channel
                )

            [chat] => Array
                (
                    [id] => -1003711891478
                    [title] => telegram to rubika
                    [username] => tgltorubika
                    [type] => channel
                )

            [date] => 1786089600
            [text] => .
        )

)

----------------------------------------
2026-08-07 08:00:00 - Channel post received
Array
(
    [message_id] => 36
    [sender_chat] => Array
        (
            [id] => -1003711891478
            [title] => telegram to rubika
            [username] => tgltorubika
            [type] => channel
        )

    [chat] => Array
        (
            [id] => -1003711891478
            [title] => telegram to rubika
            [username] => tgltorubika
            [type] => channel
        )

    [date] => 1786089600
    [text] => .
)

----------------------------------------
2026-08-07 08:00:00 - Processing post
Array
(
    [message_id] => 36
    [sender_chat] => Array
        (
            [id] => -1003711891478
            [title] => telegram to rubika
            [username] => tgltorubika
            [type] => channel
        )

    [chat] => Array
        (
            [id] => -1003711891478
            [title] => telegram to rubika
            [username] => tgltorubika
            [type] => channel
        )

    [date] => 1786089600
    [text] => .
)

----------------------------------------
2026-08-07 08:00:00 - Channel check
Array
(
    [chat_id] => -1003711891478
    [chat_username] => @tgltorubika
    [source_channel] => @abzartaavon
)

----------------------------------------
2026-08-07 08:00:00 - Not from source channel, skipping
----------------------------------------
2026-08-07 08:48:56 - Database initialized successfully
----------------------------------------
2026-08-07 08:48:56 - Forwarder initialized
----------------------------------------
2026-08-07 08:48:56 - Raw webhook input
----------------------------------------
2026-08-07 08:48:56 - Invalid JSON received
----------------------------------------
