Page 1 of 1

Error sending messages after upgrade.

PostPosted: 22 Nov 2021, 03:51
by MooMooCowCow
Hi guys.. Just Upgraded all our websites that use arrow chat.. Now no one can send private messages..

Help getting this error message "There was an error sending your message. Try again later."

Can anyone help please?

Re: Error sending messages after upgrade.

PostPosted: 22 Nov 2021, 12:11
by Jason
Did you run the upgrade folder?

Re: Error sending messages after upgrade.

PostPosted: 23 Nov 2021, 04:16
by MooMooCowCow
Did you run the upgrade folder?
Thank you for your reply Jason. Yes..

Uploaded files to server.
Went to site/upgrade folder and hit enter.
Clicked button on page to upgrade.

Still no joy I am afraid.

Re: Error sending messages after upgrade.

PostPosted: 23 Nov 2021, 05:37
by MooMooCowCow
it is as though the data base is not being updated.. as if I replace the files with the 3.0.6 it works perfectly..

Uploaded files to server.
Went to site/upgrade folder and hit enter.
Clicked button on page to upgrade.

Still no joy I am afraid.

Re: Error sending messages after upgrade.

PostPosted: 23 Nov 2021, 11:27
by MooMooCowCow
Update: I deleted all arrow chat files and tables from data base.. Ran INSTALL and the directory was created.. So I now know that the MySQL user has all privileges. Table created.. Just can't send messages..

Re: Error sending messages after upgrade.

PostPosted: 23 Nov 2021, 12:13
by MooMooCowCow
Found the culprit... /arrowchat/includes/json/send/send_message.php

If I replace the 3.0.6 version of this file it works..

So I wonder why? Could anyone shed some light please?

Re: Error sending messages after upgrade.

PostPosted: 26 Nov 2021, 15:39
by MooMooCowCow
??

Re: Error sending messages after upgrade.

PostPosted: 26 Nov 2021, 17:01
by MooMooCowCow
Solved. Anyone interested found error log in arrowchat/includes/json/send/error.log

[27-Nov-2021 00:15:25 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/MYSITE/public_html/arrowchat/includes/json/send/send_message.php:1) in /home//MYSITE/public_html/arrowchat/includes/json/send/send_message.php on line 14

Basically ../arrowchat/includes/json/send/send_message.php file has a space in front of <? on line 1.

Remove the space and it will work..