No file was uploaded No file was uploaded
 

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

No file was uploaded

Started by a2ms, March 07, 2007, 07:42:10 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

a2ms

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

I've got this error:

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:


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

Nibbler

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

Does that directory exist and is it writable?

a2ms

It does exists and has mode 755

Stramm

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

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

a2ms

btw what should go on the open_basedir?

Nibbler


a2ms

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