Hey guys, I'm trying to import a csv file with new users info but every time I try to import I get:
# Could not find the csv file ''
# Could not get data, the file '' is either empty or has incompatible line endings.
I have tried browsing for the file, FTPing the file, both at the same time and at first it shows me the csv fields and I match to their Drupal field, but once I click on Next, this message appears, any idea what I can be doing wrong?
My csv file is formatted the following way:
"Username","Password","EMail"
Comments
Comment #1
jfha73 commentedWhen I install this module to a server running Linux, it doesn't work, but when I install it to a server running Windows it does, would you guys please look into this, the way it reads the file should be transparent.
Comment #2
robert castelo commentedSounds like you've saved the file with some line endings that your Linux system doesn't like.
Comment #3
jfha73 commentedThat's exactly my point, if windows uses \n\r and Linux uses \n for ending lines, the module should catch it automatically, otherwise what's the purpose of having a multi-platform environment.
Comment #4
robert castelo commentedMaking this more descriptive than 'Update'.
Request is to detect environment Drupal is running on and handle line endings correctly.
Comment #5
gisleI've tested the latest stable version with Unix (
\n), MS Windows(\r\n) and MacOS (\r) line endings. All work.Must have been fixed sometimes during the last 8 years.