News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

SA Chat

Started by Diego Andrés, July 21, 2010, 10:36:59 PM

Previous topic - Next topic

Kindred

As expected, it is a jquery comflict...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

aegersz

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 160+ 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

Kindred

No, it means that both as chat and the gallery mod are trying to use or define the same code
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Arantor

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.

aegersz

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 160+ 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

ErtugrulBEKTIK

Quote from: ErtugrulBEKTIK on August 14, 2015, 04:24:28 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:
$d = new \DateTime('@'.$value.'');

Replace:
$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;"

aegersz

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 160+ 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

aegersz

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 160+ 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

der_moron

i have installed SA Chat @ SMF- 2.0.15

the menu disappear !

Is there a solution to that?

aegersz

#1789
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.
The configuration of my Linux VPS (SMF 2.0 with 160+ 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

Novice

Quote from: aegersz on September 01, 2017, 04:40:48 AM
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.

jafonseca

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

Sir Osis of Liver

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 -



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.


Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

shawnb61

#1793
A note for SA Chat users experiencing these issues:

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,
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Sir Osis of Liver

#1794
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.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

shawnb61

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

Sir Osis of Liver

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.

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

4everBlue

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?

Abavagada

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?

Oldiesmann

If there's nothing in the server error log about it, I'd recommend contacting your host.
Michael Eshom
Christian Metal Fans

Advertisement: