Skip to content
Grav 2.0 is officially stable. Read the announcement →
Plugins

Multisite admin redirects to 404 page after saving changes

admin

Started by Jordi Clotet de Frutos 4 years ago · 3 replies · 772 views
4 years ago

Hi there,
I recently noticed an strange behavior in all my multisite sites. It happens in all sites (inside 'sites/' folder or 'env/' folder). The main site works fine.

In the 'Configuration' section or 'Themes' section, after making some change and trying to save it, the page is redirected to 404 page. For some reason after clicking 'Save' the url duplicates the text '/admin/admin' and therefore the url can't be found.

image|690x488

I'm using:
Grav version -> 1.7.27
Plugin admin -> 1.10.27

In my local machine I tried with an older version of the 'admin plugin' and it works fine:
Grav version -> 1.7.20
Plugin admin -> 1.10.20
This way works everything fine

I assume that may be some issue with the admin plugin between version 1.10.20 and 1.10.27

Well, I don't know if anybody else noticed this problem and is general or it is my particular case.
Any help is welcome.
Best,

last edited 01/25/22 by Jordi Clotet de Frutos
4 years ago

Hi,
trying to identify the origin of this error I installed a fresh copy of Grav 1.7.29 with admin 1.10.29. I created the setup.php file to transform it into a multisite, according to Grav documentation, I didn't add anything else. Default configuration, default theme, etc.. Everything as it comes with Grav.

And hitting SAVE under the Configuration section the error appears:

The URL duplicates the text 'admin' and appears the 404 page
......../admin/admin/config/system
screenshot-grav-admin-v1.7.29.sandbox-2022.01.31-13_58_14|690x479

Replicating the same process with Grav 1.7.20 with admin 1.10.20, everything works fine, Changes are saved as expected and no error is showed.

There is nothing added by my side in both cases. It must be some bug in the code .. ?¿
Nobody else has this problem?

last edited 01/31/22 by Jordi Clotet de Frutos

Suggested topics

Topic Participants Replies Views Activity
Plugins · by Rene, 1 week ago
2 80 1 week ago
Plugins · by Xavier, 4 weeks ago
2 84 4 weeks ago
Plugins · by Luka Prinčič, 7 years ago
3 1210 1 month ago
Plugins · by Sebastian van de Meer, 1 month ago
1 77 1 month ago
Plugins · by PIERROT Alain, 2 months ago
3 103 2 months ago