Closed Markyb0y closed 14 years ago
It looks like your "/Library/WebServer/Documents/data/image/movies/poster/" is not writable from PHP, make sure the directory has write permissions to the php or web server's user and try again! It will be taking a while as theres no error checking there, so each time it fails to download the image it will be going on to the next one rather than quitting until the error has been fixed.
Hi Sixones,
the folder has read and write access for everyone, _www and admin via OSX security properties, but I can try using chmod 777 via terminal later when I get back
thanks for taking the time to respond and the great code :)
how is the Ruby version coming along? you were hoping to have something out a couple of months back but I have not seen anything yet.
MarkyBoy
You should chmod 777 on /Library/WebServer/Documents/data and its children, not sure why its not working with the permissions you have set via OSX though. Its possible PHP runs as a different user to www (though the everyone rule should pick that up).
Hmmm, still not working, I am going to reinstall from scratch again, which files can I save so that I dont have to enter all my shows and movies again?
You can keep all the XML files from inside the data folder, these store your preferences and list of shows / movies.
Hi Sixones,
when I run an update manually it takes nearly 15 minutes and says there is nothing to update. when it runs via the plist file I see this in the console (I am on OSX BTW) I see the permission denied error but the 2 paths are fully available to everyone? any idea? the check seems to be running fine as the dashboard gets updated every 15 minutes
thanks in advance
MarkyBoy
8/4/10 9:54:59 PM org.sixones.nzbvr.update[3918] <!DOCTYPE html> 8/4/10 9:54:59 PM org.sixones.nzbvr.update[3918] 8/4/10 9:54:59 PM org.sixones.nzbvr.update[3918]
8/4/10 9:54:59 PM org.sixones.nzbvr.update[3918] 8/4/10 9:54:59 PM org.sixones.nzbvr.update[3918] 8/4/10 9:54:59 PM org.sixones.nzbvr.update[3918]8/4/10 9:54:59 PM org.sixones.nzbvr.update[3918]
8/4/10 9:54:59 PM org.sixones.nzbvr.update[3918] 8/4/10 9:54:59 PM org.sixones.nzbvr.update[3918] 8/4/10 9:54:59 PM org.sixones.nzbvr.update[3918] 8/4/10 9:54:59 PM org.sixones.nzbvr.update[3918]
Picnic caught a 'ErrorException'
8/4/10 9:54:59 PM org.sixones.nzbvr.update[3918]8/4/10 9:54:59 PM org.sixones.nzbvr.update[3918]
fopen(/Library/WebServer/Documents/data/image/movies/poster/iron-man-2-original.jpg): failed to open stream: Permission denied
8/4/10 9:54:59 PM org.sixones.nzbvr.update[3918]8/4/10 9:54:59 PM org.sixones.nzbvr.update[3918]
The exception was thrown from '/Library/WebServer/Documents/application/classes/class.localstore.php' line 34 8/4/10 9:54:59 PM org.sixones.nzbvr.update[3918] .
8/4/10 9:54:59 PM org.sixones.nzbvr.update[3918]8/4/10 9:54:59 PM org.sixones.nzbvr.update[3918]
Trace:
8/4/10 9:54:59 PM org.sixones.nzbvr.update[3918] 8/4/10 9:54:59 PM org.sixones.nzbvr.update[3918]