mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2026-04-25 15:05:56 +03:00
[GH-ISSUE #77] v2 Data directory not writable #56
Labels
No labels
Feature request
Feature request
bug
cant reproduce
enhancement
help wanted
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/pictshare#56
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @feruzm on GitHub (Dec 27, 2018).
Original GitHub issue: https://github.com/HaschekSolutions/pictshare/issues/77
I am trying out v2 of pictshare and I noticed that upload page is not hidden if I enable
define('UPLOAD_FORM_LOCATION', 'secret/upload');also I get this error, any idea what folder needs some modification or what kind of permission change is necessary?
@geek-at commented on GitHub (Dec 27, 2018):
Well is your data directory writable for your webservers user? for testing you could chmod -R 777 data/ from within the root directory of pictshare
UPLOAD_FORM_LOCATION is not yet implemented
@feruzm commented on GitHub (Dec 27, 2018):
that fixed it thanks!

got another
@geek-at commented on GitHub (Dec 27, 2018):
very interesting. Can you upload the same file on our dev server https://dev.pictshare.net/ to see if it's a problem with your local installation?
@feruzm commented on GitHub (Dec 27, 2018):
yes, looks like it is local installation issue
uploaded to your dev server but to local one not working
@geek-at commented on GitHub (Dec 27, 2018):
Ok I see you need to change your max upload settings since the file is too big for PHPs and Nginx default values
upload_max_filesizeandpost_max_sizeto a larger valueclient_max_body_size 20M;to your nginx config file for your pictshare instance. I also added this now in the install guideThanks for testing!
@feruzm commented on GitHub (Dec 27, 2018):
great, thanks! 🙏