You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 19, 2020. It is now read-only.
NOT a PHP coder by any stretch, so my answer is definitely a kludge.
After getting the ArchLinux/nginx running, I got the script to work but NOT find my img file. My brute force answer was to move the directory containing the images ("/etc/osid//imgroot") to a subdir of the http folder ("/etc/osid/www/public_html/imgroot")
I then changed the code in index.php as follows:
// $ImageFiles = scandir('/etc/osid/imgroot');
$ImageFiles = scandir($_SERVER['DOCUMENT_ROOT'] . '/imgroot');
Looking fwd to using it now!
The text was updated successfully, but these errors were encountered:
Ok, I had to also change the path in the "/etc/osid/system/write.sh". Plus, I broke the file sizer for the image size. Go figure...
Darn. I get stuck at the popup window that says "Connecting to image write sub-system... "
progress.info is null
-status.info is 1
So... I think it's starting the write.sh file, but it's not getting the the "set the status of the job to two (in progress). Sigh^2. Well, I'll eval it again later.
It's also possible to slightly widen the open_basedir restriction in /etc/php5/fpm/php.ini to be :/etc/osid
and it will be able to read the image files in the original location.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
NOT a PHP coder by any stretch, so my answer is definitely a kludge.
After getting the ArchLinux/nginx running, I got the script to work but NOT find my img file. My brute force answer was to move the directory containing the images ("/etc/osid//imgroot") to a subdir of the http folder ("/etc/osid/www/public_html/imgroot")
I then changed the code in index.php as follows:
// $ImageFiles = scandir('/etc/osid/imgroot');
$ImageFiles = scandir($_SERVER['DOCUMENT_ROOT'] . '/imgroot');
Looking fwd to using it now!
The text was updated successfully, but these errors were encountered: