Before you ask please READ THIS

demo import don't working.

edited February 2017 in FatMoon Posts: 5
I can't import demo for no demo.
I have this value in my php.ini

max_execution_time 200
memory_limit 256M
post_max_size 24M

php -v is : PHP 5.6.30 (cli) (built: Jan 19 2017 22:31:39)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies

I hav an warning adn not an error in httpd error log:

[Wed Feb 15 19:56:03.132815 2017] [:error] [pid 19808] [client 89.119.86.138:32966] PHP Warning: Invalid argument supplied for foreach() in /home/www/html/stilmobili.evulab.it/wp-content/themes/fatmoon/advance/admin/admin.php on line 127, referer: http://stilmobili.evulab.it/wp-admin/themes.php?page=apollo13_import
[Wed Feb 15 19:56:09.043712 2017] [:error] [pid 19808] [client 89.119.86.138:32966] PHP Warning: Invalid argument supplied for foreach() in /home/www/html/stilmobili.evulab.it/wp-content/themes/fatmoon/advance/customizer.php on line 25, referer: http://stilmobili.evulab.it/wp-admin/themes.php

Il I try to import demo nothing is happening: I have no log in Apollo 13 import page
Can you help me
Antolungo
Post edited by antolungo on

Comments

  • AirAir
    Posts: 10,970
    Hello there:-)

    I believe you could have this special kind of server that requires FTP access so WordPress could write to file.

    However to confirm this I will have to log to your WordPress.

    Could you please send me temporary access to your WordPress so I could check there what is going on? Send it here on forum via private message(click on my nick, in top-right corner you will find option "Message"). In message please add LINK to topic it applies to.

    By sending access to WordPress I mean:
    -create new ADMIN account with fake e-mail
    -set some password to this account
    -send me created login and password

    With kind regards.
  • what kind of permits must have the files and folders of the theme?
  • AirAir
    Posts: 10,970
    I don't think you will be able to do it with permissions alone.
    You can try two things for import time.

    1. Add to wp-config.php file define( 'FS_METHOD', 'direct' );

    2. If that won't help, try defining FTP_USER, FTP_PASS and FTP_HOST in wp-config.php file
    like explained here:
    https://codex.wordpress.org/Editing_wp-config.php#WordPress_Upgrade_Constants

    With kind regards.
  • AirAir
    edited February 2017 Posts: 10,970
    As for this two errors

    [Wed Feb 15 19:56:03.132815 2017] [:error] [pid 19808] [client 89.119.86.138:32966] PHP Warning: Invalid argument supplied for foreach() in /home/www/html/stilmobili.evulab.it/wp-content/themes/fatmoon/advance/admin/admin.php on line 127, referer: http://stilmobili.evulab.it/wp-admin/themes.php?page=apollo13_import
    [Wed Feb 15 19:56:09.043712 2017] [:error] [pid 19808] [client 89.119.86.138:32966] PHP Warning: Invalid argument supplied for foreach() in /home/www/html/stilmobili.evulab.it/wp-content/themes/fatmoon/advance/customizer.php on line 25, referer: http://stilmobili.evulab.it/wp-admin/themes.php
    I will fix it in next update!

    With kind regards.
    Post edited by Air on
  • now it's working. Thanks a lot :smile:
  • In Import I don't have product and woocommerce plugin.
    can you help me
  • AirAir
    Posts: 10,970
    Hello again:-)

    Glad it worked for you.
    antolungo said: I don't have product and woocommerce plugin
    It didn't install WooCommerce plugin at all? Strange.
    Which demo you try to import?
    You can try install WooCommerce on your own and then try import process once again. If that won't help I will take a look.

    With kind regards.
  • Nevada
  • AirAir
    Posts: 10,970
    Where you able to import when you installed WooCommerce plugin ? Maybe there is problem with installing this plugin on your server?
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!