• Resolved losvincent

    (@losvincent)


    my old site A:https://www.losvincent.com points server A,installed wordfence plugins
    my test site B:https://syu3592200001.my3w.com/ offered by aliyun points server B
    what i did:
    change the old site A from server A to server B,and then saild errors
    so i deleted all site files from server B,and emptied database of server B,so it’s 100% clear and new
    but when i installed new WordPress system to server B,and open test site B wanna config account,it says:
    Warning: Unknown: open_basedir restriction in effect. File(/home/mycloudd/domains/losvincent.com/public_html/wordfence-waf.php) is not within the allowed path(s): (/data/home/syu3592200001/:/usr/home/syu3592200001/:/data/home/tmp/:/usr/home/tmp/:/var/www/disablesite/:/tmp/) in Unknown on line 0 Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0 Fatal error: Unknown: Failed opening required ‘/home/mycloudd/domains/losvincent.com/public_html/wordfence-waf.php’ (include_path=’.:/var/www/php53/lib/php’) in Unknown on line 0

    so how can i fix it?why server B is 100% clear,it also says wordfence error?what’s wrong with wordfence?

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • wfalaa

    (@wfalaa)

    Hi,
    Are you sure there are not any files like (.htaccess, .user.ini) left on server B? sometimes, these files are hidden by default, you need also to double check with your server B hosting provider that there is no value assigned to “auto_prepend_file” PHP option.

    Thanks.

    Thread Starter losvincent

    (@losvincent)

    @wfalaa hi,thanks for reply
    i did like you said,and test site is okay for wordpress install now
    but can you tell me what show i do next?
    the old site has installed wordfence plugin,and i wanna upload files of old site to new server B for test
    i close and delete wordfence plugin,and other else shoud i delete to forbidden the error again?

    wfalaa

    (@wfalaa)

    If you still have access to the old website, then I highly recommend following this method to “Migrate Wordfence by Disabling the Firewall“.

    Thanks.

    Thread Starter losvincent

    (@losvincent)

    @wfalaa yes i can acces to old website
    ,and no Remove Extended Protection button here
    scroonshot
    what i wanna do is 100% uninstall wordfence,so i delete wordfence plugins,and what else should i do too?thanks

    • This reply was modified 7 years ago by losvincent.
    • This reply was modified 7 years ago by losvincent.
    • This reply was modified 7 years ago by losvincent.
    Thread Starter losvincent

    (@losvincent)

    @wfalaa
    i’m very very disappointed of wordfence plugins,when i input database sql fie,errors:
    INSERT INTO wp_wfBlockedCommentLog VALUES (‘\0\0\0\0\0\0\0\0\0\0????x’,’CN’,1,17501,’gsb’),(‘\0\0\0\0\0\0\0\0\0\0?????’,’UA’,4,17504,’gsb’),(‘\0\0\0\0\0\0\0\0\0\0?????’,’UA’,1,17505,’gsb’),(‘\0\0\0\0\0\0\0\0\0\0??????’,’UA’,5,17504,’gsb’)
    错误信息:Duplicate entry ” for key ‘PRIMARY’

    Thread Starter losvincent

    (@losvincent)

    @wfalaa okay,finally,i solve this problem and my site on new host is okay now!
    how to fix:
    first of all,backup files and database of original site
    1.installed WPDBSpringClean plugins on older site to wordpress
    2.use it clean database of wordfence
    3.Export database and upload to new host
    4.upload files to root folder on new host
    5.others steps as uaual of you moving sites
    6.if runs error that you’ve no permission,upload a new index.php file to new host and then refresh
    the point is clean the database of wordfence,so no errors when upload SQL database to new host
    anyway,it waste me a few days,hope wordfence can solve this database problem in next version

    • This reply was modified 6 years, 11 months ago by losvincent.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘why new site says wordfence-waf.php) is not within the allowed path(s):’ is closed to new replies.