Unable to upload attachments

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
anshulmadaan
Posts: 5
Joined: 26 Mar 2008, 05:53

Unable to upload attachments

Post by anshulmadaan »

I tried all three options DISK,FTP and Database none is working

Following are the settings

$g_file_upload_method = DISK; <------I have also tried FTP and databse

# When using FTP or DISK for storing uploaded files, this setting control
# the access permissions they will have on the web server: with the default
# value (0400) files will be read-only, and accessible only by the user
# running the apache process (probably "apache" in Linux and "Administrator"
# in Windows).
# For more details on unix style permissions:
# http://www.perlfect.com/articles/chmod.shtml
$g_attachments_file_permissions = 0400;

# FTP settings, used if $g_file_upload_method = FTP
$g_file_upload_ftp_server = 'https:\\******.com'; <----------------site name encryted for now
$g_file_upload_ftp_user = 'my R/W ftp uname';
$g_file_upload_ftp_pass = 'my password';

# Maximum file size that can be uploaded
# Also check your PHP settings (default is usually 2MBs)
$g_max_file_size = 2000000; # 2 MB

# Files that are allowed or not allowed. Separate items by commas.
# eg. 'php,html,java,exe,pl'
# if $g_allowed_files is filled in NO other file types will be allowed.
# $g_disallowed_files takes precedence over $g_allowed_files
$g_allowed_files = '';
$g_disallowed_files = '';

# prefix to be used for the file system names of files uploaded to projects.
# Eg: doc-001-myprojdoc.zip
$g_document_files_prefix = '';

# absolute path to the default upload folder. Requires trailing / or \
$g_absolute_path_default_upload_folder = '//myipaddress/test/upload/'; <------------------Upload folder has Write access

Can someone please let me know if there ar any issues with the format of g_file_upload_ftp_server or $g_file_upload_ftp_server , i am using or is there any thing else need to do.
It would be great if someone whose upload is working can paste the extract from his Config_default_inc
deboutv
Posts: 507
Joined: 15 Jan 2007, 14:31
Location: La Ciotat, FRANCE
Contact:

Re: Unable to upload attachments

Post by deboutv »

What is the error reported by Mantis?
Want more plugins to customize Mantis?
=> http://deboutv.free.fr/mantis/

Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
Post Reply