-
☆ A M B ☆
- 24,524 Posts
ImportX is for resources, not users. Did you mean
http://modx.com/extras/package/importusersx
-
☆ A M B ☆
- 24,524 Posts
Sounds like you don't have the .csv file in the right place. Check your paths and permissions.
Once I select the csv files, ImportUsersX outputs 404 html. I really I'am confused about the way this plugin works.
Its not from this UserEmailChunk, that would send the new user a way to set a new password. I don't see an option to get the file from my data sources/filesystem. Or even If I add the .csv extension to my content types. It doesn't work. Thanks again for the prompt answer.
[ed. note: nunofil last edited this post 13 years, 2 months ago.]
MODX Revolution 2.2.8-pl
-
☆ A M B ☆
- 24,524 Posts
Hm. I get the "forbidden - you don't have permission to access /blah/core/components/importusersx/controllers/home.class.php on this server" error upon selecting the file. This is on localhost, so there's no file permissions problem.
Hey sottwell, I'll install on MAMP later and test it. If all goes ok, I will post it here.
Thank you again for all your help.
MODX Revolution 2.2.8-pl
-
☆ A M B ☆
- 24,524 Posts
I know why I'm getting the "forbidden" error; I've enabled the .htaccess file in the core directory to deny access for any HTTP request for any .php files! The form generated by the javascript is using "../core/blah/blah/..." as the action for the form. Bad idea. How could it work if somebody puts the core outside of the web root? Or, as I have with the .htaccess file, and the MODx Cloud does with nginx configurations, denys access? Bogus!!!
discuss.answer
-
☆ A M B ☆
- 24,524 Posts
I see that in other places it also hard-codes presumed paths, such as ../assets/blah... which again could be useless if someone renamed their assets directory. Very sloppy.
I think those should be configuration settings, unless there is a default variable or constant in modExt for these paths/URLs. I'm a little hazy on that. But in any case, paths/URLs for the top-level directories (assets, connectors, core, manager) should never be hard-coded!
[ed. note: sottwell last edited this post 13 years, 2 months ago.]