Author Topic: Error when importing WordPress templates  (Read 4409 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Error when importing WordPress templates
« on: February 09, 2020, 11:27:21 AM »
hello
I installed WordPress on server, When importing demo template it gives this error:

Quote
Oops.. there were 4 errors during the import!
[ErrType: xml-wp-content]
Sorry, there has been an error.This does not appear to be a WXR file, missing/invalid WXR version number
[ErrType: typolab]
[ErrType: widgets] Import data could not be read. Please try a different file.
[ErrType: revslider]
It is often related to bad hosting environment that have limited hosting resources and make demo content import to fail. Please review if your server meets suggested requirements, otherwise contact our support.

What should I do

Offline
*
Re: Error when importing WordPress templates
« Reply #1 on: February 09, 2020, 07:01:14 PM »
who can help me?

Offline
****
Re: Error when importing WordPress templates
« Reply #2 on: February 09, 2020, 07:58:33 PM »
How are you installing?  Softaculous, cpwser panel, or through WordPress admin panel?
Google Hangouts:  rcschaff82@gmail.com

Offline
*
Re: Error when importing WordPress templates
« Reply #3 on: February 10, 2020, 01:40:59 PM »
How are you installing?  Softaculous, cpwser panel, or through WordPress admin panel?

WordPress admin panel.

Offline
****
Re: Error when importing WordPress templates
« Reply #4 on: February 10, 2020, 02:03:31 PM »
In that case, you may have to tweak PHP file upload settings.
Google Hangouts:  rcschaff82@gmail.com

Offline
*
Re: Error when importing WordPress templates
« Reply #5 on: February 10, 2020, 02:23:03 PM »
In that case, you may have to tweak PHP file upload settings.

My PHP file upload settings:
memory_limit = 1024M
upload_max_filesize = 500M
post_max_size = 550M
max_execution_time = 300
display_errors = Off

but There is a new problem!

Now when uploading a file to CWP filemanager, it is stops on 1% and i cant upload it. (size: 148 MB)



Offline
****
Re: Error when importing WordPress templates
« Reply #6 on: February 10, 2020, 02:54:59 PM »
A few notes. 
PHP should not be used to upload files larger than 20MB.
Your selected server has a timeout setting for connections.  You may be hitting that timeout, thus upload stops.
Upload folder and tmp folders need appropriate permissions to upload anything.
Google Hangouts:  rcschaff82@gmail.com

Re: Error when importing WordPress templates
« Reply #7 on: February 10, 2020, 04:06:05 PM »
Coincidentally, I managed to upload a 128MB backup, via the root (crap) File Manager.
Check your /usr/local/php/php.ini
I do wish ConfigServer Explorer was available at root level. No as good as the cPanel one but an improvement on the CWP one, IMHumbleO.

(I used File Manager purely out of convenience and likely the upload would've been quicker with scp  ;) )
« Last Edit: February 10, 2020, 04:09:32 PM by ejsolutions »