Cannot export pages on one build but can on others

On a particular build, clicking the export button does nothing at all. But on other builds it opens the save dialogue. Any idea why? I’ve updated everything and tried disabling all plug ins.

Screenshot 2025-01-08 at 5.15.55 PM

Hello @threeoten,

Thanks for writing in! Please increase your PHP post max size and Upload max size in your server. You can find these values in Tools > Site Health > Info > Server.

This article may help you:

Best Regards.

Ok, I’ve updated from 128M to 256M. Also tried 512 for both. The export button still does not work.

Hi @threeoten,

I have checked and found the issue you described here. Can you please ask your web host to configure the following server settings with the specified values or more for the PHP.

memory_limit = 512M
upload_max_filesize = 512M
post_max_size = 512M
max_execution_time = 300
max_input_time = 300
max_allowed_packet = 16Mb
innodb_log_file_size = 128MB
allow_url_fopen = On

And MySQL Configurations

max_allowed_packet = 16Mb
innodb_log_file_size = 128MB

If that does not help, please copy your live site to a staging server so we can troubleshoot freely without breaking your live site.
And give us access in the secure note including:

– WordPress Site URL & Login URL
– WordPress Admin username/password

To create a secure note, click the key icon underneath any of your posts.

Thanks

As stated above I tried 512M for upload & post max size, it did not help. All other values are already set at or greater than your recommendations, except for innodb_log_file_size, which is currently at 48MB. Allow url fopen is on. Staging site is in secure note.

Hi @threeoten,

I have checked your staging server and found the following issue occurs while clicking the Export, which is the reason behind your issue. It seems that there is some security setting on this site. Please contact your Hosting Service provider to allow REST actions to avoid the issue.

{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}

Hope it helps.
Thanks

I’m also just now noticing that the export button in the last tab (Globals) DOES work and opens up the save dialogue upon clicking…? But nothing happens when clicking export in the 1st tab.

I contacted the hosting support and they said REST is enabled. They want to know how you got that error, can you tell me how you got it?

Hey @threeoten,

Which page you are trying to export? I can export the pages of your site just fine.

Kindly check out the video in the secure note below.

Thanks.

Yeah, that’s because I ended up figuring it out with ChatGPT’s help. It didn’t have anything to do with post or upload max size, or any of the other suggestions here. If anyone else goes searching for this issue in the future, I had to go into my site’s php settings and enable php zip. In my browser inspector: Network tab, then click the export button, then click the “Name” of the entry that created, then click the Response tab, it was throwing an error that said it needed php zip enabled. Did that via cPanel and the export button was working! Thanks Chat!

Glad to know that things are going well for you.