Page 1 of 1

File upload fails with error 503

Posted: 01 Jan 2006, 19:46
by Mophilly
Cannot upload files to Docs nor as attachments to reports.

I have made some progress, hitting error 503 after a working past the "file not readable" alert. Still no joy yet.

Any links, suggestions or comments are greatly appreciated, especially from any current or former SME (e-smith) users.

TIA,
- mophilly

====

Here is the error:
#503
Invalid upload path. Directory either does not exist or not writable to webserver
Here is my set up:

SME Server
6.0 running on Linux (RH 7.x I think)
The SME virtual directory "tracker" has been given a PHP base dir for tmp. The tmp directory exists, owner is "www", group is "www" and permission is 777.

Mantis
v1.0.0rc4
config_inc.php contains these settings:
$g_allow_file_upload = ON;
$g_file_upload_method = DISK;
$g_allowed_files = '';
$g_disallowed_files = '';
$g_document_files_prefix = 'doc';
$g_absolute_path_default_upload_folder = '/home/e-smith/files/ibays/tracker/files/uploads/';

The test project has an upload path defined; same as above.

PHP
- PHP is allowing uploads because I have another app on the same server that handle uploads with ease. However, I can't say that I am _certain_ all the PHP + virtual directly settings are in order.

Posted: 11 Jul 2006, 07:57
by Passer
any suggestions?

I have the same problem but with windows

Re: File upload fails with error 503

Posted: 11 Jul 2006, 14:19
by Mophilly
Per a note on the mailing list, I changed the $g_file_upload_method parameter to "DATABASE". Now everything is working fine.