-
-
Notifications
You must be signed in to change notification settings - Fork 230
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
Unable to open admin panel after upgrade to 1.1.0 #699
Comments
There's probably a missing I'm not really able to recreate this situation though as my |
what does your source for css/js look like? mine is like this:
and:
|
I have
I cannot tell what the source for css/js look like because it won't compile the twig file... |
btw I currently have Admin plugin v1.0.10. Dose the plugin version need to match the Grav version? |
Grav and Admin versions are usually the same when there's a major release, otherwise most of the time they go their own way. You definitely want to update Admin to v1.1.1 that was released today. |
I get the same error after upgrading. Here is the list of packages that I have yet to upgrade.
I have |
Strange. Can you do a "View Page Source" and search for |
|
Your site root folder is |
No, as @rhukster pointed out the / is missing between the My site root is |
Maybe we can get a zip of your site to try locally? Also what webserver are you running, if it's not apache, what does your vhost config look like? |
You can grab a zip of my site here.
|
Ok, after updating all the plugins, your zip works fine on my local with apache. I think this is an nginx config issue specifically. can you try this:
|
I don't think it's that honestly, but I need to get an nginx setup local to test more. |
That didn't change anything. I updated all of the plugins and then cleared the cache. I still get the same error. See here. |
I have the same problem and symptoms (missing / in path before user), arisen after upgrading grav and admin to 1.1.1. Tried deleting and reinstalling admin, no benefit. Web server is apache. |
Hmm.. maybe it's not nginx then. It works fine for me on Nginx too. Something else weird is going on. Do you both have |
An exception has been thrown during the rendering of a template ("file_exists(): open_basedir restriction in effect. File(/srv/httpuser/plugins/admin/themes/grav/css-compiled/nucleus.css) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/:/usr/bin)") in "partials/stylesheets.html.twig" at line 1. |
To be fair grav is trying to reach a forbidden location (also one that doesn't exist) |
Can you please try with flavios latest commit. Should fix it |
That fixed it. Thanks. |
I had the exact same issue while upgrading Grav today. That fixed it, thanks so much! |
Not sure why it is trying to go to
/srv/httpuser
, everything is in/srv/http
. Is there a base folder configuration somewhere?The text was updated successfully, but these errors were encountered: