[strange] upload problem! [/strange] [strange] upload problem! [/strange]
 

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

[strange] upload problem! [/strange]

Started by oeteldonker, January 05, 2005, 03:14:35 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

oeteldonker

hi guys,
i've got this problem, every time i upload a picture, 31 kb, *.jpg i get this error:
The picture I tried to upload is 12.jpg.


The problem isn't really uploading a file, it is more in the final step to move the uploaded picture to a final destination.

as you can see in the error, there's no hash behind  'PIC__'   ?!?!?!

( when i go check in the ftp dir the file in question does have a hash!?!?!? (PIC__3921),  the code just can't seem to find it in the dir?!? )

i don't know how to adjust the code so that upload.php can see the 'PIC__' + Hash.



---------
ERROR
---------

Warning: rename(./albums/edit/PIC__.jpg,albums/userpics/10001/12.jpg):

No such file or directory in /data/members/paid/w/i/wijnmaalen.net/htdocs/www/fotoalbum/upload.php on line 2228

----------
/ERROR
----------

This is the code that comes along:

--------
CODE
--------

                             // Move the picture into its final location
line 2228 ----> ||      if (rename($path_to_image, $uploaded_pic)) {          ||  <---- line 2228

---------
/CODE
---------

And ofcourse my question...

HOW CAN I MAKE IT WORK!!!  >:( >:( >:(
I'M REALLY GOING CRAZY OVER HERE!!

Thnx in advance!

oeteldonker

Joachim Müller

does the edit folder exist, and is it writable for php?

Joachim

oeteldonker

'album' = CHMOD = 777

in fact, i have every file in the 'coppermine folder' set to CHMOD '777'
i don't know if i need is anything else left to do?!

greetz oeteldonker

Joachim Müller

post link and test user account (non admin) please.

Joachim