File upload fails with error 503

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
Mophilly
Posts: 69
Joined: 24 Feb 2005, 23:47
Location: California
Contact:

File upload fails with error 503

Post 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.
Passer
Posts: 3
Joined: 10 Jul 2006, 19:52
Contact:

Post by Passer »

any suggestions?

I have the same problem but with windows
Mophilly
Posts: 69
Joined: 24 Feb 2005, 23:47
Location: California
Contact:

Re: File upload fails with error 503

Post by Mophilly »

Per a note on the mailing list, I changed the $g_file_upload_method parameter to "DATABASE". Now everything is working fine.
Post Reply