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]   Go Down

Author Topic: Cannot upload files ...  (Read 4908 times)

0 Members and 1 Guest are viewing this topic.

bryan

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 53
    • http://www.bryanchung.per.sg
Cannot upload files ...
« on: June 25, 2004, 03:08:06 pm »

I always get this error wanting to upload a file ...

Code: [Select]
Warning: move_uploaded_file(./albums/edit/mHTTP_temp_1e0d91c5.jpg): failed to open stream: Permission denied in /sites/staff/teens/www/photos/upload.php on line 1193

Warning: move_uploaded_file(): Unable to move '/tmp/phpaH4XIM' to './albums/edit/mHTTP_temp_1e0d91c5.jpg' in /sites/staff/teens/www/photos/upload.php on line 1193

What is wrong? The permission of upload.php is 644.

Bryan
« Last Edit: July 02, 2004, 04:00:48 pm by bryan »
Logged

Nibbler

  • Guest
Re: Cannot upload files ...
« Reply #1 on: June 25, 2004, 04:48:47 pm »

You need to change permissions on the edit directory to allow the script to put files ther, usually 777 or 775
Logged

bryan

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 53
    • http://www.bryanchung.per.sg
Re: Cannot upload files ...
« Reply #2 on: June 25, 2004, 06:34:24 pm »

Oh correct. Thanks :)

bryan

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 53
    • http://www.bryanchung.per.sg
Re: [Solved]: Cannot upload files ...
« Reply #3 on: July 02, 2004, 03:59:52 pm »

Nono this is still unsolve...

I always get this problem

Warning: opendir(./albums/edit): failed to open dir: No such file or directory in /sites/staff/teens/www/photos/upload.php on line 406

That is even after I uploaded the folder in.

bryan

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 53
    • http://www.bryanchung.per.sg
Re: Cannot upload files ...
« Reply #4 on: July 02, 2004, 07:36:58 pm »

The folder just gets deleted itself after some time. Why?

Nibbler

  • Guest
Re: Cannot upload files ...
« Reply #5 on: July 02, 2004, 09:54:39 pm »

This is a known bug, but with no known cause or solution so far I'm afraid.
Logged

bryan

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 53
    • http://www.bryanchung.per.sg
Re: Cannot upload files ...
« Reply #6 on: July 03, 2004, 05:50:42 am »

Oh alright. I really hope there will be a patch SOON.
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.