View Issue Details

IDProjectCategoryView StatusLast Update
0001973mantisbtbugtrackerpublic2003-12-13 04:59
Reportercooke_j Assigned Toprescience  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionno change required 
PlatformWintelOSW2KOS Version0.17.1
Product Version0.17.2 
Summary0001973: File Upload Error
Description

Cannot upload file

Steps To Reproduce

Browse to file, selct and press upload button

Additional Information

Warning: stat failed for c:winnttempphp1AB2.tmp (errno=2 - No such file or directory) in D:mantis-0.17.2bug_file_add.php on line 30
ERROR: FAILED QUERY: INSERT INTO mantis_bug_file_table (id, bug_id, title, description, diskfile, filename, folder, filesize, file_type, date_added, content) VALUES (null, 0000230, '', '', 'd:MantisFileStoreMantis/0000230-STATS.LOG', '0000230-STATS.LOG', 'd:MantisFileStoreMantis/', , 'application/octet-stream', NOW(), '') :
1064: You have an error in your SQL syntax near ' 'application/octet-stream', NOW(), '')' at line 4

TagsNo tags attached.

Activities

prescience

prescience

2002-05-19 12:10

reporter   ~0002586

Check and see if you have permission to read from the folder.

cooke_j

cooke_j

2002-05-20 01:08

reporter   ~0002604

Yep, it was from my own local HDD

jc

prescience

prescience

2002-05-21 18:19

reporter   ~0002628

If you're using NT/2K it doesn't matter if it's your local drive. Does the user that webserver is running as have permission to read from the folder? I ran into the same type of error when uploading on a Win2k setup. Albeit, the error message seems different.

Otherwise it's likely to be a minor configuration problem. Has this ever worked?

cooke_j

cooke_j

2002-05-22 01:16

reporter   ~0002633

I had given premissions to everyone to add, edit & delete for the folder on the mantis local HDD. I've now given the IUSER full control over the filestore & that seems to work OK

tks
jc

prescience

prescience

2002-05-28 07:36

reporter   ~0002699

Working.