Advertisement:

Author Topic: SA Chat  (Read 532259 times)

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 59,298
  • Gender: Male
    • Kindred-999 on GitHub
Re: SA Chat
« Reply #1780 on: September 23, 2017, 09:41:04 PM »
As expected, it is a jquery comflict...
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline aegersz

  • SMF Hero
  • ******
  • Posts: 1,631
  • Gender: Male
  • the "mods and tweaks" junkie
    • aegersz on GitHub
    • dopetalk (drugs and users)
Re: SA Chat
« Reply #1781 on: September 24, 2017, 04:38:57 AM »
I have no idea what that means -- does it imply that SA Chat is faulty?
The configuration of my Linux VPS (SMF 2.0 with 150 mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 59,298
  • Gender: Male
    • Kindred-999 on GitHub
Re: SA Chat
« Reply #1782 on: September 24, 2017, 07:53:27 PM »
No, it means that both as chat and the gallery mod are trying to use or define the same code
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 72,631
    • StoryBB/StoryBB on GitHub
Re: SA Chat
« Reply #1783 on: September 25, 2017, 02:46:44 AM »
No, it means that the gallery checks before use if jQuery has been loaded and if not loads it. And chat doesn't look like it does that.

Offline aegersz

  • SMF Hero
  • ******
  • Posts: 1,631
  • Gender: Male
  • the "mods and tweaks" junkie
    • aegersz on GitHub
    • dopetalk (drugs and users)
Re: SA Chat
« Reply #1784 on: September 25, 2017, 04:02:43 AM »
it would be great if i could get this sorted because then i could go live with Levertine Gallery !

it's the only mod out of my 130+ that conflicts with it but is the author of SA Chat prepared to work on this ?

I haven't gone to the new version of SA Chat because i like the bar at the bottom of the page and the new version didn't seem to recognise all new members (?).

Thanks Arantor !
The configuration of my Linux VPS (SMF 2.0 with 150 mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Offline ErtugrulBEKTIK

  • Semi-Newbie
  • *
  • Posts: 47
Re: SA Chat
« Reply #1785 on: January 12, 2018, 04:28:21 PM »
I change it with this:
date_default_timezone_set('Europe/Istanbul');
but nothing has changed.

I solve the problem like that:

Open the file below.
sachat => Sources => Chat-Subs.php

Find:
Code: [Select]
$d = new \DateTime('@'.$value.'');
Replace:
Code: [Select]
$timeduzgun = $value+10800;
$d = new \DateTime('@'.$timeduzgun.'');


Note: The number in the code "10800" is second form of time. I mean 10800 seconds equal to 3 hours. I write code like this because my time zone is GMT+3. You colud do whatever your timezone. For example, if your timezone is GMT-6, you may write code like this "$timeduzgun = $value-21600;"

Offline aegersz

  • SMF Hero
  • ******
  • Posts: 1,631
  • Gender: Male
  • the "mods and tweaks" junkie
    • aegersz on GitHub
    • dopetalk (drugs and users)
Re: SA Chat
« Reply #1786 on: January 12, 2018, 11:12:53 PM »
is there any way to save a log of all chat messages for audit purposes ?

or something i can do to see some of it ?

it would be a handy thing for a site like mine so any help is most welcome !

thanks
The configuration of my Linux VPS (SMF 2.0 with 150 mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Offline aegersz

  • SMF Hero
  • ******
  • Posts: 1,631
  • Gender: Male
  • the "mods and tweaks" junkie
    • aegersz on GitHub
    • dopetalk (drugs and users)
Re: SA Chat
« Reply #1787 on: January 19, 2018, 01:55:54 PM »
i opted for a daily email of a batch SQL query of the 2sicat table as the messages are purged daily also.

crude but it has the data that i want.

The configuration of my Linux VPS (SMF 2.0 with 150 mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Offline der_moron

  • Newbie
  • *
  • Posts: 1
Re: SA Chat
« Reply #1788 on: January 22, 2018, 08:05:47 AM »
i have installed SA Chat @ SMF- 2.0.15

the menu disappear !

Is there a solution to that?

Offline aegersz

  • SMF Hero
  • ******
  • Posts: 1,631
  • Gender: Male
  • the "mods and tweaks" junkie
    • aegersz on GitHub
    • dopetalk (drugs and users)
Re: SA Chat
« Reply #1789 on: January 24, 2018, 03:58:24 PM »
do you mean this menu: (?)

Home   Help   Search   Profile   My Messages   Calendar   Members   Logout

is this on a live or test system ? if you need to uninstall it quickly then try to via this starting point:

http://your-website-name/index.php?action=admin

then review the error logs and let us know what you find.
« Last Edit: January 24, 2018, 04:11:59 PM by aegersz »
The configuration of my Linux VPS (SMF 2.0 with 150 mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Offline Novice

  • Jr. Member
  • **
  • Posts: 120
Re: SA Chat
« Reply #1790 on: April 27, 2018, 09:11:33 PM »
please, is SA Chat encrypted over a SSL enabled site ?

Sorry about the tardy reply: I'm a cancer patient and I have been out of commission for a while.

No on the SSL

I did see something about a server setting called "mod_security" that might need turned off if possible. I don't have a clue...Not a coder at all.

Offline jafonseca

  • Semi-Newbie
  • *
  • Posts: 57
Re: SA Chat
« Reply #1791 on: June 05, 2018, 06:13:46 AM »
I have this error when install


Incorrect datetime value: '0000-00-00 00:00:00' for column 'isrd' at row 1
Archive: /home/uhdcl/public_html/Packages/temp/db.php
Line: 176

I have  mysql 5.7

Offline Sir Osis of Liver

  • SMF Super Hero
  • *******
  • Posts: 10,227
  • Hoarding Budweiser in NY
Re: SA Chat
« Reply #1792 on: March 08, 2019, 11:46:37 PM »
Anyone supporting this mod?  It will not work on GoDaddy server, chat windows open both ends, messages do not post.  Clean 2.0.15 install, clean db, no other mods.  No forum or server errors, these errors in chat error log -

Code: [Select]

INFO  Undefined index: database_error
File: /home/u0fgcfwp0drf/public_html/kotctest/Sources/Subs-Db-mysql.php
Line: 1407

FATAL  Call to undefined function allowedTo()
File: /home/u0fgcfwp0drf/public_html/kotctest/Sources/Subs-Db-mysql.php
Line: 1408


allowedTo() is defined function in Security.phpmod_security is enabled, GD will not disable.  Mod had been working, then tanked.  Works fine on my server.



Offline shawnb61

  • Developer
  • SMF Hero
  • *
  • Posts: 2,099
    • sbulen on GitHub
Re: SA Chat
« Reply #1793 on: March 14, 2019, 10:53:34 PM »
A note for SA Chat users experiencing these issues:

Code: [Select]
INFO  Undefined index: database_error
File: /blah/blah/Sources/Subs-Db-mysql.php
Line: xxxx

FATAL  Call to undefined function allowedTo()
File: /blah/blah/Sources/Subs-Db-mysql.php
Line: xxxx

We have confirmed that in some instances, providing a default value for the 'inactive' column in the smf_2sichat table resolves this issue.  NULL works. 

The problem is that in more strict mysql environments, inserts into smf_2sichat fail due to the lack of a value.  The error reporting also fails, resulting in these messages.  Providing a default fixes this.

Hope this helps,
« Last Edit: March 14, 2019, 11:09:17 PM by shawnb61 »
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Offline Sir Osis of Liver

  • SMF Super Hero
  • *******
  • Posts: 10,227
  • Hoarding Budweiser in NY
Re: SA Chat
« Reply #1794 on: March 17, 2019, 06:44:51 PM »
Shawn, if you're still watching this topic, found the IE11 login problem.  I know what's causing it, but don't know why.  If using header login, chat works.  Production forum has guest access disabled, so must use login window.  Chat does not see this login.  I've replicated the glitch on clean test install.  Header login, chat works, login window, chat fails.  Both work fine in FF65.  So far, it only happens to me, forum has members using IE successfully.


Found it.  Header login has default cookielength 'forever', login window is 60 min.  If either is set for 1 hr or 60 min, chat fails, otherwise it works.  Must be a conflict with one of the chat settings.
« Last Edit: March 17, 2019, 07:33:52 PM by Sir Osis of Liver »

Offline shawnb61

  • Developer
  • SMF Hero
  • *
  • Posts: 2,099
    • sbulen on GitHub
Re: SA Chat
« Reply #1795 on: March 17, 2019, 10:06:20 PM »
SOoL:

(Makes me think of Ghostbusters...)

I cannot duplicate exactly...  HOWEVER, 2 things to look at... 
 - I can get odd nonresponse if I let a cookie expire.  So, maybe there are cookie issues.  If you haven't already, clear all your cookies in IE11 & try logging off & back on. 
 - I can get various states of non-operation by increasing the IE overall security level.  The highest level I can get SA Chat to work on in IE is Medium.  Try decreasing security, using default settings & restarting IE. 

Hope this helps,
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Offline Sir Osis of Liver

  • SMF Super Hero
  • *******
  • Posts: 10,227
  • Hoarding Budweiser in NY
Re: SA Chat
« Reply #1796 on: March 18, 2019, 12:39:46 PM »
Turns out it's easy to fix.  Changed default login cookie length in server settings to 65 minutes, now it works for me in IE11.  SA Chat drops it's own cookie, there must be a conflict in cookie handling between forum and mod that affects IE.  I had already tried disabling all browser security, didn't help.  Header login would require code edit to implement the fix, but their theme doesn't use header login so I'm not bothering with it.


Offline 4everBlue

  • Semi-Newbie
  • *
  • Posts: 25
  • Gender: Male
  • impossible is nothing!
    • pngio
Re: SA Chat
« Reply #1797 on: March 22, 2019, 02:21:43 PM »
In the Admin CP there is a control to Disable SA Chat.  That one is self- explanatory.  Then there is Disable Bar, which is labeled "Disable chat bar leaving features".  What is the difference between the two?  What features remain?

Offline Abavagada

  • Semi-Newbie
  • *
  • Posts: 75
Re: SA Chat
« Reply #1798 on: April 26, 2019, 05:22:42 PM »
I've installed this mod on my forum, version 2.0.15, and got no errors on installing, but nothing appears. FireFox kicks back an error loading "http://www.mydomain.com/forum/sachat/index.php?action=body", saying it failed.

The url is correct, and putting it in the browser directly gets me a "500 Server Error
A misconfiguration on the server caused a hiccup. Check the server logs, fix the problem, then try again. " Nothing shows in my server error logs or the forum error logs.

Any ideas why this is happening and how do I fix it?

Offline Oldiesmann

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 24,893
  • Gender: Male
  • Ask me about the function DB :)
    • oldiesmann on Facebook
    • Oldiesmann on GitHub
    • https://www.linkedin.com/in/michaeleshom on LinkedIn
    • @oldiesmann on Twitter
    • Archie Comics Fan Forum
Re: SA Chat
« Reply #1799 on: May 01, 2019, 11:18:29 PM »
If there's nothing in the server error log about it, I'd recommend contacting your host.
Michael Eshom
Cincy Space - now open!