Delightful Downloads
[resolved] File not uploading (2 posts)

  1. gmarcus2
    Posted 2 years ago #

    I uploaded a PDF without a problem (1.5 mb)
    When I tried to upload a .mobi file,(4 mb) it appears to upload, shows the correct file size at the bottom. when I click publish, the following error appears on the screen.

    The file does not exist! Please check the URL and ensure it is within the WordPress directory structure. (For example: http://idolbuster.com/wp-content/uploads/delightful-downloads)

    Please help


  2. A5hleyRich
    Plugin Author

    Posted 2 years ago #

    Hi there,

    I believe the error you are having is due to the file type not being allowed in WordPress uploads. However you can manually add additional file types by adding a function to your theme's function.php file. Please try adding the following code and see if you are then able to upload the file.

    function dedo_temp_fix_upload_types( $existing_mimes ) {
    	$existing_mimes['mobi']	= 'application/x-mobipocket-ebook';
    	return $existing_mimes;
    add_filter( 'upload_mimes', 'dedo_temp_fix_upload_types' );

    Sorry for the inconvenience, but this issue will be addressed in the next update.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Delightful Downloads
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic