Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v. 1.10 - Replies log me out [SOLVED] #3454

Closed
GreenDragonTech opened this issue Nov 3, 2016 · 33 comments
Closed

v. 1.10 - Replies log me out [SOLVED] #3454

GreenDragonTech opened this issue Nov 3, 2016 · 33 comments

Comments

@GreenDragonTech
Copy link

GreenDragonTech commented Nov 3, 2016

Since the upgrade to 1.10, every time I reply to a ticket, it logs me out. I've tested and the recipients are receiving their emails and everything posts correctly, but it's annoying to have to log back in every time.

Is nobody else having this problem?

@GreenDragonTech GreenDragonTech changed the title Replies log me out v. 1.10 - Replies log me out Nov 3, 2016
@robintoy
Copy link

robintoy commented Nov 3, 2016

I used to get this on 1.10-rc.3 and raised it as a issue but not sure if solved

@ntozier
Copy link
Contributor

ntozier commented Nov 3, 2016

@GreenDragonTech I'm not having this problem. You should probably include system information (software and versions) and check webserver error logs and php error logs.

Side thought... did you clear your browser cache after upgrading?

@GreenDragonTech
Copy link
Author

I'll see if I can find the logs, but clearing my browser cache did not help.

@GreenDragonTech
Copy link
Author

I found the logs on my server. See attached. I don't know what to do with them Any ideas would be appreciated.
mysite.txt

@mmurshid
Copy link

@ntozier it works fine on the localhost,but when hosted to another live server it logg out,could you test on your end?
@GreenDragonTech did you manage to solve the issue? if yes kindly share with me,i am facing same issue.

@mmurshid
Copy link

@robintoy do u have same problem? kindly assist

@ntozier
Copy link
Contributor

ntozier commented Nov 12, 2016

@mmurshid there is no way that I can replicate what you are saying as I do not use the same host as you. However if it works locally and does not work when you move it remotely then its a pretty fair presumption that something about the remote hosts config is borking it. I would recommend that you compare the software versions, and configurations between the local and remote hosts. Most of the time when someone see's something like this they are running afoul their ISPs mod_security rules (or other "security" configuration).

@GreenDragonTech
Copy link
Author

@mmurshid No, not yet. I still face this problem and was surprised nobody else has reported it. I wish I had a solid answer. I've tried adjusting many things, but nothing has solidly affirmed a conclusion.

@GreenDragonTech
Copy link
Author

SOLVED!!!! @mmurshid , @ntozier gave me an idea. I switched PHP version from 5.5 to 7.0 and it resolved the problem! Solution: If you run cPanel, go to PHP Selector and choose 7.0 in the drop down. Otherwise, contact your host and ask them.

@GreenDragonTech GreenDragonTech changed the title v. 1.10 - Replies log me out v. 1.10 - Replies log me out [SOLVED] Nov 12, 2016
@mmurshid
Copy link

thanks to you guys.. @GreenDragonTech and @ntozier , i have upgraded to ver 5.7 and it works fine.Be Blessed guys.

@ntozier
Copy link
Contributor

ntozier commented Nov 23, 2016

@protich @JediKev
I'm not sure that this is solved since I have a few people on the forums posting saying similar things.

Here are a few of them:
http://osticket.com/forum/discussion/89270/when-i-submit-a-comment-on-a-ticket-i-have-to-login-again
http://osticket.com/forum/discussion/89277/reply-ticket-logout-always

@GreenDragonTech
Copy link
Author

@ntozier I marked it solved because I opened this forum, and I found a solution that worked for me.

@bhenie
Copy link

bhenie commented Nov 30, 2016

there is another way to fix without upgrade php version ?

@Nuviware
Copy link

Nuviware commented Jan 9, 2017

Marking a bug "Solved" by changing the php version isn't the solution to the problem.
The problem is in the code and it can be solved ;-)

@gazzaluty
Copy link

This problem doesn't occur in Firefox?

@CelticWebSolutions
Copy link

I have exactly the same issue, though I am running Php 7. Has any investigation been done on the code side of this issue?

@dgismondi
Copy link

Hola, al editar un ticket el sistema cierra sesión y vuelve al inicio para login. Es incomodo y no se si es bug o configuración. Gracias !
Estoy utilizando la v1.10 y mi hosting solo tiene disponible hasta la versión de php 5.6.

Alguna sugerencia?

@eKKiM1
Copy link

eKKiM1 commented Jun 28, 2017

I was experiencing the same issue with PHP 5.4
Since no descent fix was ever supplied afaik i started digging in the code.

i noticed (or cant find where) that the constructor of the osTicketSession is not called anywhere?
This function starts the PHP session.

I made a quick work around (no idea if it influences other things..) by adding the following lines add the end of ./include/class.ostsession.php (before ?> ofcourse)

session_name("OSTSESSID");
session_start();

it's a dirty work around and probably breaks other functionality. However, i hope that a dev now has an idea where to look to fix this issue.

@juniorpires
Copy link

In my case, this always happen if the option "Avoid Collision" is enable. If it is set to 0 (zero) the error don't occur.

@dgismondi
Copy link

where change this value ?? thanks

@JediKev
Copy link
Contributor

JediKev commented Sep 13, 2017

Admin Panel > Settings > System > Collision Avoidance Duration

@dgismondi
Copy link

El parámetro mas parecido es "Duración del filtro de colisión" estaba en 3 minutos y lo lleve a 0 y sigue sin funcionar, al editar un ticket de cierra la sessión. gracias !

@fthomas137
Copy link

Well, I'm glad it's just not me but I'm sad that there is no clear fix. I'm currently running osTicket version 1.9.14 and php version 5.6.16.

@ntozier
Copy link
Contributor

ntozier commented Sep 25, 2017

@fthomas137 The subject for this issue report states "Solved". Perhaps your issue is that you are running an outdated version.

@thetwopct
Copy link

Changing the Collision Avoidance Duration to 0 has not solved the problem for me. I am running PHP 5.6

@ntozier
Copy link
Contributor

ntozier commented Apr 3, 2018

@thetwopct
version of osticket?
Have you tried upgrading PHP to 7 like the original posted recommended?

@lucasmontec
Copy link

Running PHP 7,2 (my host doesn't allow changing), issue persists.

@ntozier
Copy link
Contributor

ntozier commented Jun 14, 2018

@lucasmontec We do not supper PHP 7.1+ at this time.

@CosmaP
Copy link

CosmaP commented Dec 19, 2018

I am still getting this issue. I am on 1.10 of osTicket.

I have tried all the available PHP versions 5.4, 5.5, 5.6, 7.0, 7.1 and it makes no difference.

What now?

Thanks

@ntozier
Copy link
Contributor

ntozier commented Dec 19, 2018

@CosmaP
System environment?
Error logs?
Did you try the three things mentioned in this post or just 1 (change php ver)?
maybe upgrade to current (1.10.4) as of this response?

@CosmaP
Copy link

CosmaP commented Dec 19, 2018 via email

@ntozier
Copy link
Contributor

ntozier commented Dec 19, 2018

  • System environment?* I believe it is a Linux server. It is hosted with
    TSOHost

apache? php ver? etc?

Error logs? How do I extract them?

Depends on your environment. You would talk to TSOHost about how to see your php and logs.

@CosmaP
Copy link

CosmaP commented Dec 19, 2018 via email

@JediKev JediKev closed this as completed Jan 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests