Archived topic
I can't import a page from the sites library
15 replies · Started by Alzahraa on July 28, 2022
Hello,
I have purchased generate prress premium .
I'm trying to import a page from the sites library (AROMA), but the content import doesn't complete and stands at this point as in the attached image.
What could be the problem?
Best Rgards,
Hi there,
can you go to Settings > Permalinks and click save changes, then retry the Site Library Import.
hi,
I tried that but the problem still not solved.
Hi Alzahraa,
If you right click and select inspect while importing. On the console tab, is there a specific error?
For reference, here's an article with regards to common errors encountered while importing: https://docs.generatepress.com/article/error-codes-importing/#server-error-500
Hi, thank u for your response
I really right click and select inspect while importing and this what appeared to me:
JQMIGRATE: Migrate is installed, version 3.3.2
jquery-migrate.min.js?ver=3.3.2:2 JQMIGRATE: Migrate is installed, version 3.3.2
sweetalert.min.js:1 SweetAlert2: The parameter "useRejections" is deprecated and will be removed in the next major release.
r @ sweetalert.min.js:1
sweetalert.min.js:1 SweetAlert2: The parameter "expectRejections" is deprecated and will be removed in the next major release.
r @ sweetalert.min.js:1
/index.php?rest_route=%2Fgeneratepress-site-library%2Fv1%2Fimport_content&_locale=user:1
Failed to load resource: the server responded with a status of 524 ()
themes.php:1
Uncaught (in promise) Object
In Tools > Site Health, are there specific errors and warnings as well?
Sorry but There is no such option "Tools > Site Health"
It’s in your admin dashboard.
See: https://share.getcloudapp.com/BluGA4RK
In site health, go to the info section as well, and view Server. Check if the values are above or equal to the ones suggested here as well: https://docs.generatepress.com/article/error-codes-importing/#server-error-500
Hi, thank you for your response
Yes I went to Tools > Site Health, there are not important errors and warnings.
but in info section > server these are the values:
Server architecture Linux 4.19.150-76.ELK.el7.x86_64 x86_64
Web server Apache
PHP version 8.0.17 (Supports 64bit values)
PHP SAPI litespeed
PHP max input variables 1000
PHP time limit 60
PHP memory limit 512M
Max input time 60
Upload max filesize 512M
PHP post max size 516M
cURL version 7.81.0 OpenSSL/1.1.1n
Is SUHOSIN installed? No
Is the Imagick library available? Yes
Are pretty permalinks supported? Yes
.htaccess rules Custom rules have been added to your .htaccess file.
Hi there,
can you adjust the following values:
PHP max input variables 4000
PHP time limit 1200
Max input time 600
PHP post max size 1000M
hi and thank you for response ,
how can I adjust these values?
This is done through the server side. You may reach out to your Hosting provider with regards to this. They should be able to assist you.
Hi , the values where adjusted but I still con't import the theme (Aroma).
when I right click and select inspect while importing this what appear:
Failed to load resource: the server responded with a status of 524 ()
themes.php:1 Uncaught (in promise)
Object
code: "invalid_json"
message: "The response is not a valid JSON response."
[[Prototype]]: Object
Do you have Cloudflare enabled on your server ? If so can you disable that
No, I have not cloudflare enabled on server.