[Solved]: Warning: OpenDir: No such file or directory (errno 2) ... [Solved]: Warning: OpenDir: No such file or directory (errno 2) ...
 

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

[Solved]: Warning: OpenDir: No such file or directory (errno 2) ...

Started by laiwans, July 21, 2004, 10:00:05 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

laiwans

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

Joachim Müller

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

flyte

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

Joachim Müller

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

flyte

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

flyte

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