Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2015-08-14 06:31:22

abliss2
Member
Registered: 2015-08-14
Posts: 3

Cannot LOGIN (Fresh Subdomain INSTALL. Login screen only refreshes)

I cannot login to LiveHelperChat after installing on my site's subdomain.

I do a fresh install on my website's subdomain (fresh MySql db too). Then when I attempt to enter the set username and password and click LOGIN button, the screen simply refreshes and clears the username and password.

NOTE: THERE ARE NO error messages appearing on the screens either during installation or after installation when I attempt login, however, errors and warnings are on the server error log during both the installation and first login attempt as well as all subsequent login tries (where the screen does nothing but refresh when username and password are typed in and LOGIN button clicked).  Please HELP.


Where subdomain.mydomain.com points to /hermes/pathfolder/htdocs/mainfolder/

and the LiveHelperChat's lhc_web folder is installed on /hermes/pathfolder/htdocs/mainfolder/lhc_web/

Installed without registering error and everything seems to go as smoothly and according to tutorial installation instructions, up until I attempt to log in. Then the screen simply refreshes.

------------------- CGI SERVER ERROR LOG BELOW ---------------------------------


20150814T003013: subdomain.mydomain.com/lhc_web/index.php/site_admin/install/install
PHP Warning:  session_start(): open(/var/php_sessions/sess_c2243998de6ffb993c178330de5896b8, O_RDWR) failed: No such file or directory (2) in /hermes/pathfolder/htdocs/mainfolder/lhc_web/ezcomponents/Authentication/src/session/authentication_session.php on line 205
PHP Warning:  session_write_close(): open(/var/php_sessions/sess_c2243998de6ffb993c178330de5896b8, O_RDWR) failed: No such file or directory (2) in /hermes/pathfolder
20150814T003029: subdomain.mydomain.com/lhc_web/index.php/site_admin/install/install/1
PHP Warning:  session_start(): open(/var/php_sessions/sess_c2243998de6ffb993c178330de5896b8, O_RDWR) failed: No such file or directory (2) in /hermes/pathfolder/htdocs/mainfolder/lhc_web/ezcomponents/Authentication/src/session/authentication_session.php on line 205
PHP Warning:  session_write_close(): open(/var/php_sessions/sess_c2243998de6ffb993c178330de5896b8, O_RDWR) failed: No such file or directory (2) in /hermes/pathfolder
20150814T003433: subdomain.mydomain.com/lhc_web/index.php/site_admin/install/install/2
PHP Warning:  session_start(): open(/var/php_sessions/sess_c2243998de6ffb993c178330de5896b8, O_RDWR) failed: No such file or directory (2) in /hermes/pathfolder/htdocs/mainfolder/lhc_web/ezcomponents/Authentication/src/session/authentication_session.php on line 205
PHP Warning:  session_write_close(): open(/var/php_sessions/sess_c2243998de6ffb993c178330de5896b8, O_RDWR) failed: No such file or directory (2) in /hermes/pathfolder
20150814T004117: subdomain.mydomain.com/lhc_web/index.php/site_admin/install/install/3
PHP Warning:  session_start(): open(/var/php_sessions/sess_c2243998de6ffb993c178330de5896b8, O_RDWR) failed: No such file or directory (2) in /hermes/pathfolder/htdocs/mainfolder/lhc_web/ezcomponents/Authentication/src/session/authentication_session.php on line 205
PHP Warning:  session_write_close(): open(/var/php_sessions/sess_c2243998de6ffb993c178330de5896b8, O_RDWR) failed: No such file or directory (2) in /hermes/pathfolder
20150814T004134: subdomain.mydomain.com/lhc_web/index.php/site_admin/user/login
PHP Warning:  session_start(): open(/var/php_sessions/sess_c2243998de6ffb993c178330de5896b8, O_RDWR) failed: No such file or directory (2) in /hermes/pathfolder/htdocs/mainfolder/lhc_web/ezcomponents/Authentication/src/session/authentication_session.php on line 205
PHP Warning:  session_write_close(): open(/var/php_sessions/sess_c2243998de6ffb993c178330de5896b8, O_RDWR) failed: No such file or directory (2) in /hermes/pathfolder
20150814T004145: subdomain.mydomain.com/lhc_web/index.php/site_admin/user/login
PHP Warning:  session_start(): open(/var/php_sessions/sess_c2243998de6ffb993c178330de5896b8, O_RDWR) failed: No such file or directory (2) in /hermes/pathfolder/htdocs/mainfolder/lhc_web/ezcomponents/Authentication/src/session/authentication_session.php on line 205

20150814T004146: subdomain.mydomain.com/lhc_web/index.php/site_admin/user/login
PHP Warning:  session_start(): open(/var/php_sessions/sess_c2243998de6ffb993c178330de5896b8, O_RDWR) failed: No such file or directory (2) in /hermes/pathfolder/htdocs/mainfolder/lhc_web/ezcomponents/Authentication/src/session/authentication_session.php on line 205
PHP Warning:  session_write_close(): open(/var/php_sessions/sess_c2243998de6ffb993c178330de5896b8, O_RDWR) failed: No such file or directory (2) in /hermes/pathfolder
20150814T004241: subdomain.mydomain.com/lhc_web/index.php/site_admin/user/login
PHP Warning:  session_start(): open(/var/php_sessions/sess_c2243998de6ffb993c178330de5896b8, O_RDWR) failed: No such file or directory (2) in /hermes/pathfolder/htdocs/mainfolder/lhc_web/ezcomponents/Authentication/src/session/authentication_session.php on line 205

20150814T004242: subdomain.mydomain.com/lhc_web/index.php/site_admin/user/login
PHP Warning:  session_start(): open(/var/php_sessions/sess_c2243998de6ffb993c178330de5896b8, O_RDWR) failed: No such file or directory (2) in /hermes/pathfolder/htdocs/mainfolder/lhc_web/ezcomponents/Authentication/src/session/authentication_session.php on line 205
PHP Warning:  session_write_close(): open(/var/php_sessions/sess_c2243998de6ffb993c178330de5896b8, O_RDWR) failed: No such file or directory (2) in /hermes/pathfolder
20150814T004306: subdomain.mydomain.com/lhc_web/index.php/site_admin/user/login
PHP Warning:  session_start(): open(/var/php_sessions/sess_5377c294493b401611ef825df5c661bc, O_RDWR) failed: No such file or directory (2) in /hermes/pathfolder/htdocs/mainfolder/lhc_web/ezcomponents/Authentication/src/session/authentication_session.php on line 205
PHP Warning:  session_write_close(): open(/var/php_sessions/sess_5377c294493b401611ef825df5c661bc, O_RDWR) failed: No such file or directory (2) in /hermes/pathfolder
20150814T004325: subdomain.mydomain.com/lhc_web/index.php/site_admin/user/login
PHP Warning:  session_start(): open(/var/php_sessions/sess_5377c294493b401611ef825df5c661bc, O_RDWR) failed: No such file or directory (2) in /hermes/pathfolder/htdocs/mainfolder/lhc_web/ezcomponents/Authentication/src/session/authentication_session.php on line 205

20150814T004326: subdomain.mydomain.com/lhc_web/index.php/site_admin/user/login
PHP Warning:  session_start(): open(/var/php_sessions/sess_5377c294493b401611ef825df5c661bc, O_RDWR) failed: No such file or directory (2) in /hermes/pathfolder/htdocs/mainfolder/lhc_web/ezcomponents/Authentication/src/session/authentication_session.php on line 205



----------------------------------- CGI ERROR LOG ENDS --------------------------------------

Last edited by abliss2 (2015-08-14 06:42:03)

Offline

#2 2015-08-14 06:48:22

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Cannot LOGIN (Fresh Subdomain INSTALL. Login screen only refreshes)

Something not right with session settings on your server. Contact with your server admin if there is one smile

Offline

#3 2015-08-15 01:13:37

abliss2
Member
Registered: 2015-08-14
Posts: 3

Re: Cannot LOGIN (Fresh Subdomain INSTALL. Login screen only refreshes)

*** Remdex


Thanks.  I found the solution to the problem on another forum to fix the session setting in the index.php file.  FIXED and WORKING.


INSTRUCTIONS I USED:


PauloV (from another website forum about this LiveHelperChat issue) wrote:

The problem was that the default session directory was not writable, so it can not store session.

To any user that has the same problem, here is the fix:


open the file: [LiveHelperChat instalation folder] /lhc_web/index.php

After the line 9 on the index.php file:


9     ***_set('session.cookie_httponly',1);


add this:

10     ***_set('session.save_path','/tmp'); // to set the default session directory

Hope that help others wink

Regards,

PV

Last edited by abliss2 (2015-08-15 01:27:02)

Offline

#4 2017-07-28 02:49:39

johnpitcairn
Member
Registered: 2017-07-26
Posts: 8

Re: Cannot LOGIN (Fresh Subdomain INSTALL. Login screen only refreshes)

Thanks, this was helpful. We're running in a docker cloud container, where the primary installation is mounted non-writable and /tmp is not accessible. Setting the session save path to a temp directory on a writable mount fixed the problem.

Offline

#5 2017-07-28 07:19:49

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: Cannot LOGIN (Fresh Subdomain INSTALL. Login screen only refreshes)

Thank you johnpitcairn for your feedback and interest in live helper chat  smile
Have a good day and time  wink


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

Board footer