Batch add files - No new file was found - Error Batch add files - No new file was found - Error
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Batch add files - No new file was found - Error

Started by bence8810, April 08, 2007, 09:30:33 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bence8810

Dear Forum,

I have a strange problem with my forum just recently. Its on a hosted server and recently I am unable to add files with the Batch-add function.

I have read through the Troubleshooting docs, and tried everything. I am able to add files with the Single file upload method just fine, the problem is only with the Batch add. There are numerous files in the folder from where I am trying to add them, but it says No new file was found.

http://www.celifornia.com/fotoalbum/  is the link to the gallery, and the test account is

test test

Thanks for any help, and the forum is prepared with all things the troubleshooting suggested for,

Ben

bence8810

Hi

So this error is not resolvable? I tried with my hosting support, and they have no idea either.

Any pointers on this? Shall I wipe out Coppermine and try a reinstall? That would be painful because I have over 500 MB pictures, and I really liked it, until it worked/

Thanks,

Ben

Hein Traag

Try searching using "No new file was found" as the search criteria.

Does the folder you upload the pictures into with ftp has any special characters ? Do not use periods in foldernames. If a foldernames is like folder.name rename it to folder_name using a _ instead of a . character.
As mentioned in this thread: http://forum.coppermine-gallery.net/index.php?topic=40079.0

Did you try shortening the foldernames into which you upload the pictures ? To prevent server side limitations.
As mentioned in this thread: http://forum.coppermine-gallery.net/index.php?topic=37757.0

If the problem persists post a deeplink to one of the pictures in the album from which your trying to batch add.

Hein

bence8810

Hi

Thanks for picking this up. None of the above worked, and I have longer file-names and longer Folder names.

But to be sure, I shoprtened the foldername, and the filename as well.

Here is a deeplink to it,

http://www.celifornia.com/fotoalbum/albums/Europe/Czech/p287.jpg

Thanks

Ben

Hein Traag

I assume you did try the troubleshooting steps as mentioned here http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble

The folder are also properly chmodded ? If all else fails then a reinstall can be done. But you don't need to remove the albums folder. Backup your DB. Remove the cpg files (except for the albums folder) and then reinstall. You then still have the pictures on the server. And you can use CPGMassImport from here http://cpg-contrib.org/board/index.php?PHPSESSID=d397e71d95735abcf9f26c24823aff95&board=25.0 to add the pictures to your cpg in 1 go. CPGMassimport then imports all pictures and makes albums based on the folder structure.

Joachim Müller

I don't recommend re-installing. Re-uploading the coppermine core files and reviewing permissions should have the same effect.

bence8810

Hi

I have the coppermine gallery now replicated to another server at home, and its doing the same thing, cannot batch-upload. Something is definetally wrong.

Can you suggest which files to re-upload? Will this still keep the modifications I have made in the theme?

Thanks

Ben

bence8810

Hope you dont take this as bugging, but I am still interested in getting to know which files exactly to upload to have a "reinstall" effect on the site, which might fix my gallery's batch add function.

Thanks

Ben

Joachim Müller

All the files except anycontent.php. If you did as suggested and renamed your custom theme, then nothing can go wrong. Just do as suggested in the upgrading section of the docs.

bence8810

Hi

I have uploaded all files, but still receive the same error. No new file was found.

What shall I do?

Also, after I re-uploaded all files, except the one you above mentioned, the site was working great, without any problems. Is that normal?

Thanks

Ben

Joachim Müller


bence8810

Hi

Its a hosted server, so I dont know exactly what distro they use, but for sure its Linux, and this is what I see from the Cpanel:

Operating system Linux
Service Status Click to View
Kernel version 2.6.9-42.0.10.ELsmp
Machine Type i686
Apache version 1.3.37 (Unix)
PERL version 5.8.6
Path to PERL /usr/bin/perl
Path to sendmail /usr/sbin/sendmail
Installed Perl Modules Click to View
PHP version 4.4.3
MySQL version 4.0.27-standard
cPanel Build 10.9.0-STABLE 9966
Theme cPanel X v2.6.0 
Documentation Click to View
cPanel Pro 1.0 (RC36) 


As for my home server onto which I migrated the site (and also doesnt work) is Debian Etch linux.

The thing that has me going is that I have the same site at two places, and the batch add function doesnt work the same way. I am sure I did something wrong, and it was migrated to the other location as well.

Any help is appreciated,

Thanks

Ben

Joachim Müller

Send me a PM that contains:
* a link to this thread
* a coppermine admin account
* FTP access data
and I'll see what I can do

bence8810

PM sent, thanks for checking this out for me.

Ben

Joachim Müller


bence8810

Hi

I checked the permissions of all files, and they are all owned by the same user:group (myuser:myuser) except the thumb_ pictures of the already added albums, those are owned by nobody:nobody

Should this be fine? Also, I have the same album on a different server, and on that its producing the same error. On that server all files are owned by www-data:www-data, even the thumbs.

What do you think might be wrong?

Thanks

Ben

Joachim Müller

Yes, this indeed looks fishy. All files should be owned by the same user. Try CHOWNing if you can.

bence8810

Hi

My hosting admin did the chowning for me as I had no access, but it still doesnt work, same sympthom.

Any other ideas? Again, its producing the same very same error at home on my dev server.

Thanks

Ben

Joachim Müller

In searchnew.php, coppermine uses the $_GET variables. Make sure that you don't have a hardening patch in place that keeps the script from using the URL parameters.

bence8810

Hi

This hardening patch would be on the server side, or in the file itself? If on the server side, then its unlikely, as I have it on two different server, with two different providers, and it does the same thing.

If its in the file, what should I check for?

Thanks

Ben