Closed (fixed)
Project:
Job Posting
Version:
5.x-1.1
Component:
User interface
Priority:
Critical
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 May 2008 at 02:14 UTC
Updated:
24 Jul 2008 at 04:03 UTC
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
Comment #1
malmax commentedComment #2
gmarus commentedThat 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.
Comment #3
malmax commentedOkay, will upgrade and let you know.
Thanks
Comment #4
gmarus commentedIssue closed after two weeks without activity.
Comment #5
tcibah commentedHello 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
Comment #6
malmax commentedFound 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.