Help
Ask questions about how to do or fix things in Arrowchat
User avatar
MooMooCowCow
Customer
 
Posts: 11
Joined: 11 Jan 2017, 13:06

 

by MooMooCowCow 22 Nov 2021, 03:51

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?
User avatar
Jason
Customer
 
Posts: 2329
Joined: 12 Dec 2009, 16:06

 

by Jason 22 Nov 2021, 12:11

Did you run the upgrade folder?
User avatar
MooMooCowCow
Customer
 
Posts: 11
Joined: 11 Jan 2017, 13:06

 

by MooMooCowCow 23 Nov 2021, 04:16

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.
User avatar
MooMooCowCow
Customer
 
Posts: 11
Joined: 11 Jan 2017, 13:06

 

by MooMooCowCow 23 Nov 2021, 05:37

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.
User avatar
MooMooCowCow
Customer
 
Posts: 11
Joined: 11 Jan 2017, 13:06

 

by MooMooCowCow 23 Nov 2021, 11:27

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..
User avatar
MooMooCowCow
Customer
 
Posts: 11
Joined: 11 Jan 2017, 13:06

 

by MooMooCowCow 23 Nov 2021, 12:13

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?
User avatar
MooMooCowCow
Customer
 
Posts: 11
Joined: 11 Jan 2017, 13:06

 

by MooMooCowCow 26 Nov 2021, 15:39

??
User avatar
MooMooCowCow
Customer
 
Posts: 11
Joined: 11 Jan 2017, 13:06

 

by MooMooCowCow 26 Nov 2021, 17:01

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..