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 miurdock, August 12, 2005, 10:52:53 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

miurdock

i don't know where to write so I write here..sory.. I have a problem, and i didn't find anything in forum that could help me...So:


No file was uploaded !

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

File: /home/freehost/t35.com/o/k/ok/galery/db_input.php - Line: 222

USER:
------------------
Array
(
    [ID] => 6012659a243bbaf65137216bcf34edf4
    [am] => 1
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => delfinai
    [user_password] => ********
    [user_lastvisit] => 2005-08-11 16:04:11
    [user_regdate] => 2005-08-11 16:02:24
    [user_group_list] =>
    [user_email] =>
    [user_website] =>
    [user_location] =>
    [user_interests] =>
    [user_occupation] =>
    [user_actkey] =>
    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 0
    [ufc_min] => 0
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 0
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
    [groups] => Array
        (
            [1] => 1
        )

)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content FROM cpg133_filetypes;
    [1] => SELECT * FROM cpg133_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '148884f8c8bf7b21c0e7dc23678a4e7f'
    [2] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg133_usergroups WHERE group_id in (1)
    [3] => SELECT group_name FROM  cpg133_usergroups WHERE group_id= 1
    [4] => DELETE FROM cpg133_banned WHERE expiry < '2005-08-12 05:00:26'
    [5] => SELECT * FROM cpg133_banned WHERE ip_addr='213.252.227.8' OR ip_addr='213.252.227.8' OR user_id=1
    [6] => SELECT category FROM cpg133_albums WHERE aid='3'
)

==========================
GET :
------------------
Array
(
)

==========================
POST :
------------------
Array
(
    [album] => 3
    [MAX_FILE_SIZE] => 1048576
    [title] => hgh
    [caption] =>
    [keywords] =>
    [event] => picture
)

==========================
VERSION INFO :
------------------
PHP version: 4.3.8 - OK
------------------
mySQL version: 5.0.10-beta-standard-log
------------------
Coppermine version: 1.3.3
==========================
Module: gd
------------------
module doesn't exist
==========================
Module: mysql
------------------
Active Persistent Links 0
Active Links 1
Client API version 3.23.49
MYSQL_MODULE_TYPE builtin
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value
==========================
Module: zlib
------------------
module doesn't exist
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | On | Off
safe_mode_exec_dir | /usr/local/php/bin | /usr/local/php/bin
safe_mode_gid | On | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | /usr/local/php/bin | /usr/local/php/bin
sql.safe_mode | Off | Off
disable_functions | system,exec,escapeshellarg,escapeshellcmd,passthru,proc_close,proc_open,shell_exec,chmod,chown,chroot,chgrp,fsockopen,ftp_connect,ftp_ssl_connect,pfsockopen,socket_connect,socket_create,socket_listen,socket_bind,socket_accept,socket_create_listen,socket_send,socket_write,socket_read,symlink,mail,rename,copy | no value
file_uploads | Off | On
include_path | .:/usr/local/lib/php | .:/usr/local/lib/php
open_basedir | /home/freehost | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /not/allowed | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 5 | 30
max_input_time | -1 | -1
upload_max_filesize | 2M | 2M
post_max_size | 185000 | 8M
==========================
Page generated in 1.6 seconds - 7 queries in 0.68 seconds - Album set :


so could u help me??? where should i CHMOD 777?? http://ok.t35.com/galery

miurdock

i don't know where to write so I write here..sory.. I have a problem, and i didn't find anything in forum that could help me...So:


No file was uploaded !

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

File: /home/freehost/t35.com/o/k/ok/galery/db_input.php - Line: 222

USER:
------------------
Array
(
    [ID] => 6012659a243bbaf65137216bcf34edf4
    [am] => 1
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => delfinai
    [user_password] => ********
    [user_lastvisit] => 2005-08-11 16:04:11
    [user_regdate] => 2005-08-11 16:02:24
    [user_group_list] =>
    [user_email] =>
    [user_website] =>
    [user_location] =>
    [user_interests] =>
    [user_occupation] =>
    [user_actkey] =>
    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 0
    [ufc_min] => 0
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 0
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
    [groups] => Array
        (
            [1] => 1
        )

)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content FROM cpg133_filetypes;
    [1] => SELECT * FROM cpg133_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '148884f8c8bf7b21c0e7dc23678a4e7f'
    [2] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg133_usergroups WHERE group_id in (1)
    [3] => SELECT group_name FROM  cpg133_usergroups WHERE group_id= 1
    [4] => DELETE FROM cpg133_banned WHERE expiry < '2005-08-12 05:00:26'
    [5] => SELECT * FROM cpg133_banned WHERE ip_addr='213.252.227.8' OR ip_addr='213.252.227.8' OR user_id=1
    [6] => SELECT category FROM cpg133_albums WHERE aid='3'
)

==========================
GET :
------------------
Array
(
)

==========================
POST :
------------------
Array
(
    [album] => 3
    [MAX_FILE_SIZE] => 1048576
    [title] => hgh
    [caption] =>
    [keywords] =>
    [event] => picture
)

==========================
VERSION INFO :
------------------
PHP version: 4.3.8 - OK
------------------
mySQL version: 5.0.10-beta-standard-log
------------------
Coppermine version: 1.3.3
==========================
Module: gd
------------------
module doesn't exist
==========================
Module: mysql
------------------
Active Persistent Links 0
Active Links 1
Client API version 3.23.49
MYSQL_MODULE_TYPE builtin
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value
==========================
Module: zlib
------------------
module doesn't exist
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | On | Off
safe_mode_exec_dir | /usr/local/php/bin | /usr/local/php/bin
safe_mode_gid | On | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | /usr/local/php/bin | /usr/local/php/bin
sql.safe_mode | Off | Off
disable_functions | system,exec,escapeshellarg,escapeshellcmd,passthru,proc_close,proc_open,shell_exec,chmod,chown,chroot,chgrp,fsockopen,ftp_connect,ftp_ssl_connect,pfsockopen,socket_connect,socket_create,socket_listen,socket_bind,socket_accept,socket_create_listen,socket_send,socket_write,socket_read,symlink,mail,rename,copy | no value
file_uploads | Off | On
include_path | .:/usr/local/lib/php | .:/usr/local/lib/php
open_basedir | /home/freehost | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /not/allowed | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 5 | 30
max_input_time | -1 | -1
upload_max_filesize | 2M | 2M
post_max_size | 185000 | 8M
==========================
Page generated in 1.6 seconds - 7 queries in 0.68 seconds - Album set :


so could u help me??? where should i CHMOD 777?? http://ok.t35.com/galery

Casper

Please confirm which version you are using, so we can move this to the correct board, and where you should then find the answer.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Nibbler

Do not double post.

" check that the server allows file uploads"

Your debug info indicates that file uploads are not enabled.

miurdock

sorry for flood...

my version is cpg133, so how could i know if server alows file uploads?

Joachim Müller


miurdock

i don't think it could be not possible...

Joachim Müller

erm, what? Avoid double negatives, and use more words when re-phrasing your question.

miurdock

ok..i'll do :) sorry, my english is not the best...so???

Joachim Müller

like I said: I didn't understand your last posting
Quote from: miurdock on August 12, 2005, 06:05:01 PM
i don't think it could be not possible...
. Please re-phrase it. I can't think of anything else we could do for you at the moment. You'll have to find out for sure if your webhost allows file uploads.
The only thing left to do is try the upload troubleshooting tutorial (link to tutorials at the top of this page) and do as suggested there, maybe the additional information gives you a clue (but probably not).

miurdock

ok...my webhost is www.t35.com, so i can't find anywhere information about uploading in server...

Tranz

Do you have free or paid hosting?

miurdock


Tranz

http://www.t35.net/helpdesk/index.php?t=kbase&act=kans&id=17 about safe mode. Do a search here about it. Next time, you should read the docs and faqs.

miurdock

thnx :) but how could i know that it is allowed to upload files in this server...help me...

Tranz

I don't know anymore than you do. You should ask your webhost, who should know.

miurdock

ok...So maybe somebody could offer me free web hosting, in which I could put coppermine foto album??

Joachim Müller

next time, please search before posting: Web Hosting for Coppermine photo Album?.
Marking this thread as "closed".

miurdock


merauder


Ok, I ran into this problem as well.  Its to do with php and permissions.  I just set a new temp directory for php to use as tmp uploads and chmod'd it to chmod -R  777 /directory/

Here is what I had to edit in php.ini:

; File Uploads ;
;;;;;;;;;;;;;;;;

; Whether to allow HTTP file uploads.
file_uploads = On

; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
upload_tmp_dir =/directory

; Maximum allowed size for uploaded files.
upload_max_filesize = 8M

Then after saving, restarted Apache and I was in business!