Stuck to login to the back office after fresh install

423 views
Skip to first unread message

Théo stfl-pro

unread,
Dec 29, 2020, 12:34:34 PM12/29/20
to Easy!Appointments - Support Group
Hello,
I'm annoyed because I have to deploy an appointment manager on a website. I chose EASY!APPOINTMENT because I thought it was simple, aesthetic and Open-Source! But every time I install it I get stuck at this step ... I put my login and I can't access the Back Office... I can't find help so I try this way, if someone can help me. (To deploy the server I used several methods : private server, GCP and Azure Cloud)

Thanks a lot :)


Capture d’écran 2020-12-29 à 18.30.59.png

Alex Tselegidis

unread,
Jan 4, 2021, 7:08:30 AM1/4/21
to Easy!Appointments - Support Group
Hello! 

There must be an error somewhere since you cannot log in. 

Enable the debug mode from inside the root config.php file and try again. 

Check in the storage/logs folder for more info and post them here. 

The browser devtools may also contain more information. 







  Alex Tselegidis, Easy!Appointments Creator
  Need a customization? Contact me in person!



Théo stfl-pro

unread,
Jan 8, 2021, 2:30:35 AM1/8/21
to Easy!Appointments - Support Group
Hello!
Thank you Alex for your answer :)

I followed your advice and in config.php I have turn the debug mode to true.
And now I see the error.


I have this type of error ...

A PHP Error was encountered

Severity: Warning

Message: session_start(): Failed to initialize storage module: user (path: /var/www/html/application/config/../../storage/sessions)

Filename: Session/Session.php

Line Number: 143


what's weird because when I use MAMP on windows I don't have any problem....

In the google group I try to find this type of error but I don't find any solution..

Can You help me please, if it's possible of course, (or just I'm unlucky 😂). 


/ Sorry for any mistakes in this conversation, I'm not an English native speaker. :) /


Thanks a lot !




Théo stfl-pro

unread,
Jan 8, 2021, 2:31:04 AM1/8/21
to Easy!Appointments - Support Group
Capture d’écran 2021-01-08 à 08.25.38.png

Alex Tselegidis

unread,
Jan 13, 2021, 10:26:53 AM1/13/21
to Easy!Appointments - Support Group
Please make sure the storage directory is writable on your server (set the permissions to 777 or the folder owner to www-data or similar - that depends from your setup).







  Alex Tselegidis, Easy!Appointments Creator
  Need a customization? Contact me in person!



Jean-Marie-Mathieu Bremont

unread,
Jan 14, 2021, 4:07:04 AM1/14/21
to Easy!Appointments - Support Group
Hello,

got the same error.
/var/www/html/application/storage is writable for all (permission set to 777), but not solved.

Regards,

Jean-Marie-Mathieu Bremont

unread,
Jan 15, 2021, 10:54:01 AM1/15/21
to Easy!Appointments - Support Group
Hello,

i find a way to pass through : using /var/sessions instead of /var/www/html/storage/sessions
Same permissions granted, but it works.

Regards,

Alex Tselegidis

unread,
Jan 19, 2021, 3:50:38 AM1/19/21
to Easy!Appointments - Support Group
If you are getting the following error: 

Message: session_start(): Failed to initialize storage module: user (path: /var/www/html/application/config/../../storage/sessions)

Then the app cannot write to your session directory.  

I cannot tell which changes you've made on your server but they weren't successful. 







  Alex Tselegidis, Easy!Appointments Creator
  Need a customization? Contact me in person!


Francisco Alvarez

unread,
Jan 21, 2021, 5:34:15 PM1/21/21
to Easy!Appointments - Support Group
Hi Alex, thank you for all the work you've done!  

I also have the same error...  I'm running a Centos 8 box with Apache on it.  These are the rights on the easyappointments directory:

/var/www/XXXX/easyappointments
drwxrwxrwx.  7 apache apache   215 Jan 21 13:50 easyappointments

drwxrwxrwx. 11 apache apache   179 Dec 17 16:47 application
drwxrwxrwx.  6 apache apache    67 Dec 17 16:47 assets
-rwxrwxrwx.  1 apache apache 11739 Dec 17 16:47 CHANGELOG.md
-rwxrwxrwx.  1 apache apache  1472 Dec 17 16:47 composer.json
-rwxrwxrwx.  1 apache apache  2232 Jan 18 15:00 config.php
drwxrwxrwx.  5 apache apache    69 Dec 17 16:47 engine
-rwxrwxrwx.  1 apache apache 11040 Dec 17 16:47 index.php
-rwxrwxrwx.  1 apache apache 35141 Dec 17 16:47 LICENSE
-rwxrwxrwx.  1 apache apache  4551 Dec 17 16:47 README.md
drwxrwxrwx.  7 apache apache    77 Dec 17 16:47 storage
drwxrwxrwx. 15 apache apache   231 Dec 17 16:47 vendor

drwxrwxrwx. 2 apache apache 41 Dec 17 16:47 backups
drwxrwxrwx. 2 apache apache 41 Dec 17 16:47 cache
drwxrwxrwx. 2 apache apache 41 Dec 17 16:47 logs
drwxrwxrwx. 2 apache apache 41 Dec 17 16:47 sessions
drwxrwxrwx. 2 apache apache 24 Dec 17 16:47 uploads

I know the username and passwords are right as I'm able to use them on phpmyadmin and see the files there.  I've tried several installs on various sites and they all gave me the same trouble.

Thanks again,

Frank

Alex Tselegidis

unread,
Feb 1, 2021, 3:49:17 AM2/1/21
to Easy!Appointments - Support Group
@Frank

If the credentials are right, then maybe the host or database are wrong. 

Once you find them go and update the root config.php file. 







  Alex Tselegidis, Easy!Appointments Creator
  Need a customization? Contact me in person!



Francisco Alvarez

unread,
Feb 9, 2021, 3:29:33 PM2/9/21
to Easy!Appointments - Support Group
Thank you Alex.

Francisco Alvarez

unread,
Apr 8, 2021, 10:09:13 AM4/8/21
to Easy!Appointments - Support Group
Hello Alex, 

I know some "newbies" (like me) may still be having similar issues.  I finally got things working accessing the backend after fresh install.  I'm not sure what may have done it, it could have been one of the 2 things I did.

1. Installed a self signed SSL certificate on my local environment.
2. Changed rights on SELINUX for the directory as follows:  sudo chcon -R -t httpd_sys_rw_content_t /path

I hope this helps.

Frank
On Monday, February 1, 2021 at 2:49:17 AM UTC-6 alextse...@gmail.com wrote:

Alex Tselegidis

unread,
Apr 12, 2021, 6:33:33 AM4/12/21
to Easy!Appointments - Support Group
Hello! 

Correct SELINUX may oppose additional security configuration that will block the app from making changes to the "storage" directory. 

In case you are using SELINUX, make sure that permissions are properly set otherwise the app will not work properly. 


  Alex Tselegidis, Easy!Appointments Creator
  Need a customization? Contact me in person!


Reply all
Reply to author
Forward
0 new messages