Advanced search  

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]

Pages: [1]   Go Down

Author Topic: No file was uploaded  (Read 5506 times)

0 Members and 1 Guest are viewing this topic.

a2ms

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
No file was uploaded
« on: March 07, 2007, 07:42:10 pm »

Believe me I already search through this forum for an answer, but couldn't find any solution!!

I've got this error:

Code: [Select]
No file was uploaded !

If you have really selected a file to upload, check that the server allows file uploads...

File: /hermes/web06/b2966/pow.va2ms/htdocs/galeria/db_input.php - Line: 311

At first the error it showed was on line 355, and i fixed adding the SILLY_SAFE_MODE.

All permissions are set to 777 in '/albums' and all its subfolders

The relevant php.ini data is:

Code: [Select]
file_uploads On
upload_max_filesize 5M
upload_tmp_dir no value
post_max_size 8M
memory_limit 18M

.
.
.

Environment

TMPDIR /home/users/web/b2966/pow.va2ms/htdocs/galeria/cgi-bin/tmp

However the URL/URI uploads work OK

Please check my site:

user: testuser
password: test
url: http://galeria.consejo-estudiantil.com/

I really hope someone can help me soon
« Last Edit: March 08, 2007, 06:27:52 am by Stramm »
Logged

Nibbler

  • Guest
Re: No file was uploaded
« Reply #1 on: March 07, 2007, 07:45:13 pm »

TMPDIR    /home/users/web/b2966/pow.va2ms/htdocs/galeria/cgi-bin/tmp

Does that directory exist and is it writable?
Logged

a2ms

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: No file was uploaded
« Reply #2 on: March 07, 2007, 07:51:25 pm »

It does exists and has mode 755
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: No file was uploaded
« Reply #3 on: March 07, 2007, 07:57:54 pm »

has php access to the systems tmp dir?? Check open_basedir, maybe it's restricting and php can't save data in the systems tmp dir. Then you need to specify a dir with upload_tmp_dir or add the systems tmp dir to open_basedir

a2ms

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: No file was uploaded
« Reply #4 on: March 07, 2007, 10:53:45 pm »

in the php.ini file open_basedir has no value, how can i know if it has acces to the system tmp dir?
i'll try ssigning the upload_tmp_dir to /home/users/web/b2966/pow.va2ms/htdocs/galeria/cgi-bin/tmp
Logged

a2ms

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: No file was uploaded
« Reply #5 on: March 07, 2007, 10:55:31 pm »

btw what should go on the open_basedir?
Logged

Nibbler

  • Guest
Re: No file was uploaded
« Reply #6 on: March 07, 2007, 11:08:27 pm »

Nothing.
Logged

a2ms

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: No file was uploaded
« Reply #7 on: March 08, 2007, 01:12:54 am »

My last idea didn't worked out well, however i discover another tmp directory used by my webhost provider:

upload_tmp_dir = upload_tmp_dir to /home/users/web/b2966/pow.va2ms/htdocs/cgi-bin/tmp

Now it works!!!!

anyway thank ypou very much.. and you can classify this as solved

Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.