Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

login page 404 error/no panel #113

Open
NullRien opened this issue Sep 6, 2020 · 9 comments
Open

login page 404 error/no panel #113

NullRien opened this issue Sep 6, 2020 · 9 comments

Comments

@NullRien
Copy link

NullRien commented Sep 6, 2020

when i set password login to true the page is keep giving me a 404 not found error for the register page. also when i only used ip whitelisting all i saw was the page name and not the panel itself.

@theaquarium
Copy link
Collaborator

I'm not entirely sure what's wrong here but it's likely that you don't have all of your Apache and PHP modules enabled. Could you send your error log?

@NullRien
Copy link
Author

@theaquarium
Copy link
Collaborator

I'm not entirely sure what's causing the 404 error but the error on the main page is being caused by not having the fileinfo extension enabled in your php.ini configuration file. Make sure to remove the semicolon before any lines that look like extension=fileinfo.so or extension=php_fileinfo.dll or extension=fileinfo in your php.ini.

@Takepy
Copy link

Takepy commented Oct 7, 2020

I'm having the same issue when setting enable_password_login to true.
@NullRien Did you ever find a solution to this?

@theaquarium
Copy link
Collaborator

I have a theory about what might be causing this and I believe there was a fix for this pushed to the repo, I'm just waiting for @JoeGandy to accept the most recent PR so I can release a new version.

@theaquarium
Copy link
Collaborator

Based on your error log, I’m pretty sure this is actually an error with your configuration and not the uploader. As I mentioned before, I believe the issue is that the fileinfo extension is not enabled. Here’s a guide on how to turn it on: https://stackoverflow.com/questions/3579072/php-fileinfo-is-undefined-function

@Takepy
Copy link

Takepy commented Oct 19, 2020

I hope it's okay if I reply here since I'm having the same issue.
I decided to reinstall PHP (now running on 7.4.11) and checked to see if the modules are loading using php -m

root@PJSalt:~# php -m
[PHP Modules]
...
fileinfo
...

Furthermore, I created a file that invokes phpinfo();
Running that shows as well that fileinfo is being loaded.
fileinfo support enabled

So it doesn't seem to be a fileinfo issue.

@Takepy
Copy link

Takepy commented Oct 19, 2020

I found out what was causing the issue for me.
Inside /etc/apache2/apache2.conf I had to change the AllowOverride from None to All for <Directory /var/www/>
This is what it should look like.

<Directory /var/www/>
	Options Indexes FollowSymLinks
	AllowOverride All
	Require all granted
</Directory>

After then restarting apache (service apache2 restart) it has been working without a problem and I'm now able to use the login.

@theaquarium
Copy link
Collaborator

Great, that might be the problem too. However, I think for @NullRien, based on the error log they sent, it's the issue with fileinfo. However they should still check both.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants