1. PROMO Upgrade to Pro Membership @ $99 / Lifetime & access all our 16+ premium Divi extensions: Divi Block, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

PDF - Unexpected response from the server

Discussion in 'Support Forum' started by lared-dns, Jan 15, 2025.

  1. lared-dns

    lared-dns Member
    Pro Member Divi Block Pro Divi Ultimate Child Theme Divi Powerful Child Theme Divi Ultimate Archive Plugin Divi Ultimate Blog Plugin Divi Ultimate Header Plugin Divi Ultimate Footer Plugin

    Hello, for a few days now I have noticed that when I upload a PDF to the media library, I get the following error: “Unexpected response from the server. The file may have been uploaded correctly. Check the media library or reload the page.” I refresh and the uploaded file appears and its link works, etc., etc.
    If what I upload is an image, there is no problem at all, and the PDF is small in size.
    Could it be a bug in a plugin or in WP itself?

    Thanks in advance.
     
    1. PRO MEMBER PERKS Beautifully crafted custom colored 'Freelancer' Divi layout for all Pro members:View Demo
  2. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    Perhaps your file is too big & blocked by server. Try to install this plugin & see if it works: https://wordpress.org/plugins/tuxedo-big-file-uploads/
     
  3. lared-dns

    lared-dns Member
    Pro Member Divi Block Pro Divi Ultimate Child Theme Divi Powerful Child Theme Divi Ultimate Archive Plugin Divi Ultimate Blog Plugin Divi Ultimate Header Plugin Divi Ultimate Footer Plugin

    No es por el tamaño, tengo mi propio servidor y tengo la gestión completa, los parámetros PHP son correctos, puedo subir imágenes grandes, etc. El problema es con los PDF y es algo repentino que no me pasaba hace unos días. De todas formas, miraré el enlace facilitado.

    Gracias
     
    1. PRO MEMBER PERKS Beautifully crafted custom colored 'Digital Marketing' Divi layout for all Pro members:View Demo
  4. lared-dns

    lared-dns Member
    Pro Member Divi Block Pro Divi Ultimate Child Theme Divi Powerful Child Theme Divi Ultimate Archive Plugin Divi Ultimate Blog Plugin Divi Ultimate Header Plugin Divi Ultimate Footer Plugin

    It's not because of the size, I have my own server and I have full management, the PHP parameters are correct, I can upload large images, etc. The problem is with PDFs and it's something sudden that didn't happen to me a few days ago. Anyway, I'll look at the link provided.

    I'm putting some images of the process of the problem in a random place of my WP.

    img_1
    Uploaded a 38Kb pdf and the commented error notice.

    img_2
    Once the browser is updated, the pdf is displayed perfectly.

    img_3
    If you click on it, all the properties are good, except that it loses the pdf preview icon.

    img_4
    Uploading any image of about 8Mb works perfectly and as you can see, I have the size limit at 64Mb.

    Greetings
     

    Attached Files:

  5. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    If that's the case, most likely there's issue with your uploaded PDF file.

    Kindly try to download this test pdf file & upload it to your Divi site & see if it works.

    Upon searching, I found a related issue here: https://stackoverflow.com/questions...om-the-server-the-file-may-have-been-uploaded
    **Here's one of the related answer:
     

    Attached Files:

    1. PRO MEMBER PERKS Divi Block Pro - Premade logo carousel design for your Divi site without using any plugins:View Demo
  6. lared-dns

    lared-dns Member
    Pro Member Divi Block Pro Divi Ultimate Child Theme Divi Powerful Child Theme Divi Ultimate Archive Plugin Divi Ultimate Blog Plugin Divi Ultimate Header Plugin Divi Ultimate Footer Plugin

    It's nothing like what the link provided says :(
    I uploaded the pdf that you provided me and it does the same thing, it's not something with the text sources, I even generated a blank pdf with nothing and it does the same thing. It gives the error message, I update and the pdf appears (without preview) and it works without problem. I even deactivated all the plugins to look for some incompatibility and nothing, the same thing. I tried the same thing in WP that I have without Divi and it also does the same thing.

    I'm afraid it's a WP problem or my server due to some update or something similar, I don't know, I'll keep investigating.

    Thanks
     
  7. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    For that case, I don’t have much advice on that. Might be due to specific software installed on your server. You might want to try to contact your web host & see if they can help on that.
     
    1. PRO MEMBER PERKS Divi.Help Pro Layout Packs - Modern & powerful Agency Divi layout pack, featuring team carousel, sliding menu, etc.View Demo