error al LOGOUT

  • Edwin Omar de la Cruz
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 7 months ago #1 by Edwin Omar de la Cruz
error al LOGOUT was created by Edwin Omar de la Cruz
estimados amigos los felicito por el enorme trabajo que están haciendo, les exhorto a seguir adelante.

Después de mi saludo les solicito nuevamente su apoyo, ya que tengo el problema siguiente: hago un Login y todo funciona bien, pero al hacer el logout me describe el siguiente error


Fatal error: Call to undefined function session_unregister() in /home4/USUARIO/public_html/plugins/user/joomdlehooks/joomdlehooks.php on line 58

Que podrá hacerse :silly:

Please Log in or Create an account to join the conversation.

More
12 years 6 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic error al LOGOUT
Parece que debes tener PHP 5.4, ya que aquí dice que se eliminará esta función en esa versión:
www.php.net/manual/es/function.session-unregister.php

Intentaré arreglarlo para la próxima versión. Mientras tanto, puedes desactivar el SSO sin redirección , para que no se use esa función.

Please Log in or Create an account to join the conversation.

More
12 years 6 months ago #3 by D Barnhart
Replied by D Barnhart on topic error al LOGOUT
Just thought I would let you know that I was also getting this same error. I confirmed that my PHP version is 5.3.27 (according to cPanel). So not sure why this error is suddenly occurring. From my error logs this started occurring around Sept. 19th.

I found this other thread from 2012 www.joomdle.com/en/forum/r08-support/906...edirecting-correctly

So I changed line 58 and 59 in joomdlehooks.php to
unset($_SESSION["USER"]);
unset($_SESSION["SESSION"]);

Then turned the redirectless SSO back to yes. Everything works great again.

This error as well as disabling the redirectless SSO caused my Hikashop checkout to crash because I force the user to logout after registration in the checkout process.

Please Log in or Create an account to join the conversation.

  • Edwin Omar de la Cruz
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 6 months ago #4 by Edwin Omar de la Cruz
Replied by Edwin Omar de la Cruz on topic error al LOGOUT
te comento que cambie de hosting me funciono en el nuevo

Please Log in or Create an account to join the conversation.

More
12 years 6 months ago #5 by Antonio Durán
Replied by Antonio Durán on topic error al LOGOUT
Thanks for the info / gracias por la info! :)

Please Log in or Create an account to join the conversation.