forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: networkdad on April 14, 2004, 05:01:30 am

Title: [Solved] 1.2 Batch Add - Picture Not Found
Post by: networkdad on April 14, 2004, 05:01:30 am
Hi, i'm an occasional user of Coppermine - great product.

I've run into a snag on a new installation, 1.2.1 - After i've uploaded images to /albums/myalbum/ and run the batch add pictures tool for that subdir, i get No new picture was found

Server info:

Database: MySQL 4.0.18
PHP/4.3.4

I dont think i have a server issue, in that i have a separate subdir with another working copy of coppermine that continues to do well with the batch add tool.

My directories for the albums are CHMOD 777 right now, sufficient permissions.

Any thoughts?  Thanks.. :)
Title: [Solved] 1.2 Batch Add - Picture Not Found
Post by: infamousnomie on April 14, 2004, 05:04:13 am
check the configeration and see if all the directories set over there and then try rename that directory the one u made inside the albums and see if it helps... i used the default configeration when everything is done or uploaded then i try changin it around...
Title: [Solved] 1.2 Batch Add - Picture Not Found
Post by: networkdad on April 14, 2004, 05:11:28 am
Hmm, everything appears configuration wise to be fine - batch add sees the subdirs that i've created under albums.

Tried what you suggested, but still not seeing any new photos.  Photos are @ 755
Title: [Solved] 1.2 Batch Add - Picture Not Found
Post by: infamousnomie on April 14, 2004, 05:16:59 am
can you see the directory when u click on batch add if yes then u cant see the images?

is thats the problem i had the same thing too when my files size where i think over 300kb then it wont show the images for some reason i dont know i am new to this... but its workin fine on mine if the file size is not too big..  :roll:
Title: [Solved] 1.2 Batch Add - Picture Not Found
Post by: networkdad on April 14, 2004, 05:19:14 am
Yes, i see the directory.
No, i see no images in that directory (although via FTP / Shell i can)

These images are no bigger than 50k at most.
Title: [Solved] 1.2 Batch Add - Picture Not Found
Post by: infamousnomie on April 14, 2004, 05:30:08 am
well sorry then this much i knew hope someone else will help u out.

if you just installed the script then try a complete reinstallation. i cant say nothing more  :?
Title: [Solved] 1.2 Batch Add - Picture Not Found
Post by: Joachim Müller on April 14, 2004, 10:26:46 am
make sure not to upload to the userpics folder by ftp - this folder must be left alone, it's reserved for coppermine's internal use. Instead, create folder(s) within the "albums" directory.

GauGau
Title: [Solved] 1.2 Batch Add - Picture Not Found
Post by: networkdad on April 14, 2004, 02:37:30 pm
Thats correct, these are subdirs below the albums, and not in or below the userpics dir.
Title: [Solved] 1.2 Batch Add - Picture Not Found
Post by: Casper on April 14, 2004, 02:38:48 pm
Are you sure they are allowed filetypes, as set in your config?
Title: [Solved] 1.2 Batch Add - Picture Not Found
Post by: networkdad on April 14, 2004, 02:46:05 pm
The standard GIF/PNG/JPG/JPEG/TIF/TIFF, yes these are all either GIF or JPEG
Title: [Solved] 1.2 Batch Add - Picture Not Found
Post by: Casper on April 14, 2004, 02:53:51 pm
Gif files will only work with imagemagick, not GD.  If your server has imagemagick, have you also got the file types specified in the box for IM?
Title: [Solved] 1.2 Batch Add - Picture Not Found
Post by: networkdad on April 14, 2004, 03:22:27 pm
Yep, im setup for imagemagick, and those file types are specified.
Title: [Solved] 1.2 Batch Add - Picture Not Found
Post by: networkdad on April 14, 2004, 03:33:43 pm
Hmm, decided to run a clean install again...this time its working?  Weird, i'd already done this once (reinstalled).

Anyways, thanks all for your help :)
Title: [Solved] 1.2 Batch Add - Picture Not Found
Post by: crxman on April 15, 2004, 01:28:10 pm
Hello all :)

For me I'm runing Coppermine Photo Gallery 1.3.0 Beta3 and I got exactly the same problem, no files in my new folder located in the album directory.

Only JPEG inside ...

I've recently update and was runing the 1.2 standalone an had the same problem ...

 :?:  :?:  :?:
Title: [Solved] 1.2 Batch Add - Picture Not Found
Post by: Casper on April 15, 2004, 03:26:47 pm
Are you sure you didn't put them in the 'userpics' folder.
Title: [Solved] 1.2 Batch Add - Picture Not Found
Post by: crxman on April 16, 2004, 12:41:27 am
Yes !

when I've got my problem I've read all this topic to see if I can find a solution ... All the other feature are working but I can't batch pics ... I have 300 picture to ad to my gallery ...  :roll:
Title: [Solved] 1.2 Batch Add - Picture Not Found
Post by: egm_ar on April 16, 2004, 07:05:12 am
My problem is weirder yet similar to this....I'm running the 1.2.1 standalone version on my unix server...

I've been using it with no problem on two websites, adding pictures trough the batch system, after uploading the pictures via FTP...

But, one day to another (exatly, today), in one of those sites, when I uploaded a picture to an already existent folder, I went to "batch", and the picture didn't appear. I tried with some other pictures, and still nothing. I even created a new folder and it never appeared on the batch list of folders availables to add pictures from.

The folders are chmoded to 777, since til yesterday I could add pictures. Anyhow, I did it again, but still nothing.

I'm really concerned since I have around 1500 pictures already added to the gallery.

The folders are not below the coppermine folder, but above it.

I'd really appreciate your help, since I'm desperate!

Thank you in advance!
Title: [Solved] 1.2 Batch Add - Picture Not Found
Post by: egm_ar on April 18, 2004, 10:47:22 pm
No reply for this?

Please I really need to know what could be the problem, since I have more than 1500 pictures in my gallery and if I cannot add more pictures to it I'll just have to uninstall Coppermine and install some other gallery script, 'cause I wouldn't be sure to install Coppermine again.

That would me sad 'cause I think Coppermine is a fantastic script since I've used it in another website.
Title: [Solved] 1.2 Batch Add - Picture Not Found
Post by: Joachim Müller on April 18, 2004, 10:55:33 pm
never actually tested this, but to be sure I think you should have your "albums" dir within your coppermine folder, not somewhere else. Hard to say what went wrong - sounds like you "over-modified" things a bit. Usually, if there's no reply people simply don't know the answer. What's the point in answering "I don't know" then?

GauGau
Title: [Solved] 1.2 Batch Add - Picture Not Found
Post by: Casper on April 18, 2004, 10:57:13 pm
Please explain exactly the path to your pics you ftp'd, i.e., cpg/albums/your_foldername/..., or cpg/albums/userpics/your_foldername/...

Are you sure the new pics are good, not too big etc.
Title: [Solved] 1.2 Batch Add - Picture Not Found
Post by: egm_ar on April 18, 2004, 11:16:04 pm
The path to my pics folder are:
ie:
*www/race/aep
*Coppermine is at www/galeria

So in the config page of cpg i set the directories where I'd like to batch pictures like this: "../" , and in that way I got pictures from albums above.

I did that (instead of creating albums below cpg folder) because I used to have my galleries organized like that in my previous site configuration, and I didn't want to move all the folders and its files.

The pictures have the right size and all are jpg.

Would you recommend me to move all my folders under cpg folder (inside the "album" file)?
Title: [Solved] 1.2 Batch Add - Picture Not Found
Post by: Casper on April 18, 2004, 11:40:28 pm
Yes, normally coppermines batch add utility will only see folders in the cpg/albums/ folder (do not use the userpics folder)
Title: [Solved] 1.2 Batch Add - Picture Not Found
Post by: egm_ar on April 18, 2004, 11:52:28 pm
Well, I think I'll just have to move them.

Now, do you think there is a way I could move my old folders inside the cpg folder so I won't lose all the info of the already added pictures (such as comments, votes, etc.)?

Thank you very much for your answer.
Title: [Solved] 1.2 Batch Add - Picture Not Found
Post by: Joachim Müller on April 19, 2004, 12:10:02 am
sure, just move the folder the pics are in and change the path info in coppermine config and you should be done, since coppermine stores only the relative path info (within albums directory to pic) in the database.
If you're afraid to break things, make it a two-step process: create a copy of your current folder where your pics are stored and put this copy into your coppermine folder. Then switch the settings in coppermine config and check if everything went as expected. If yes, you can delete the original "albums" folder (leaving the new one within coppermine intact) and you're done; if it fails you can just switch back in your config.

GauGau
Title: [Solved] 1.2 Batch Add - Picture Not Found
Post by: egm_ar on April 19, 2004, 05:18:27 am
It didn't work  :?

I moved the directories inside cpg/albums, changed the config by putting the path "albums/", but when I checked, all I saw in my gallery were broken image links.

Even so, I went to "batch", and the only folder that it was showed was "userpics". The folders I had just moved never showed up.

Nevertheless, I read that one must not create new folders inside the "userpics" folder. Well, never having read that, I noticed that in my other site where I have cpg running with no problem for two months, I had created my folders inside "userpics".

The thing is that I have to upload dozens of pictures per day, and each day that pass by more work is being piled up, so I guess I'll just have to uninstall cpg and start all over.

Now, I'd really love to install cpg again, 'cause it is a great script, but, would I have the same problem? What can you recommend me to do?

I'm really motionless with this issue, since the only thing I modified of the files I used for my other site are the templates for the theme.

Thank you very much on everything
Title: [Solved] 1.2 Batch Add - Picture Not Found
Post by: Joachim Müller on April 19, 2004, 07:50:24 am
you must not create folders nor ftp-upload within "userpics" - see http://coppermine.sourceforge.net/manual.php#batch_add_pics
Please give us a link to your page (and a non-admin test user if necessary).

GauGau
Title: [Solved] 1.2 Batch Add - Picture Not Found
Post by: egm_ar on April 19, 2004, 08:17:51 am
Hi gaugau....I must have missed that warning about not creating albums under "userpics", but well...

Now, you can see my cpg at http://www.aeropuertosarg.com.ar/galeria

User: testuser
Pass: cpg

If got to need an user with more "privileges" please send me a private message and I will create it for you.

Thank you again for your help
Title: [Solved] 1.2 Batch Add - Picture Not Found
Post by: tabassman on April 19, 2004, 08:37:20 am
where are the pics stored in the albums folder?

heres the URL to one of the pics that didnt work:
http://www.aeropuertosarg.com.ar/galeria/albums/Rano/ctc/ctcfrente.jpg

even the Rano folder doesnt seem to exist.  are you sure you have these files in the right place?
Title: [Solved] 1.2 Batch Add - Picture Not Found
Post by: egm_ar on April 19, 2004, 09:15:19 am
All those folders are stored under "galeria/albums"....

You know, now that you told me that you failed trying to see a picture by its link, i tried, and failed too  :?

But, just to be sure, I went to the folder in my ftp program, and the picture was there, just as the folders and subfolders, so, as Homer once said "Sweet merciful crap!  My _car_!" (or, "my site!")  :P
Title: [Solved] 1.2 Batch Add - Picture Not Found
Post by: Joachim Müller on April 19, 2004, 09:19:38 am
@egm_ar: where are the pics actually located at? Please post a deep link to a jpeg file, so I can verify your settings. Please keep in mind that on Lunix systems upper/lower case does matter. Also make sure that the webserver has access right (CHMOD accordingly).

GauGau

P.S. Are you posting with two different usernames, or is it two of you asking for support on this issue
Title: [Solved] 1.2 Batch Add - Picture Not Found
Post by: egm_ar on April 19, 2004, 09:36:04 am
Well, a deep link to a jpeg file, is (following via FTP):

http://www.aeropuertosarg.com.ar/galeria/albums/Rane/res/res091002.jpg

I tried to access it via my browser and it gives me 404 error.

The folder "galeria" is chmoded 755, the folder "albums", 777, and so "Rane" and "res"...all is in lower-case except Rano, where "R" is upper-cased.

The folder structure I have follows my categories and albums structure.
So, I have, inside "Albums", four main folders: "Rano", "Rane", "Race" and "Rasu" (that equals the four main categories). Inside these four main folders, I have between 10 and 20 folders that equals the albums inside the four main categories.

Gaugau, I've been loggin under only one username, so there must be another one posting about these.
Title: [Solved] 1.2 Batch Add - Picture Not Found
Post by: Joachim Müller on April 19, 2004, 09:48:47 am
obviously there's something wrong with your folders if http://www.aeropuertosarg.com.ar/galeria/albums/Rane/res/res091002.jpg isn't there. May sound too obvious, but did you remember to not only move the albums dir on your local copy, but on the server itself as well. I don't get a 404, I get nothing at all (which is even worse).

GauGau
Title: [Solved] 1.2 Batch Add - Picture Not Found
Post by: tabassman on April 19, 2004, 04:04:23 pm
i was just posting to help him verify the actual location of the pics.  sorry for the confusion. :)
Title: [Solved] 1.2 Batch Add - Picture Not Found
Post by: egm_ar on April 19, 2004, 06:57:10 pm
I work directly on my server, so that is not a problem... (and if it was I believe you'd have like to kill me :P )

Now, this is getting way to much stranger.

I'll contact my server administrator, because I don't think that cpgh has something to do with not being able to see a determined file in a determined folder....there must be something wrong with the server itself...what do you think?
Title: [Solved] 1.2 Batch Add - Picture Not Found
Post by: Joachim Müller on April 20, 2004, 08:38:30 am
if you're sure the pic is there, but it can't be browsed then yes, it might help to contact your server admin.

GauGau
Title: [Solved] 1.2 Batch Add - Picture Not Found
Post by: egm_ar on April 20, 2004, 07:17:00 pm
Well gaugau, here's the prove that many times big problems are caused by hughe stupids things......

First thing first, everything's solved. My cpg is working perfectly..

Now...what's been going on?

As I said I would, I contacted my server admin. Almost one day after, they told me that the problem was that they changed the server of mi site. The thing is that I always used to have access to my site files via FTP, my site IP, instead of ftp.mysite.com.....'Cause they changed the server, the IP changed, and consequently, although I had access to my site by using the IP, the files I uploaded were ending up in the "old" server, and unwatchable via www.aeropuertosarg.com.ar...

Of course, they never told me to change my ip for my ftp address 'tll yesterday. And I'll just stop here 'cause I don't think cursing them would ruin this lovely forum enviroment.

Thank you very much for your help during this journey!