- Posts: 15
Question Control Panel gets a 404 error
- thezfunk
- Topic Author
- Offline
- New Member
Just like the title, I upgraded to 2.0 and now 2.0.1 and since going to 2.0 the control panel page just shows a 404 error.
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
2) did you set the `base_url` correctly in data/config.ini.php
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- thezfunk
- Topic Author
- Offline
- New Member
- Posts: 15
I set the base URL in config.ini.php to: base_url=" mywebsite.com/webtrees "
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
Try clearing the cookies in your browser?
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- thezfunk
- Topic Author
- Offline
- New Member
- Posts: 15
Please Log in or Create an account to join the conversation.
- thezfunk
- Topic Author
- Offline
- New Member
- Posts: 15
admin page takes me to:
There is no admin folder in the webtrees folder anymore...
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
Pretty URLs do not correspond to folders.
webtrees receives "/admin", and runs the script to create the page.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- thezfunk
- Topic Author
- Offline
- New Member
- Posts: 15
Is that why it isn't working?
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
It could be generated by your browser.
It could be generated by your server.
It could be generated by webtrees.
Can you give us more details. At the moment, we're really working in the dark.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- thezfunk
- Topic Author
- Offline
- New Member
- Posts: 15
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
Is it just the admin page?
Does everything else work?
Do you have any other applications installed?
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- thezfunk
- Topic Author
- Offline
- New Member
- Posts: 15
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
It looks like a custom 404 page created by your server.
You said you are using pretty URLs.
If that's true, then webtrees will redirect unknown URLs to the home page.
My guess is that you have some other server configuration that is mapping these URLs.
Here's a quick test:
Edit one line in this file, and change /admin to /foo
github.com/fisharebest/webtrees/blob/2.0...s/WebRoutes.php#L197
webtrees will now use /foo in place of /admin
Are you now able to view the admin pages?
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- thezfunk
- Topic Author
- Offline
- New Member
- Posts: 15
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
Could this be some sort of security system?
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- thezfunk
- Topic Author
- Offline
- New Member
- Posts: 15
I have this running on my Synology NAS web service which is running Apache 2.4 and PHP version 7.3
I am using MariaDB 10 as the database server.
Maybe I don't have the DB user with enough permissions or something?
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
This is (almost) certainly something in your apache configuration.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- kiwi
- Offline
- Platinum Member
Nigel
www.our-families.info
Please Log in or Create an account to join the conversation.