Hello,
My clients website is using CouchCMS 1.4.7
There's a bunch of clonable pages that acts as profiles. So a bunch of actors, speakers, and stuff got their profile on this site (photo, biography, etc.).
My client called me around 2 months ago saying that after like 1 year of working correctly, suddenly, the photo of one of the profile disapeared. I checked on the server, and the file name that was entered in the admin, and the file name on the actual server was different. So I just changed the name in the image upload field for the good one that was on the server.
Everything was fine.
And today, they called me saying around 10 profiles got missing photos.
I asked them if they changed anything in the admin panel, and they said they haven't touched it for weeks.
I went to see the file names of the files they uploaded, and it seems like they all have accent or non-standard characters.
For example :
Jean-Page¦ü-portrait-smoking-200x257.jpg
©AG_4081site-200x257.jpg
PAtrick-recadré-2013-200x257.jpg
...
And so on. All have accents like "é", and other stuff.
I went on the server, and it seems like Couch is renaming the files like so :
Jean-Page¦ü-portrait-smoking-200x257.jpg = jean-pageu-portrait-smoking-200x257.jpg
©AG_4081site-200x257.jpg = cag_4081site-200x257.jpg
PAtrick-recadré-2013-200x257.jpg = patrick-recadre-2013-200x257.jpg
So it removes all uppercase letters, and special characters (and characters with accents).
This is causing an issue for my client, since it changes the file name on the server, but doesn't update the file name in the image upload field in the admin panel. So it results as a broken image.
What I find weird is that it was working fine for over a year. And without changing anything, it started working not so well.
Any idea how to fix this other than telling my client to rename his files to something without any accents, uppercase letters and special characters?
Thank you
My clients website is using CouchCMS 1.4.7
There's a bunch of clonable pages that acts as profiles. So a bunch of actors, speakers, and stuff got their profile on this site (photo, biography, etc.).
My client called me around 2 months ago saying that after like 1 year of working correctly, suddenly, the photo of one of the profile disapeared. I checked on the server, and the file name that was entered in the admin, and the file name on the actual server was different. So I just changed the name in the image upload field for the good one that was on the server.
Everything was fine.
And today, they called me saying around 10 profiles got missing photos.
I asked them if they changed anything in the admin panel, and they said they haven't touched it for weeks.
I went to see the file names of the files they uploaded, and it seems like they all have accent or non-standard characters.
For example :
Jean-Page¦ü-portrait-smoking-200x257.jpg
©AG_4081site-200x257.jpg
PAtrick-recadré-2013-200x257.jpg
...
And so on. All have accents like "é", and other stuff.
I went on the server, and it seems like Couch is renaming the files like so :
Jean-Page¦ü-portrait-smoking-200x257.jpg = jean-pageu-portrait-smoking-200x257.jpg
©AG_4081site-200x257.jpg = cag_4081site-200x257.jpg
PAtrick-recadré-2013-200x257.jpg = patrick-recadre-2013-200x257.jpg
So it removes all uppercase letters, and special characters (and characters with accents).
This is causing an issue for my client, since it changes the file name on the server, but doesn't update the file name in the image upload field in the admin panel. So it results as a broken image.
What I find weird is that it was working fine for over a year. And without changing anything, it started working not so well.
Any idea how to fix this other than telling my client to rename his files to something without any accents, uppercase letters and special characters?
Thank you