Support » Plugins and Hacks » [Plugin: Job Manager] Can’t download resumes

  • Steve

    (@steviebdotnet)


    Hi Pento,

    I just upgraded to the newest version, and for some reason I can’t download resumes. I have tried creating a new application and downloading a new one, but that doesn’t work either.

    I did notice that the old link (filename.ext) has now changed to “Download”. When I sued to hover over the old link you could see the document in the url, now all I see is “wp-admin/admin.php?page=jobman-list-applications” for every single download link.

    I can still download direct from the notification e-mail, but no longer in the applications list.

    Cheers

    Steve

    http://wordpress.org/extend/plugins/job-manager/

Viewing 15 replies - 1 through 15 (of 18 total)
  • Steve

    (@steviebdotnet)

    I have also just noticed, old resume links no longer work if used directly from the notification e-mail.

    It sounds like the upgrade didn’t function for moving uploads to WP Attachments didn’t work correctly – I’m able to see the same problem. I’ll look into it.

    Unfortunately, the old resume links not working is a side effect of moving to attachments – I really do hope this will be the last change to file uploads!

    Thanks for your feedback. 🙂

    Steve

    (@steviebdotnet)

    No worries, as long as you know about the issue that’s the main thing. 🙂

    Same problem here, even for new applications. Download links show up as:

    http://domain.com/wp-admin/admin.php?page=jobman-list-applications&appid=123

    @idope: I found a problem where download links where displaying when no file was uploaded, but I haven’t been able to reproduce any problem with uploading the files. Could you check that this isn’t what you’re running into?

    When viewing the HTML source, the download links are blank. I have checked that I am uploading a file and it does show up in a folder on the server. It seems wp_get_attachment_url() is not returning anything for some reason. I am using WordPress MU 2.9.1.

    Are you still seeing the same problem with 0.6-beta2? If so, could I get you to restore your test environment from a production backup (ie, with JM 0.5.4 data), then upgrade to 0.6-beta2?

    I haven’t tries beta2 yet, will do so now.

    I did some debugging and found that the wp_upload_bits() on line 310 in frontend-application.php is returning the following:

    Array
    (
    [error] => Invalid file type
    )

    I guess that means WP MU is blocking upload of some additional file types (I tried uploading .doc, .docx, and .pdf files). I’ll figure out some way around that.

    But here is a suggestion, where you check the return value of wp_upload_bits()
    if( ! $upload['error'] ) {
    you should add an else block to print the error so the submitter knows that the file couldn’t be uploaded can try again with a different format if possible.

    Huh, that’s interesting. I don’t have a copy of WP MU installed, but WP 3.0 (which has all of the MU code in it) allows uploading these files.

    I’m not seeing any WP MU-related issues in Google, either.

    Regardless, I agree, this error could be nicer. As it will need new strings, it will have to wait for version 0.7, but I’ll put that on the “definitely going to happen” list.

    http://code.google.com/p/wordpress-job-manager/issues/detail?id=113

    Steve

    (@steviebdotnet)

    Hi Pento,

    Any idea when the bug fix for this might be released? Having to FTP and manually find and download resumes it killing me! 😛

    Cheers

    Steve

    @steve: I believe I fixed your issue in 0.6-beta2, though it won’t work upgrading from 0.6-beta1 – you need to upgrade from 0.5.x.

    New resumes in 0.6-beta2 or 3 should be uploaded correctly, and linked from the Application list correctly.

    Are you finding that this is not the case?

    Steve

    (@steviebdotnet)

    @pento

    Yes sorry, the new ones are fine, I thought there maybe a fix for existing applications also; not a big problem though; as long as the new new ones come in ok I’ll survive! 😉

    Thanks again

    Sorry about that, there was a bug in the 0.6-beta1 upgrade routine, existing uploads weren’t being moved properly. I fixed it from 0.6-beta2, but the only workaround is to re-upgrade from 0.5.4 to 0.6-beta2.

    Steve

    (@steviebdotnet)

    It’s no problem. 🙂

    As I said before, it’s great just to have such a pro-active developer!

    @idope If you’re still having problems with uploading some files, I’ve found the solution.

    In your WPMU admin, go to Site Admin->Options. Update the “Upload File Types” option to include the various extensions (doc, docx, pdf, odt) that people are likely to upload their resume with.

    I’ll include a warning in version 0.7 about this, so other WPMU users aren’t caught out.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘[Plugin: Job Manager] Can’t download resumes’ is closed to new replies.