Able to add ability to upload?

151 views
Skip to first unread message

Stephen Jones

unread,
Aug 27, 2015, 4:00:48 PM8/27/15
to LibraryBox
My organization is looking at LB for classrooms in hard to reach places. We 're not able to get files to upload through a couple php scripts, attached. Here's the errors:

================
Warning: move_uploaded_file(/Shared/uploads/test.png): failed to open stream: No such file or directory in /mnt/usb/LibraryBox/Content/upload2.php on line 25

Warning: move_uploaded_file(): Unable to move '/tmp/phptA6NX1' to '/Shared/uploads/test.png' in /mnt/usb/LibraryBox/Content/upload2.php on line 25
ERROR: File not uploaded

Check folder permissions on the target uploads folder is 0755 or looser.

Check that your php.ini settings are set to allow over 2 MB files, they are 2MB by default.

===============



Can anyone tell me what we're doing wrong?
upload.html
upload.php
upload2.php
Message has been deleted

Stephen Jones

unread,
Aug 27, 2015, 4:45:36 PM8/27/15
to LibraryBox
Sorry, I'd never used Google Groups before and didn't notice the Search function. Haha, my goof! I see now that we needed to enable the DROOPY function.

Matthias Strubel

unread,
Sep 12, 2015, 9:51:55 AM9/12/15
to libra...@googlegroups.com
And to fix your error message, if you don't want to use droopy, you need to edit /etc/php.ini which contain the tmp location etc.

But I guess using droopy solved the issue.

regards Matthias

--
You received this message because you are subscribed to the Google Groups "LibraryBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to librarybox+...@googlegroups.com.
To post to this group, send email to libra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/librarybox/a12baa3e-1a01-4196-83fc-5be787d5a563%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Stephen Jones

unread,
Sep 21, 2015, 12:21:06 PM9/21/15
to LibraryBox
Thanks for the lead, I'm looking back into using our script if I can instead of droopy so we can have some more customization of it... except I don't know anything about PHP and the guy who wrote it is out of the office for the next week. Wish me luck
Reply all
Reply to author
Forward
0 new messages