Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1] 2   Go Down

Author Topic: "No new file was found" message after FTP new files...  (Read 19382 times)

0 Members and 1 Guest are viewing this topic.

Keith

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
"No new file was found" message after FTP new files...
« on: July 18, 2004, 06:43:31 am »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: "No new file was found" message after FTP new files...
« Reply #1 on: July 18, 2004, 08:36:38 am »

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
Logged

Keith

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: "No new file was found" message after FTP new files...
« Reply #2 on: July 18, 2004, 08:45:01 am »

Hey Gau,

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

Keith
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: "No new file was found" message after FTP new files...
« Reply #3 on: July 18, 2004, 08:50:57 am »

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
Logged

Keith

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: "No new file was found" message after FTP new files...
« Reply #4 on: July 18, 2004, 08:57:07 am »

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


Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: "No new file was found" message after FTP new files...
« Reply #5 on: July 18, 2004, 09:08:55 am »

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
Logged

Keith

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: "No new file was found" message after FTP new files...
« Reply #6 on: July 18, 2004, 09:18:13 am »

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

Keith
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: "No new file was found" message after FTP new files...
« Reply #7 on: July 18, 2004, 07:51:42 pm »

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

GauGau
Logged

Keith

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: "No new file was found" message after FTP new files...
« Reply #8 on: July 18, 2004, 07:57:10 pm »

www.stlpreludeclub.com/pictures

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

Thanks for your help!

Keith
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: "No new file was found" message after FTP new files...
« Reply #9 on: July 18, 2004, 08:01:42 pm »

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

GauGau
Logged

Keith

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: "No new file was found" message after FTP new files...
« Reply #10 on: July 18, 2004, 08:24:32 pm »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: "No new file was found" message after FTP new files...
« Reply #11 on: July 18, 2004, 08:28:57 pm »

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
Logged

Keith

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: "No new file was found" message after FTP new files...
« Reply #12 on: July 18, 2004, 09:04:16 pm »

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

Keith
Logged

Tobbe

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: "No new file was found" message after FTP new files...
« Reply #13 on: July 18, 2004, 09:35:53 pm »

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"
« Last Edit: July 18, 2004, 09:47:02 pm by Tobbe »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: "No new file was found" message after FTP new files...
« Reply #14 on: July 19, 2004, 06:59:09 am »

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

GauGau
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: "No new file was found" message after FTP new files...
« Reply #15 on: July 19, 2004, 07:04:27 am »

Quote
The folder 'BBQ 2004'
Have you tried renaming the folder to BBQ_2004?  (Get rid of the space)
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: "No new file was found" message after FTP new files...
« Reply #16 on: July 19, 2004, 07:15:23 am »

Quote
The 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: "No new file was found" message after FTP new files...
« Reply #17 on: July 19, 2004, 05:06:31 pm »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: "No new file was found" message after FTP new files...
« Reply #18 on: July 19, 2004, 06:18:56 pm »

OK, we're getting somewhere: when test opendir with a test script like this:
Code: [Select]
<?php $handle opendir('/albums/gaugau'); ?>on your server, I get this error message:
Quote
Warning: 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
Logged

Keith

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: "No new file was found" message after FTP new files...
« Reply #19 on: July 19, 2004, 06:41:18 pm »

OK, we're getting somewhere: when test opendir with a test script like this:
Code: [Select]
<?php $handle opendir('/albums/gaugau'); ?>on your server, I get this error message:
Quote
Warning: 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
Logged
Pages: [1] 2   Go Up
 

Page created in 0.024 seconds with 19 queries.