Failed Use Case
This Site Import tool located at https://server.com/modules/site-import/index.php/site-migration/new-migration/site_id/1 is so frustrating...
It doesn't work for me in a simple mode (the DNS configuration is not what the extension expects).
Then I go to advanced mode and see a page with eleven fields/checkboxes and a button.
I press a button and see an error message telling me there are multiple error sources.
Yikes!!! Couldn't you help more with it? For example, by showing FTP login results on that page?
I've checked all the possible reasons - none of them are the case. Dead end.
Improvement Suggestion
If you tried to make it in a Wizard mode, why don't you split this awful page into more sections?
1. Login with ssh/ftp + ask for host/login/password only. IF connection is successful then show the root path and visible (in the ftp/ssh user context) directories.
2. Ask what exactly to import. Websites? Emails only? Other stuff?
3. Show the login result and the folder structure. Ask for paths to files (and your guess what is where) and site root and site address. If everything is fine, start searching and..
4. Show search results and ask for further steps.
Without it, I'm lost. I had to login via FTP using my FTP client simultaneously, I've double checked paths and directory structure and it still doesn't work!
I actually only want to import mail, in the FTP client window I can see the directory at /mail/site.com/mailboxname - but your script fails at scanning some other stuff and just won't let me check that "Only scan and import emails" box. It is somewhere in the next windows but I can't reach it.
This extension needs improvement.
This Site Import tool located at https://server.com/modules/site-import/index.php/site-migration/new-migration/site_id/1 is so frustrating...
It doesn't work for me in a simple mode (the DNS configuration is not what the extension expects).
Then I go to advanced mode and see a page with eleven fields/checkboxes and a button.
I press a button and see an error message telling me there are multiple error sources.
Yikes!!! Couldn't you help more with it? For example, by showing FTP login results on that page?
I've checked all the possible reasons - none of them are the case. Dead end.
Improvement Suggestion
If you tried to make it in a Wizard mode, why don't you split this awful page into more sections?
1. Login with ssh/ftp + ask for host/login/password only. IF connection is successful then show the root path and visible (in the ftp/ssh user context) directories.
2. Ask what exactly to import. Websites? Emails only? Other stuff?
3. Show the login result and the folder structure. Ask for paths to files (and your guess what is where) and site root and site address. If everything is fine, start searching and..
4. Show search results and ask for further steps.
Without it, I'm lost. I had to login via FTP using my FTP client simultaneously, I've double checked paths and directory structure and it still doesn't work!
I actually only want to import mail, in the FTP client window I can see the directory at /mail/site.com/mailboxname - but your script fails at scanning some other stuff and just won't let me check that "Only scan and import emails" box. It is somewhere in the next windows but I can't reach it.
This extension needs improvement.