Help
Get all the latest news about ArrowChat here
User avatar
Jason
Customer
 
Posts: 2336
Joined: 12 Dec 2009, 16:06

 

by Jason 28 Aug 2022, 17:46

Just so you guys know, I had the same issue with everything being blank in the admin panel. I then looked at the code and realised that sometimes the short php tag was being used, and after enabling "short_open_tag" in the php.ini file everything works :)
Yes. Already fixed.
User avatar
PMusu
Customer
 
Posts: 15
Joined: 09 Feb 2016, 00:49

 

by PMusu 28 Aug 2022, 21:03

hehe I have found another "bug"!!! I have changed the colors here: https://jmp.sh/O66aG1o but not showing any changes in the chat, it keeps same colors of self bubble text and self bubble chat

I feel like Indiana Jones in the hidden bugs!
User avatar
Jason
Customer
 
Posts: 2336
Joined: 12 Dec 2009, 16:06

 

by Jason 28 Aug 2022, 21:34

hehe I have found another "bug"!!! I have changed the colors here: https://jmp.sh/O66aG1o but not showing any changes in the chat, it keeps same colors of self bubble text and self bubble chat

I feel like Indiana Jones in the hidden bugs!
Not a bug...you need to refresh the browser cache on that one...or simply go to any other setting and hit save. The custom colors are not part of the database and thus do not trigger the config file update.

I should probably just make it trigger the config file update anyway to avoid confusion, as I'm guaranteed to see this exact complaint 100 more times 😉
User avatar
PMusu
Customer
 
Posts: 15
Joined: 09 Feb 2016, 00:49

 

by PMusu 28 Aug 2022, 22:00

Not a bug...you need to refresh the browser cache on that one...or simply go to any other setting and hit save. The custom colors are not part of the database and thus do not trigger the config file update.

I should probably just make it trigger the config file update anyway to avoid confusion, as I'm guaranteed to see this exact complaint 100 more times 😉
mm I have try all that, even cleaning browser cache but still keep being in blue and text in black
User avatar
Jason
Customer
 
Posts: 2336
Joined: 12 Dec 2009, 16:06

 

by Jason 28 Aug 2022, 23:17

mm I have try all that, even cleaning browser cache but still keep being in blue and text in black
The other possibility is your cache folder is not writable.
User avatar
Fonzi
Customer
 
Posts: 26
Joined: 22 Nov 2017, 04:56

 

by Fonzi 29 Aug 2022, 00:14

I reinstalled arrowchat but it won't write to the cache
User avatar
Fonzi
Customer
 
Posts: 26
Joined: 22 Nov 2017, 04:56

 

by Fonzi 29 Aug 2022, 00:49

Is arrowchat compatible with PHP 8.1?
User avatar
Jason
Customer
 
Posts: 2336
Joined: 12 Dec 2009, 16:06

 

by Jason 29 Aug 2022, 07:19

Is arrowchat compatible with PHP 8.1?
Yes
User avatar
PMusu
Customer
 
Posts: 15
Joined: 09 Feb 2016, 00:49

 

by PMusu 29 Aug 2022, 21:55

The other possibility is your cache folder is not writable.
cache writable files in writable, fun part is that the file have the right color choice inside is like is not read
User avatar
smr891
Customer
 
Posts: 26
Joined: 19 Mar 2017, 21:06

 

by smr891 30 Aug 2022, 01:43

Good to know I always use short tag never knew why people said I should use the full tag when I thought well it works and just bloats code to my opinion so consider my opinion officially changed!
User avatar
Jason
Customer
 
Posts: 2336
Joined: 12 Dec 2009, 16:06

 

by Jason 30 Aug 2022, 12:53

cache writable files in writable, fun part is that the file have the right color choice inside is like is not read
You must have two files for it to function:
/cache/style_defi.php
/themes/defi/css/custom_css.php

If they are both there and style_defi.php has the correct values, then this is a server cache problem. I've seen servers with strong cache systems installed that will not change CSS/JavaScript output.
User avatar
jackal
Customer
 
Posts: 102
Joined: 06 May 2019, 15:29

 

by jackal 30 Aug 2022, 19:02

I did a clean install.
1. Users are not able to view recent chat users (after having chatted with them)
2. Notification red bubble shows up and when you click no users show up (empty).
3. The notification bubble changes for example goes from 1 to 66 to 165 to 435 to 665 every time you click on the notification red bubble. but when you browse to another page it goes back to 1 notification.
User avatar
Jason
Customer
 
Posts: 2336
Joined: 12 Dec 2009, 16:06

 

by Jason 30 Aug 2022, 20:49

I did a clean install.
1. Users are not able to view recent chat users (after having chatted with them)
2. Notification red bubble shows up and when you click no users show up (empty).
3. The notification bubble changes for example goes from 1 to 66 to 165 to 435 to 665 every time you click on the notification red bubble. but when you browse to another page it goes back to 1 notification.
Need some more information. What platform is this on? Desktop, mobile, embed?

I’m also not clear on what you’re talking about on any of these but the platform might clarify a bit.
User avatar
PMusu
Customer
 
Posts: 15
Joined: 09 Feb 2016, 00:49

 

by PMusu 30 Aug 2022, 22:43

You must have two files for it to function:
/cache/style_defi.php
/themes/defi/css/custom_css.php

If they are both there and style_defi.php has the correct values, then this is a server cache problem. I've seen servers with strong cache systems installed that will not change CSS/JavaScript output.
ah here I have no idea hehe, we have external memcached server and minify system to compress css and js that can be of help?

is not a tragedy to not be able to modify the text colors just trying to help to test all hehe
User avatar
PMusu
Customer
 
Posts: 15
Joined: 09 Feb 2016, 00:49

 

by PMusu 30 Aug 2022, 23:16

AHA!!! Found the problem, somewhere in the script there is a double ##

https://jmp.sh/9Y8Dw8H
User avatar
PMusu
Customer
 
Posts: 15
Joined: 09 Feb 2016, 00:49

 

by PMusu 30 Aug 2022, 23:33

found

.arrowchat_chatboxmessage_wrapper,.arrowchat_chatroom_message_content{background-color:<?php echo $chat_bubble; ?>}
.arrowchat_chatboxmessagecontent,.arrowchat_chatroom_message_content{color:<?php echo $chat_bubble_text; ?>}
.arrowchat_self .arrowchat_chatboxmessage_wrapper,.arrowchat_self .arrowchat_chatroom_message_content{background-color:<?php echo $chat_bubble_self; ?> !important}
.arrowchat_self .arrowchat_chatboxmessagecontent,.arrowchat_self .arrowchat_chatroom_msg{color:<?php echo $chat_bubble_self_text; ?> !important}

just take off the # from the first part before was "#<?php echo" now is "<?php echo" and works fine
User avatar
jackal
Customer
 
Posts: 102
Joined: 06 May 2019, 15:29

 

by jackal 31 Aug 2022, 06:05

Need some more information. What platform is this on? Desktop, mobile, embed?

I’m also not clear on what you’re talking about on any of these but the platform might clarify a bit.
Mobile. When I look at the phone screen and I see 1 notification (red bubble) and I click it, no user shows up. The location where the user who sent me a message should be is empty.

While remaining on the same screen (the empty screen with no user) the red notification number in the bottom begins to increase up (not because I"m getting more notifications). Sometimes it goes up from 1 to 9, from 9 to 33, from 33 to 101 from 101 to 202 and so on (that are just random numbers). But when I browse to a different page it goes back to showing 1 notification.
User avatar
jackal
Customer
 
Posts: 102
Joined: 06 May 2019, 15:29

 

by jackal 31 Aug 2022, 06:36

Another problem:
Mobile: when you click the blue bubble (without a notification present) it takes you to "No Recent Conversations", even though I have recently chatted with other users like 10 minutes ago.

Desktop Question: Where do the recent conversation users suppose to be displayed? I don't see recent users anywhere.
User avatar
Jason
Customer
 
Posts: 2336
Joined: 12 Dec 2009, 16:06

 

by Jason 31 Aug 2022, 08:02

AHA!!! Found the problem, somewhere in the script there is a double ##

https://jmp.sh/9Y8Dw8H
Hex codes should not have the leading #. The admin panel should say this.
User avatar
Jason
Customer
 
Posts: 2336
Joined: 12 Dec 2009, 16:06

 

by Jason 31 Aug 2022, 08:08

Mobile. When I look at the phone screen and I see 1 notification (red bubble) and I click it, no user shows up. The location where the user who sent me a message should be is empty.

While remaining on the same screen (the empty screen with no user) the red notification number in the bottom begins to increase up (not because I"m getting more notifications). Sometimes it goes up from 1 to 9, from 9 to 33, from 33 to 101 from 101 to 202 and so on (that are just random numbers). But when I browse to a different page it goes back to showing 1 notification.
Does this happen every time for you? I did have this happen once, but I've been unable to reproduce it and couldn't find anything in the code that would cause it.

The recent chat is just your open conversations. If you close the chat tabs on any platform then they will sync up and close on all.