"No new file was found" message after FTP new files... - Page 2 "No new file was found" message after FTP new files... - Page 2
 

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

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.

Joachim Müller

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

Keith

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

Joachim Müller

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

Keith

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

Joachim Müller

OK, when I try to upload I get a different error:
QuoteFailed 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

Keith

Quote from: GauGau on July 26, 2004, 07:10:39 AM
OK, when I try to upload I get a different error:
QuoteFailed 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

Joachim Müller

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

GauGau

Keith

Quote from: GauGau on July 26, 2004, 07:21:54 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

Joachim Müller

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

Keith

Quote from: GauGau 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

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

boesh

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


efferent

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