XF Importer

meetdilip

Madly Diligent
Joined
Feb 17, 2019
Messages
7,539
Reaction score
3,716
FP$
19,722
Hi, I am trying to use the importer. I have the files and database, both old and new. Even though I enter the values correctly, something is wrong. I am doing it locally

1673422583850.webp

I guess it is the format I am using.

Say I have oldDB and newDB

for the first column, I tried both

$config['db'][dilip_oldDB]

and

$config['oldDB'][dilip_oldDB]

both gives error. Mostly

1. The directory cannot be found or writable.

Even though I chmod 777 -R both directories

2. Unable to connect to the database

Even though XAMPP is running and the DB name, Username and password are correct.

Any pointers will be great. Thanks.
 
I'm fairly positive you just need the name, password and dbname, no need for the $config etc. Been a while since I last did an import, though, so I might be off there, but give just the plain details a try 🙂
 
Thanks @PGen98

Do you know how to set paths to data directory and internal directory? I have a fresh install in XAMPP - but it says unexpected content

And, even though I placed the source directory in the Home folder ( Ubuntu ), the importer says Not found or readable. I have 777 for both of them.
 
Thanks @PGen98

Do you know how to set paths to data directory and internal directory? I have a fresh install in XAMPP - but it says unexpected content

And, even though I placed the source directory in the Home folder ( Ubuntu ), the importer says Not found or readable. I have 777 for both of them.
As long as it's the full path it should work, ie: /path/to/data (/users/name/public_html/data) or /path/to/internal_data (/users/name/public_html/internal_data). 🙂
 
Thanks. I tried placing everything inside htdocs. Now it says " does not contain the expected contents. "

Internal folder means, our fresh XF, right? It has nothing else. Not sure what they are expecting in it.
 
Now everything was fine, I ran the importer and it says " This action is only available through POST "
 
Sorry I disappeared on you there, but glad you got it all working 🙂
 
Back
Top Bottom