WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Job Manager] Can't download resumes (19 posts)

  1. Steve
    Member
    Posted 4 years ago #

    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/

  2. Steve
    Member
    Posted 4 years ago #

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

  3. Gary Pendergast
    Member
    Posted 4 years ago #

    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. :)

  4. Steve
    Member
    Posted 4 years ago #

    No worries, as long as you know about the issue that's the main thing. :)

  5. iDope
    Member
    Posted 4 years ago #

    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

  6. Gary Pendergast
    Member
    Posted 4 years ago #

    @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?

  7. iDope
    Member
    Posted 4 years ago #

    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.

  8. Gary Pendergast
    Member
    Posted 4 years ago #

    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?

  9. iDope
    Member
    Posted 4 years ago #

    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.

  10. Gary Pendergast
    Member
    Posted 4 years ago #

    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

  11. Steve
    Member
    Posted 4 years ago #

    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! :P

    Cheers

    Steve

  12. Gary Pendergast
    Member
    Posted 4 years ago #

    @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?

  13. Steve
    Member
    Posted 4 years ago #

    @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

  14. Gary Pendergast
    Member
    Posted 4 years ago #

    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.

  15. Steve
    Member
    Posted 4 years ago #

    It's no problem. :)

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

  16. Gary Pendergast
    Member
    Posted 4 years ago #

    @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.

  17. wjandre
    Member
    Posted 4 years ago #

    I'm using Job-Manager 0.6.3 with WordPress2.9.2 and the resume upload feature does not work. However, it works fine in version 0.5.4.

  18. Gary Pendergast
    Member
    Posted 4 years ago #

    In 0.6, the upload feature changed to using WordPress' built-in attachment system.

    Is the wp-content/uploads directory writeable? This is where the files are uploaded.

  19. wjandre
    Member
    Posted 4 years ago #

    I had my upload folder in a different subdirectory. Works like a charm now.

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic