Session Problem
Added by Didy M over 1 year ago
Hi,
After installing Goautodial 4 using the TUTO : https://goautodial.org/projects/goautodialce/wiki/Version_4_How_To_Install_Goautodial_From_Scratch_using_CentOS_7X, Everything went well, but when I log in, and try to click on any link, I am logged out immediatly (for lack of session).
Here is the message displayed When I check the log with :
tail /var/log/php-fpm/www-error.log:
PHP Fatal error: Uncaught Exception: Unable to create current user. Session not set. in /var/www/html/php/CreamyUser.php:36
Stack trace:
#0 /var/www/html/php/CreamyUser.php(53): creamy\CreamyUser->__construct()
#1 /var/www/html/adminsettings.php(34): creamy\CreamyUser::currentUser()
#2 {main}
thrown in /var/www/html/php/CreamyUser.php on line 36.
Help me fix it please !
Replies (5)
RE: Session Problem - Added by Demian Biscocho over 1 year ago
You need to update to the latest Git version.
RE: Session Problem - Added by Didy M over 1 year ago
Hello,
I update to the latest Git version more than 3 times but the problem is still the same and redo the installation 2 times but still the same. I install it on a vps, Is that the problem ? I don't know what to do. Where should I look ? Thx for the help !
RE: Session Problem - Added by Didy M over 1 year ago
[root@vps-a7b325c7 httpd]# tail /var/log/php-fpm/www-error.log
[23-May-2023 22:29:13 Asia/Manila] PHP Notice: Undefined property: stdClass::$data in /var/www/html/php/dashboard/API_getRealtimeAgentsMonitoring.php on line 30
[23-May-2023 22:29:15 Asia/Manila] PHP Fatal error: Uncaught Exception: Unable to create current user. Session not set. in /var/www/html/php/CreamyUser.php:36
Stack trace:
#0 /var/www/html/php/CreamyUser.php(53): creamy\CreamyUser->__construct()
#1 /var/www/html/telephonylist.php(37): creamy\CreamyUser::currentUser()
#2 {main}
thrown in /var/www/html/php/CreamyUser.php on line 36
[23-May-2023 22:29:15 Asia/Manila] PHP Notice: Undefined property: stdClass::$data in /var/www/html/php/dashboard/API_getTotalAgentsWaitCalls.php on line 29
[23-May-2023 22:29:15 Asia/Manila] PHP Notice: Undefined property: stdClass::$data in /var/www/html/php/dashboard/API_getTotalAgentsCall.php on line 27
[23-May-2023 22:29:15 Asia/Manila] PHP Notice: Undefined property: stdClass::$data in /var/www/html/php/dashboard/API_getTotalAgentsPaused.php on line 29
[root@vps-a7b325c7 httpd]#
RE: Session Problem - Added by Wittie Manansala over 1 year ago
Hello,
Please try creating a new campaign without changing the campaign Basic & Advance settings. If the issue is still the same, please provide the information below
1. systemctl status ngcp-rtpengine
2. systemctl status kamailio
3. Campaign settings screenshots (Basic Settings & Advance Settings)
4. asterisk CLI log when logging in
Thank you
RE: Session Problem - Added by Didy M over 1 year ago
Hi,
I did a new install using https://goautodial.org/boards/3/topics/16487 and the problem got fixed.
Thx for your help.