getkirby-v2 / panel

This is the deprecated admin panel for Kirby v2.
http://getkirby.com
Other
134 stars 70 forks source link

Permission Error (Seemingly Invalid) in Panel on 2nd tier sub-pages (IE projects -> project-a) #73

Closed crispconcepts closed 10 years ago

crispconcepts commented 10 years ago

I loaded the default beta starterkit onto a vhost, where I encountered a permissions error. Upon adjustinsg the content directory, all subdirectories and all files I still get the permissions error. However, it only occurs on 2nd tier items.

For instance, I can edit the About page details, or the Project page details, Site info, etc. But when I click on a Sub-page, either existing (Project-A, B or C) or newly created of one of the main pages, I encounter an error.

I attempted to load it onto my personal webserver and attempt it that way. By default permissions were 755 (Directory) and 744 (Files). Error still occurred. I changed to 755/766 and 755/666. Error still occurred.

I haven't seen anyone else with this issue, so perhaps it's user error? Though surely setting all permissions for all groups to Read, Write, Execute on my localhost would resolved the lack of permissions?

Could it be something to do with the url being generated? Is this improper subpage url formatting?

/panel/#/?uri=projects works.. /panel/#/?uri=projects%2Fproject-a does not work.. (default) /panel/#/?uri=projects/project-a does not work.. (non-encoded slash)

kirby panel 2014-05-19 14-17-07

crispconcepts commented 10 years ago

I was running any early 4.3 version of PHP (4.3.1 I believe). I recalled seeing in the spec 4.3 was required and 4.4 was recommended in general, so I thought perhaps an upgrade was overdue anyway. Sure enough it appears to have resolved the issue. I guess no one else had this issue because they kept their server up to date. :)