Help! open_basedir error after migration

Closed
ImportWP Pro - WordPress XML & CSV Importer ImportWP Pro - WordPress XML & CSV Importer April 01, 2022
Login to reply
Evelien Toering
4 months ago

Thank you problem is fixed!

James Collings Support Agent
4 months ago

If the files are from a remote source, you could just download them again, by opening the importer, clicking on the select file tab, and if either remote or local file is used click download to fetch an new version of the file.

otherwise you need to search and replace the old server path with the new server path in the database

Evelien Toering
4 months ago

Ah yes! Everything falls in place (I think). These are external files by our clients. We need to inform them to update the location, correct?

James Collings Support Agent
4 months ago

The easiest solution i can think of would be to install: 

https://wordpress.org/plugins/wp-migrate-db/

and do a search and replace on the database, replacing your old filepath with the new one (this will resolve any issues with this plugin and any other plugins in the future):

base on your log file im guessing its:

/data/sites/web/onderwijscommunitynl/www

to

/home/hrcommun/domains/onderwijscommunity.nl/public_html

Please make sure you backup your database and files before doing anything like this.

James Collings Support Agent
4 months ago
Are you able to edit the importer? 

What datasource is it using?
Evelien Toering
4 months ago

Hi,

Thanks for the quick response.

See attached. Second question; I don't think we did. We just did a normal transfer, not realising that did would occur.

James Collings Support Agent
4 months ago

Hi,

Can you please attach the error log from your server?

When you migrated your server did you update the server file path along with the url?

James Collings Support Agent
4 months ago
Thanks for creating a ticket! We'll get back to you as soon as we are back from vacation.
Evelien Toering
4 months ago

Hi team,

After migrating to a new server, the plugin is looking for a path direction which doesn't exist anymore. How do I change this? It's about the WP Importer.

With thanks,
Demian