"No new file was found" message after FTP new files... "No new file was found" message after FTP new files...
 

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

"No new file was found" message after FTP new files...

Started by Keith, July 18, 2004, 06:43:31 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Keith

Hey guys,

I uploaded new files via FTP in a file folder on my server.  When I try to use the Batch Add function to link them to an album, I get a message "No new file was found" even thought they are all new files in the folder.  The folder has no periods in the name (I did a search and found that to be the cause in the past).  The folder and files in there have been chmoded with 777 permissions.  I tried changing the name of the folder and files with no luck... Any idea guys?

Cheers,

Keith

Joachim Müller

does this folder happen to reside within "userpics"? Well, it mustn't. Create a folder outside of "userpics" (but within the "albums" folder) and you should be able to see it in batch-add.

GauGau

Keith

Hey Gau,

No, it does not.  The folder 'BBQ 2004' resides in 'albums' but NOT in 'userpics' folder...  strange eh?

Keith

Joachim Müller

hm, strange indeed. Could you post a screenshot from your ftp client that shows the content of the folder - maybe there's something strange with the files. Also make sure there's no .htaccess file inside the folder that disallows the listing of the folder.

GauGau

Keith

I could actually give you access to that folder if you want Gau so you can take a peek...  there is no .htaccess file inside the folder.

But something else I noticed too... I get the same 'No new file was found' message with every folder I try to the batch add function to...

Keith



Joachim Müller

OK, then this is probably a permissions issue imo. Re-CHMOD your albums folder (make sure that the changes propagate to all child folders and files). Try both 755 and 777 and check if this makes any difference (don't trust the status you ftp client shows you).

GauGau

Keith

CHMODed 'albums' folder and child folders as well using 755 and 777 permissions.... still no luck. :(

Keith

Joachim Müller

hm, running out of ideas then. Please post a link to your page, so we can have a look.

GauGau

Keith

www.stlpreludeclub.com/pictures

Open an account and I'll give admin rights...

Thanks for your help!

Keith

Joachim Müller

you're apparently using cpg1.3.0 - please upgrade to cpg1.3.1 and report if this fixes things for you.

GauGau

Keith

Yeah, I'm on 1.3.0.  How do I upgrade without blowning all the work I already did (albums, pictures, batch adds, etc)?  I just uploaded 1.3.1 and it looks like I have to start from scratch.  I did back up all the files + folders I overlaid.

Keith

Joachim Müller

no, you just download cpg1.3.1, unzip it, overwrite all files on your server with the files that comes with the cpg1.3.1 package and run "update.php" in your browser, that's it. You should backup include/config.inc.php before upgrading, and creating a mySQL dump won't hurt as well (might be handy if you should mess up, although the process is pretty fool-proof). Please refer to the documentation that comes with coppermine, there are detailed upgrade instructions in it.

GauGau

Keith

Thanks Gau... upgraded but still no worky...

Keith

Tobbe

glad to finale find a thread with the same problem i have.

followed all instructions you gave, GauGau, but it is still not working
my folders with the pictures are in the /albums folder, i checked the chmod stuff, upgraded to cpg1.3.1, but still "No new file was found"

Joachim Müller

@Keith: please send me an admin login by PM.

GauGau

kegobeer

QuoteThe folder 'BBQ 2004'
Have you tried renaming the folder to BBQ_2004?  (Get rid of the space)
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Keith

Quote from: kegobeer on July 19, 2004, 07:04:27 AM
QuoteThe folder 'BBQ 2004'
Have you tried renaming the folder to BBQ_2004?  (Get rid of the space)

It shouldn't make a difference but I just tried and it still doesn't work.

Keith

Joachim Müller

Now this is strange: with the ftp data you sent me, I created a sub-folder within albums and CHMODed to 777 - as you already reported, there were no files visible in batch-add that were actually there. Then I CHMODed the folder to 755, and btach-add showed "folder not writable". I will have to look into searchnew.php (the file responsible for batch-add), will report back.

GauGau

Joachim Müller

OK, we're getting somewhere: when test opendir with a test script like this: <?php $handle opendir('/albums/gaugau'); ?>on your server, I get this error message:
QuoteWarning: opendir(): open_basedir restriction in effect. File(/albums/gaugau) is not within the allowed path(s): (/home/stlpc:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/stlpc/public_html/pictures/test.php on line 1

Warning: opendir(/albums/gaugau): failed to open dir: Operation not permitted in /home/stlpc/public_html/pictures/test.php on line 1
Here's some info about "open_basedir restriction": http://forum.coppermine-gallery.net/index.php?topic=5852.0
You should try creating a tmp folder in your webroot (can't do that, since you gave me ftp powers on your coppermine folder only): http://forum.coppermine-gallery.net/index.php?topic=2403.0
Alternatively (or if doesn't help), contact your webhost on this issue.

GauGau

Keith

Quote from: GauGau on July 19, 2004, 06:18:56 PM
OK, we're getting somewhere: when test opendir with a test script like this: <?php $handle opendir('/albums/gaugau'); ?>on your server, I get this error message:
QuoteWarning: opendir(): open_basedir restriction in effect. File(/albums/gaugau) is not within the allowed path(s): (/home/stlpc:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/stlpc/public_html/pictures/test.php on line 1

Warning: opendir(/albums/gaugau): failed to open dir: Operation not permitted in /home/stlpc/public_html/pictures/test.php on line 1
Here's some info about "open_basedir restriction": http://forum.coppermine-gallery.net/index.php?topic=5852.0
You should try creating a tmp folder in your webroot (can't do that, since you gave me ftp powers on your coppermine folder only): http://forum.coppermine-gallery.net/index.php?topic=2403.0
Alternatively (or if doesn't help), contact your webhost on this issue.

GauGau


I created a tmp folder in the www directory and gave it full persmissions... still no luck.  Gau, let me know if you would like full permissions to our webserver and I'll make it happen.

Keith