Автоматическое обновление страницы после авторизации

More
10 years 1 month ago #4326 by Виктор Иванов
Приветствую.

Joomla 3.3.6 + свежий JComments
После авторизации через соц.сеть не происходит обновление страницы, т.е. иконки соц.сетей остаются на месте, хотя пользователь авторизован и может комментировать. При ручном обновлении страницы иконки исчезают, имя пользователя появляется.
У вас на форуме при авторизации аналогичная ситуация.
Это так задумано?

При включении опции "Запускать событие onUserLogin" выдается ошибка
"Fatal error: Class 'JAuthenticationResponse' not found in /var/www/admin/data/www/********.ru/components/com_slogin/controller.php on line 389"
Строку jimport('joomla.user.authentication'); в начало controller.php после строки "// import Joomla controller library" добавил.

Скажите, пожалуйста, возможно ли как-то решить эту проблему? Например, автоматическим обновлением страницы или редиректом на саму себя? Учитывая, что это любая внутренняя страница.

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

More
10 years 1 month ago - 10 years 1 month ago #4328 by JoomLine
Опция "onUserLogin" введена для некоторых видов хостингов и систем, если вызывает ошибку отключите ее.
На счет того что не происходит обновление страницы, я вынужден вас разочаровать сам по себе компонент тут не причем, вероятней всего проблема в браузере (в каких либо настройках) или в каком то расширении, которое используется в браузере.
Last edit: 10 years 1 month ago by JoomLine.

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

More
3 years 2 months ago #8775 by Слава Казанцев
Здравствуйте!

Аналогичная проблема: модуль на странице с комментариями, форма комментариев доступна только авторизованным пользователям. После авторизации (которая прошла успешно), форма остается недоступной, а модуль предлагает авторизоваться. После ручного обновления страницы (F5) все становится как надо, форма доступна, модуль показывает приветствие пользователя. Проблема сохраняется во всех установленных браузерах, на разных машинах, а также при проверки со смартфона (и в разных браузерах на смартфоне), пока после авторизации не обновишь руками страницу, везде показывает что будь то бы пользователь все еще не авторизовался.

Подскажите пожалуйста как решить эту проблему. Как автоматически после авторизации обновить страницу сайта на которой инициирована авторизация?

Спасибо за ответ!

Joomla! 3.10.1
SLogin 2.10.1
JComments - SLogin 1.0.8
JComments 3.0.7

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

Powered by Kunena Forum

Last from the forum

    • professional seo services
    • One crisp autumn afternoon, while playing near the house, Emma noticed something shiny half-buried in the dirt. She dug it up and found an old, ornate key with intricate designs. Excited, she wondered what it might open. With the key clutched tightly in her hand, she approached the old house. The door creaked open with surprising ease, and Emma stepped inside. The interior was just as dusty as the outside, but it had an air of mystery. She wandered through the rooms, discovering old furniture and forgotten toys. Each room told a story of a family that had once lived there long ago. As she explored, Emma came upon a small, locked chest in the corner of one room. Her heart raced as she inserted the key into the lock. With a satisfying click, the chest opened to reveal a collection of old photographs, letters, and a beautiful, hand-carved wooden box. Inside the wooden box was a small locket. When Emma opened it, she saw a picture of a young girl who looked strikingly similar to herself. Beside the locket was a letter addressed to "The Finder of the Key." The letter explained that the house had belonged to a family who had to leave quickly many years ago, leaving behind their cherished belongings. The letter's writer was the young girl’s great-grandparent, and the locket was a family heirloom meant to be passed down. Emma's heart swelled with joy as she realized that she had discovered a piece of her own history. She decided to bring the locket and the other treasures to her parents. They were amazed and touched by the find, and they decided to restore the old house, making it a special place to remember their family’s history. From that day on, the house was no longer forgotten. It became a cherished part of the town, where Emma and her family would often visit, sharing stories of the past and making new memories. And so, the little girl with the curious heart had not only uncovered a hidden treasure but had also brought new life to a piece of history, all with a simple, forgotten key.
    • In Component / Slogin
    • postbestnews
    • Devour breakfast within  hours of getting up: between eating dinner, going to bed, and getting up the next day, humans commonly do no longer devour for extra than 10 hours. The frame's blood sugar is at a low ordinary degree and can not allow the primary fearful system and mind to feature nicely to deal with the strain at the beginning of the day. For paintings and daily activities, eating breakfast is to beautify mind power. Furthermore, the longer you wait, the hungrier you feel and the less probable you are to be complete, and also you come to be consuming too much.
    • In Component / JL Mail
    • Blog custom gummy manufacturer
    • In the vibrant world of confections, where taste meets creativity, a stands out as a beacon of innovation and personalization. Imagine being able to bring your unique vision to life in the form of delightful, chewy treats that not only tantalize the taste buds but also capture the essence of your brand or event. Whether you're looking to create bespoke gummies for a corporate promotion, a special event, or retail purposes, partnering with a custom gummy manufacturer allows you to transform ordinary candy into extraordinary experiences. With endless possibilities in flavors, shapes, colors, and packaging, these customized creations are designed to leave a lasting impression on anyone who indulges in them.
    • In Component / JL Mail
© 2010- JoomLine
The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries. joomline.net is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

email: This email address is being protected from spambots. You need JavaScript enabled to view it.