hicklemr / rtgui

Automatically exported from code.google.com/p/rtgui
0 stars 1 forks source link

Upload error message is not very useful #67

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When uploading a file, the error message when something goes wrong is not
very useful in helping you debug where it goes wrong.

I've attached a patch to modify control.php to show a more descriptive
message of what went wrong. (I hope I made the patch correctly.)

Original issue reported on code.google.com by JaAc...@gmail.com on 23 Jan 2009 at 1:29

Attachments:

GoogleCodeExporter commented 8 years ago
The only real problem that happens is that the webserver user cannot write to 
the 
rtorrent watch directory. To fix it, chmod a+rw ~/WatchDir/

Have you (or any other rtGui users) really seen any the other errors generated 
on a 
properly conifured webserver? - max file size is 2Mb - have you ever seen a 
.torrent 
that big?!  Ever seen 'Stopped by extension'?

I don't like to add code without real reason as it adds to the complexity.

If any rtGui users have problems with adding .torrent files let us know!

-Simon

Original comment by lemonbe...@gmail.com on 24 Jan 2009 at 1:19

GoogleCodeExporter commented 8 years ago
"properly configured webserver"? This looks like the kind of app people would 
run on
their own stuff. And it doesn't really add to the complexity >.>

All it does is add a descriptive message. You can replace the whole switch 
statement
with the number of the error, then people could look it up themselves. 

Original comment by JaAc...@gmail.com on 24 Jan 2009 at 2:16

GoogleCodeExporter commented 8 years ago

Original comment by lemonbe...@gmail.com on 13 Feb 2009 at 6:57