forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 upgrading => Topic started by: marciesleo on February 06, 2006, 10:29:13 am
-
I recently upgraded to 1.4 and everything seemed okay. But when I started uploading images and putting them into the albums the other images in the albums would not work, the thumbnails show but when you click for the full image it doesn't show I tried everything you guys recommended nothing works. I really would hate to redo my gallery since i have over 5000 images in it.
Here's my link
http://www.heartofdestiny.com/gallery
I also noticed the pics where really weird urls like this: http://www.heartofdestiny.com/gallery/albums/leongisele/leongisele%20%281%29.jpg
When it should have been: http://www.heartofdestiny.com/gallery/albums/leongisele/leongisele (1).jpg
Can someone please help.
-
as you require a login to browse your gallery, you should provide a non-admin test user account for supporters to take a look.
The "funny" URLs are expected behaviour and not related to the upgrade - they used to be the same in previous versions of coppermine, as a space character is not valid in a URL, and it's not web-safe (meaning: you shouldn't have uploaded files with spaces in the name in the first place if you wanted "clean" URLs in the first place). That's why the space get's replaced with it's equivalent %20. The same thing goes for brackets. Not everything you're allowed to do on your Windows box is good on a webserver (in most cases, webservers run under Lunix operating systems).
-
oops sorry about that. you can login using this:
username: test
password: testme
Click here and you will see what I mean: http://www.heartofdestiny.com/gallery/displayimage.php?album=99&pos=8
It's not all pics just some here and there.
-
well, http://www.heartofdestiny.com/gallery/albums/leongisele/leongisele%20%281%29.jpg is not there - you can easily see that for yourself by browsing that folder (as you haven't disabled the index option for the albums folder): http://www.heartofdestiny.com/gallery/albums/leongisele/
What you actually have is http://www.heartofdestiny.com/gallery/albums/leongisele/leongisele_(1).jpg (note the underscore).
The upgrade process doesn't touch the filenames of the fullsize images, so I'm not sure what you did to get this sort of behaviour nor how to fix this (except re-adding the pics or manually fixing stuff directly on the database level with a tool like phpMyAdmin).
-
Yea I changed the filenames in the admin to see if it would pick up images but it didn't.
I don't know what happened but it looks like i am gonna have to start over from scratch. :(
-
no, don't start from scratch - why would you do this?
Yea I changed the filenames in the admin to see if it would pick up images but it didn't.
erm, you did what?
-
I used the admin tool in the admin section of coppermine. This: Remove the .jpg ending and replace _ (underscore) with spaces
to see if it would help but it didn't. I recently upgraded from 1.3 to 1.4 I follow the instructions for the upgrade then after i did that i batch added new files to the previous albums i had made, but when I did the old files in the album got messed up. I don't know how that happened.
Someone please help. :'(
-
The upgrade process doesn't touch the filenames of the fullsize images, so I'm not sure what you did to get this sort of behaviour nor how to fix this (except re-adding the pics or manually fixing stuff directly on the database level with a tool like phpMyAdmin).
You recommended this what do i have to do?
-
I think i figured out my problem when i did this: Remove the .jpg ending and replace _ (underscore) with spaces from the admin tools
it somehow didn't pick up in the database so when i rename my files to the way they were for example:
Before: leongisele_(1).jpg
After: leongisele (1).jpg
They worked this only happened with the full size images not the thumnbnails.
Is there a way to rename the files without having to do them manually?