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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Installation & Hosting

Grav in a shared host environment; admin directory & .htaccess not found

Started by Brian Cragun 9 years ago · 26 replies · 3582 views
9 years ago

Maybe we'll find out where the problem is! — feeling excited

9 years ago

Well.. first of all I should let you guys know that I'm running the High Sierra beta, so I'm using Safari 11. I don't have a machine with whatever production version of Safari is out there, so my tests may be invalid.

The password tooltip:

"Password must contain at least one number and one uppercase and lowercase letter, and at least 8 or more characters"

appears in the source for the admin register page, it just seems like Safari isn't picking it up 🤷‍♂️

This is starting to get a bit of topic so hopefully we'll be able to get @cragun sorted out at some point 😎

edit: also this will work

@andy:
delete the user.yaml file in user/accounts/ (it will be named after your user, for me it was andy.yaml) to force the admin to prompt for a new admin user

last edited 07/25/17 by NOT Andy Miller
9 years ago

Hey,

Reporting back. I'm able to create the problem at will. (BTW, deleting the .yaml file worked great.)

Set up:
Upload grav .zip file; unzip on server.
OSX: Sierra 10.12.3
Safari: Version 10.0.3
Directory: www.mysite.com/Documents/grav2/grav-admin

When I go to the root directory for the first time, I get routed to the admin screen to create the first user.

When I type in the password (incorrectly formed) and tab to the next field, I see no error message at all. (Image below)
<img src="//cdck-file-uploads-canada1.s3.dualstack.ca-central-1.amazonaws.com/flex036/uploads/getgrav/original/1X/d205c308b15e668e33f133e1c8653090137d72c6.png" width="644" height="500">
IMO, an error message should appear if the password is not acceptable the minute that field loses focus. (BTW, I didn't use that password...)

I don't get a message on leaving the second field. (Image below)
<img src="//cdck-file-uploads-canada1.s3.dualstack.ca-central-1.amazonaws.com/flex036/uploads/getgrav/original/1X/2194f5e1100d6b81ed411c93e82bbe8b4c2d34e8.png" width="615" height="500">

I don't get a message when I press Create User. There is a little bit of a flash (like the page gets reloaded) and the save password prompt appears at the top of the browser (image 3). And I have to fill in the form again. A .yaml file has not been created.
<img src="//cdck-file-uploads-canada1.s3.dualstack.ca-central-1.amazonaws.com/flex036/uploads/getgrav/original/1X/00df4a644d4ad8844cd1f563467e17c4abc06393.png" width="645" height="500">

I can repeat this forever, and a user never gets created.

As mentioned, this all works on Chrome. Shall I open a defect report?

Regards,

Brian

9 years ago

Things are running quite smoothly, I can add and display content pages. The only thing I'm noticing is an error message every time I enter the admin console:

403 Forbidden
Forbidden
You don't have permission to access /home/cragun/public_html/Documents/grav2/grav-admin/admin/notifications.json/task:processNotifications
on this server.
Additionally, a 403 Forbidden
error was encountered while trying to use an ErrorDocument to handle the request.

Trying to figure out a way to fix this without CLI.

9 years ago

@cragun:
Things are running quite smoothly

Cool, we're getting there! 😎

@cragun:
an error message every time I enter the admin console

Your 403 could be something like this, or the issue that is documented here from this discussion.

9 years ago

Definitely a bug that the admin create user page is not displaying errors on submit. I'll make sure that issues gets fixed.

👍 2

Suggested topics

Topic Participants Replies Views Activity
Installation & Hosting · by antoinep, 13 hours ago
5 60 7 hours ago
Installation & Hosting · by Jürgen Dietrich, 7 months ago
0 62 7 months ago
Installation & Hosting · by rappluk, 8 months ago
0 62 8 months ago
Installation & Hosting · by N, 12 months ago
3 72 12 months ago
Installation & Hosting · by Youle, 1 year ago
1 61 1 year ago