coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: febwa1976 on October 03, 2005, 03:01:01 PM

Title: No file was uploaded ! File: /coppermine/db_input.php - Line: 222
Post by: febwa1976 on October 03, 2005, 03:01:01 PM
Hope you can help installation was easy but I have one problem.

I am on Yahoo Webhosting. I cannot upload files however I have been able to add pics through the URL option. I also use ftp on a regular basis. Folder Albums and sub directories are CHMOD to 777. I also have a tmp and a temp directory. phpinfo refers to /tmp so I assume this is OK?

When I run phpinfo.php all parameters are correct according to the FAQ here except max_input_time is -1 (is this important?)

Here is the complete error message

"No file was uploaded !

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

File: /coppermine/db_input.php - Line: 222 "

Here is the debug info for user "tester"

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

==========================
USER DATA:
------------------
Array
(
    [user_id] => 6
    [user_group] => 2
    [user_active] => YES
    [user_name] => tester
    [user_password] => ********
    [user_lastvisit] => 2005-10-03 04:49:26
    [user_regdate] => 2005-10-03 04:19:45
    [user_group_list] =>
    [user_email] => tester@mysite.com
    [user_website] =>
    [user_location] =>
    [user_interests] =>
    [user_occupation] =>
    [user_actkey] =>
    [disk_max] => 1024
    [disk_min] => 1024
    [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] => 0
    [pub_upl_need_approval] => 1
    [priv_upl_need_approval] => 0
    [group_name] => Registered
    [upload_form_config] => 0
    [group_quota] => 1024
    [can_see_all_albums] => 0
    [group_id] => 2
    [groups] => Array
        (
            [1] => 2
        )

)

==========================
Queries:
------------------
Array
(
   
Title: Re: No file was uploaded ! File: /coppermine/db_input.php - Line: 222
Post by: Nibbler on October 03, 2005, 03:02:24 PM
Try this : http://forum.coppermine-gallery.net/index.php?topic=5848.0

Otherwise ask your host for support.
Title: Re: No file was uploaded ! File: /coppermine/db_input.php - Line: 222
Post by: febwa1976 on October 03, 2005, 03:16:36 PM
Thanks I have read that. I also read this http://forum.coppermine-gallery.net/index.php?topic=22299.0 which indicates that Yahoo Webhosting works OK?

my site is at sibaya . com/coppermine and I have set up a test user tester with password tester if anyone can help
Title: Re: No file was uploaded ! File: /coppermine/db_input.php - Line: 222
Post by: kegobeer on October 03, 2005, 08:15:55 PM
max_input_time is normally set to 60 seconds.  I've seen one post on a different forum that suggests -1 means unlimited, but I can't find anything official.  It won't hurt to ask your host to change it from -1 to 60.
Title: Re: No file was uploaded ! File: /coppermine/db_input.php - Line: 222
Post by: artistsinhawaii on October 03, 2005, 08:26:17 PM
http://forum.coppermine-gallery.net/index.php?topic=18943.0

You may want to also read this post.

Dennis
Title: Re: No file was uploaded ! File: /coppermine/db_input.php - Line: 222
Post by: febwa1976 on October 04, 2005, 12:19:51 AM
It works!
Thanks "kegobeer" - I have asked yahoo but no response yet, and thanks "madeinhawaii" I followed the link you gave, deleted my installation, reinstalled according to the link instructions and it worked. I think one of the main issues was that I changed the /tmp directory to CHMOD 777 with filezilla and when I checked back it had changed back to 775. I deleted this directory and then created it again and now it stays at 777. Great forum!