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 19266 times)

0 Members and 1 Guest are viewing this topic.

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 #20 on: July 19, 2004, 09:57:42 pm »

no, I think it's time to contact your webhost, trying to create a tmp folder's just a last straw.

Ask them about open_basedir restriction.

GauGau
Logged

Keith

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

Just so I understand the situation...

Coppermine is trying to create a temporary directory called 'tmp' using PHP code/function 'open_basedir' but it can't for some reason due to restrictions.. correct?

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 #22 on: July 20, 2004, 07:11:12 am »

not exactly. Coppermine is trying to open a file handle with the function opendir(), but isn't allowed to. For details, refer to http://www.php.net/manual/de/function.opendir.php and http://www.php.net/features.safe-mode
Most important is the error message posted above when the function is being executed (<?php $handle = opendir('/albums/gaugau'); ?>). In other words: tell them "if I use opendir(), I get the error XXX".

GauGau
Logged

Keith

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: "No new file was found" message after FTP new files...
« Reply #23 on: July 26, 2004, 03:29:59 am »

Gau...

Opened a support call with my hosting server and gave them the error.  I created a PHP file called test.php with your opendir code to reproduce the error...

They changed it to the full server path and it does not give that error.

path = /home/stlpc/public_html/pictures/albums/BBQ_2004

Script is here...
http://www.stlpreludeclub.com/pictures/test.php

I tried playing around the configurations 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 #24 on: July 26, 2004, 07:10:39 am »

OK, when I try to upload I get a different error:
Quote
Failed to create directory albums/albums/10006 !



Warning: mkdir(albums/albums/10006): No such file or directory in /home/stlpc/public_html/pictures/upload.php on line 2192
This seems to be a permissions error again, this time with mkdir (this creates a new sub-directory). Check CHMOD settings once again and report back.

GauGau
Logged

Keith

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: "No new file was found" message after FTP new files...
« Reply #25 on: July 26, 2004, 07:20:29 am »

OK, when I try to upload I get a different error:
Quote
Failed to create directory albums/albums/10006 !



Warning: mkdir(albums/albums/10006): No such file or directory in /home/stlpc/public_html/pictures/upload.php on line 2192
This seems to be a permissions error again, this time with mkdir (this creates a new sub-directory). Check CHMOD settings once again and report back.

GauGau

It's has 777 permissions... (all files, all folders starting from 'pictures' folders all the way down.

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 #26 on: July 26, 2004, 07:21:54 am »

try 755, your server seems to be configured "exotically".

GauGau
Logged

Keith

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: "No new file was found" message after FTP new files...
« Reply #27 on: July 26, 2004, 07:31:33 am »

try 755, your server seems to be configured "exotically".

GauGau

Now most of the folders are 'Not writable" when I go into the batch add files.

Thanks for you help Gau. Let me know if you want full FTP permissions to help track this problem down and I'll give you access. :)

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 #28 on: July 26, 2004, 07:37:47 am »

urm, I think it's likely that your webhost has configured your server, so you're not able to run mkdir at all. Could you ask them for support again, asking if you can use mkdir and what CHMOD settings you will need for that?

Thanks

GauGau
Logged

Keith

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: "No new file was found" message after FTP new files...
« Reply #29 on: July 27, 2004, 09:08:54 pm »

urm, I think it's likely that your webhost has configured your server, so you're not able to run mkdir at all. Could you ask them for support again, asking if you can use mkdir and what CHMOD settings you will need for that?

Thanks

GauGau

They made some changes but I still can't get the batch add to work.  Gau, do you want to try the mkdir again?

Keith
Logged

boesh

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: "No new file was found" message after FTP new files...
« Reply #30 on: March 20, 2005, 10:38:22 pm »

I have the same trouble, how did you guys solve this one?
Logged

boesh

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Logged

efferent

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: "No new file was found" message after FTP new files...
« Reply #32 on: April 10, 2005, 09:34:07 pm »

i'm getting the 'no new files uploaded' too.... it used to work but doesn't now.... :(

i can see the folder and its writable but no luck of late....

dekade
Logged
Pages: 1 [2]   Go Up
 

Page created in 0.023 seconds with 20 queries.