View Issue Details

IDProjectCategoryView StatusLast Update
0007882mantisbtadministrationpublic2011-08-05 02:36
Reportercamel23 Assigned Toatrol  
Status closedResolutionunable to reproduce 
Summary0007882: file upload problems

I am having the following issues.
1)With file_upload_method = DATABASE; and allowed_files and disallowed_files set to '' I can upload only certain file types. .txt and .html files upload fine but any other type gets me this:

Database query failed. Error received from database was 0000206: Operand type clash: text is incompatible with image for the query: INSERT INTO mantis_bug_file_table
(bug_id, title, description, diskfile, filename, folder, filesize, file_type, date_added, content)
(6, '', '', ' b4f18e5784e31014fe3f4b0279f3cac9', 'helmet.jpg', ' ', 150537, 'image/jpeg', '2007-04-05 03:23:38PM', 'ÿØÿà\0JFIF\0\0\0d\0d\0\0ÿì\0Ducky\0\0\0\0\0L\0\0ÿî\0Adobe\0dÀ\0\0\0ÿÛ\0„\0...etc.

I tried to switch to DISK for the upload method, but setting the absolute_path_default_upload_folder doesn't seem to work. I get APPLICATION ERROR #503 Invalid upload path.
I had $g_absolute_path_default_upload_folder = 'C:\Inetpub\wwwroot\mantis\test2';
I would like to use the DISK option, but my attempts to correct this have gone in vain. Any and all help would be appreciated.

TagsNo tags attached.




2007-04-10 15:53

reporter   ~0014329

Okay, I resolved the DATABASE upload issue and everything is working well. I found information in the forum that helped me. Also had an issue with the summary page, but found information on that in the forum also! Now if I could just get the DISK upload to work, my experience will be complete.



2011-01-04 13:48

developer   ~0027799

camel23, this issue is not reproducible with current version of MantisBT.
Feel free to reopen the issue if there are still problems after upgrading.