Posted by malmax on May 28, 2008 at 2:14am
3 followers
Jump to:
| Project: | Job Posting |
| Version: | 5.x-1.1 |
| Component: | User interface |
| Category: | support request |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
When I attached a resume in pdf,txt or doc I'm getting "The selected file in could not be copied, because no file by that name exists. Please check that you supplied the correct filename.", but the files could be found in the /tmp directory.
The email goes but the file does not.
Drupal 5.2
Comments
#1
#2
That error message is not returned directly from the job posting module but I believe is either from the image or the upload module. I received a similar report to yours a couple of weeks ago from someone else who was having that problem with uploaded files on older drupal core but I could not reproduce the issue on my systems and that person wasn't able (or willing) to troubleshoot any further. Mind you, he had a LOT of modules loaded up and I believe he was using 5.2 or 5.3 while the current recommended version is 5.7. I suspect it was a combination of older buggy functions and strange interoperability problems involving upload and image modules but can't be sure.
Are you able to upgrade your core drupal and see if that clears it up? Otherwise, any additional detailed information on your setup, in particular what modules are being used, might help narrow down the problem. You might try checking the forums at drupal.org as well in case this is a known issue and someone else already has a fix, though I suspect most will suggest you upgrade anyway given that 5.2 is not supported and you'd be getting a whole bunch of other bug and security fixes with an upgrade.
#3
Okay, will upgrade and let you know.
Thanks
#4
Issue closed after two weeks without activity.
#5
Hello Greg,
We're having the same problem: files cannot be uploaded when applying for job using the Job Posting module. Emails would be fired OK. We get the following :
The selected file could not be copied, because no file by that name exists. Please check that you supplied the correct filename.
That message is apparently generated by file.inc
Please note that we CAN upload images using the Image/Image attach modules. We also CAN upload logos & icons. In our case uploading is not working for the Job Posting module only.
We have deleted many un-used modules, deleted & re-installed Job Posting module but still getting the same error.
Any clues?
Note: we run D5.7 job_posting-5.x-1.2 Local machine Win XP Site: LAMP PHP version 4.4.7 MySQL version 4.1.22-standard
Also got this related info form the log:
Type access denied
Date Saturday, 5 July 2008 - 12:02pm
User Anonymous
Location http://www.khaleej4jobs.com/kh4j/en/job/application/node/88
Referrer
Message job/application/node/88
Severity warning
Hostname 66.249.65.104
#6
Found the my problem:
(drum roll please..)
1. I installed the lastest module version 5.x-1.3 - It did remove 'The selected file could not be copied' error, but still no attachment.
2. Setting for mimemail module if installed, uncheck 'Use mime mail for all messages'. - okay, got email with attachment.
Everything is okay now!!, I have my attachment sent.