Login to zpanel gives Invalid Token problem!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×
A question can only have one accepted answer. Are you sure you want to replace the current answer with this one?
You previously marked this answer as accepted. Are you sure you want to unaccept it?
You surely have a session permission problem. If you check your /var/log/httpd/error_log you will see that you have an error 13 in the permissions of your zpanel directory.
This is a permission error and I got it long time ago by using mpm-itk in httpd. I had asterisk on the same box and wanted to add zpanel as well to get some domains up. I used itk to have asterisk run under the user “asterisk”, while the vhosts run under the “apache”.
When you use an additional package which changes the user running your sessions, you get issues like that. My solution was to use mpm-itk and have the zpanel vhost run under root, while asterisk and its web platform were run by user “asterisk” and the other vhosts created by zpanel run by user “apache”.
I do not have this problem but, maybe this will help:
Let us know if it does. :)