coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: laiwans on July 21, 2004, 10:00:05 AM

Title: [Solved]: Warning: OpenDir: No such file or directory (errno 2) ...
Post by: laiwans on July 21, 2004, 10:00:05 AM
Hi Expert,

I am new in coppermind. I installed the lastest version of Coppermind gallery.
Then, i tried to upload the photo and created album. I uploaded 4 photos and then preview.

When i go to upload the photo again, the upload page showed  the message
"Warning: OpenDir: No such file or directory (errno 2) in /var/www/html/baby/vivien/album/upload.php on line 409" on the top.

I also try to select the file and upload it. The next page showed the message
Warning: Unable to create './albums/edit/mHTTP_temp_3acb9c60.jpg': No such file or directory in /var/www/html/baby/vivien/album/upload.php on line 1197

Warning: Unable to move '/tmp/phpPPVVRV' to './albums/edit/mHTTP_temp_3acb9c60.jpg' in /var/www/html/baby/vivien/album/upload.php on line 1197

and there are 0 uploaded successful.

I have tried to reinstall the whole portal, the problem is still occured.
Thank you for your help!!

Dee Wong
Title: Re: Warning: OpenDir: No such file or directory (errno 2) ...
Post by: Joachim Müller on July 21, 2004, 01:04:38 PM
make sure you have an "edit" folder within the albums folder, and make sure you have CHMODed as suggested in the documentation. Do you run cpg1.3.0 or cpg1.3.1? You should run cpg1.3.1 anyway!

GauGau
Title: Re: Warning: OpenDir: No such file or directory (errno 2) ...
Post by: flyte on July 24, 2004, 05:28:05 PM
hi,

I've installed cpg1.3.1 and have the same problem...

sometimes the upload.php cancels and the the edit folder is removed!

after creating it new it works short time, then the same happens...

flyte
Title: Re: Warning: OpenDir: No such file or directory (errno 2) ...
Post by: Joachim Müller on July 24, 2004, 05:42:11 PM
did you upgrade from a previous version of coppermine or did you install cpg1.3.1 from scratch? If you upgraded, make sure you have replaced all coppermine files on the server with the ones from the cpg1.3.1 package.

GauGau
Title: Re: Warning: OpenDir: No such file or directory (errno 2) ...
Post by: flyte on July 24, 2004, 06:17:20 PM
no, i've tried coppermine first time...

coppermine says this:


Die vorhergehende Datei konnte nicht gesetzt werden. // the file could NOT be placed (or somenthing)

Alle Dateien wurden erfolgreich Alben zugeordnet. // all files have been attached to albums succesfully (or so)

output of my linux server before this message:

Debian:/var/www/cpg1.3.1/albums# ls edit/
preview_323b1dba.jpg  preview_9e7e7f74.jpg


and after:

Debian:/var/www/cpg1.3.1/albums# ls edit/
ls: edit/: No such file or directory

--------------------

with coppermine 1.3.0 the same problem

message:

The previous file could not be placed.

You have successfully placed all the files.

and

Debian:/var/www/coppermine1.3.0/albums# ls edit/
index.html       mHTTP_temp_feb6bd36.jpg  preview_9236095b.jpg
mHTTP_temp_64e4bda9.jpg  preview_6c32868a.jpg
Debian:/var/www/coppermine1.3.0/albums# ls edit/
ls: edit/: No such file or directory
Title: Re: Warning: OpenDir: No such file or directory (errno 2) ...
Post by: flyte on July 24, 2004, 07:30:02 PM
ok, i found the problem...

it was a problem with imagemagick! now i set up gd2 and all works fine...

don't know where's the problem with imagemagick (debian woody - stable)

thx to you GauGau