coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: eureka345 on March 15, 2005, 07:32:08 AM

Title: Re: No file was uploaded.
Post by: eureka345 on March 15, 2005, 07:32:08 AM
I'm using Yahoo Business hosting and running into this problem.  I tried to create the temp directory, as suggested - but it's not making any difference.  Where exactly should I be creating this directory?  

I'm pretty adept at computers, but don't know much about php and this has me stumped.

Edited to add a few more details. 

My exact error is 0 uploads were successful. However, I receive no other error messages.  This is a brand new installation.  I'm also having problems getting my CHMODS to 'stick'.. I'll edit them to 777, but soon after they're back to 775. 
Title: Re: No file was uploaded.
Post by: Joachim Müller on March 15, 2005, 08:24:38 AM
split this thread from http://forum.coppermine-gallery.net/index.php?topic=5848.0

Enable debug_mode in coppermine config (with notices turned off), then set "method for uploading files" to "Single file uploads only" for all relevant groups ins the groups panel. This should give you a more detailed error message for troubleshooting. Posting a link and non-admin test user account might help as well.

Joachim
Title: Re: No file was uploaded.
Post by: eureka345 on March 15, 2005, 05:38:11 PM
I have no clue if any of this is helpful - but here's what in debug mode when I try to upload.   I have created a test account username: test pw: test and the site is www.meno-sand.net/albums

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

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => Erica
    [user_password] => ********
    [user_lastvisit] => 2005-03-14 21:48:24
    [user_regdate] => 2005-03-14 21:47:50
    [user_group_list] =>
    [user_email] =>
    [user_website] =>
    [user_location] =>
    [user_interests] =>
    [user_occupation] =>
    [user_actkey] =>
    [disk_max] => 2147483647
    [disk_min] => 2147483647
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 1
    [num_file_upload] => 10
    [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] => 3
    [group_quota] => 2147483647
    [can_see_all_albums] => 1
    [group_id] => 1
    [groups] => Array
        (
            [1] => 1
        )

)

==========================
Queries:
------------------
Array
(
   
Title: Re: No file was uploaded.
Post by: Joachim Müller on March 15, 2005, 10:52:01 PM
I was asking for error messages, not the debug_ouput. The test user account won't help unless you do what I suggested and turn debug_mode on for everyone and set the upload method to "Single file uploads only" in "groups" ::)!

Joachim
Title: Re: No file was uploaded.
Post by: eureka345 on March 15, 2005, 11:20:54 PM
I told you I don't know a thing about PHP and  I misunderstood your original message - I thought I gave you want you wanted, no need to roll your eyes at me.. not everyone is an expert!  In any case, I do appreciate the help - things should be as you want them to be now.

This is the error msg it's giving me now: No file was uploaded !

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

File: /albums/db_input.php - Line: 221


I've searched the forum and read similar topics but I still don't know what I should do.  Most of them suggest that it's a webhost problem - but I use web-based upload to my file manager all the time, so I am not so sure. 
Title: Re: No file was uploaded.
Post by: Joachim Müller on March 15, 2005, 11:33:20 PM
does your server allow file uploads then?

Joachim
Title: Re: No file was uploaded.
Post by: eureka345 on March 15, 2005, 11:49:07 PM
I don't know.  I told you that I upload files using a web based file manager all the time - but does that mean my server allows uploads?  I don't know... that's why I am here.  I am using Yahoo Business Hosting, as I already stated.  How would I go about finding out whether or not it allows uploads?  And if it doesn't, am I just screwed?

http://search1.cc.dcn.yahoo.com/cct_search.php?ui_mode=answer&prior_transaction_id=149627145&action_code=5&highlight_info=16784162,8,15&turl=http%3A%2F%2Fhelp.yahoo.com%2Fhelp%2Fus%2Fwebhosting%2Fphp%2Fphp-33.html&answer_id=19188595#__highlight  is a list of supported PHP functions... but reading them still doesn't mean a thing to me.
Title: Re: No file was uploaded.
Post by: Joachim Müller on March 15, 2005, 11:53:28 PM
Quote from: eureka345 on March 15, 2005, 11:49:07 PM
I told you that I upload files using a web based file manager all the time - but does that mean my server allows uploads?
yes

Try re-applying CHMOD as suggested in the install section of the docs.

Joachim
Title: Re: No file was uploaded.
Post by: eureka345 on March 15, 2005, 11:57:39 PM
I see no install section in docs???  Not sure what you mean there.

Apparently I needed to name my temp directory tmp and not temp.. so I changed that, and now what is happening when I try to upload is that I press submit and then http://www.meno-sand.net/albums/db_input.php loads as a page.. and it's blank.  Nothing else happens.
Title: Re: No file was uploaded.
Post by: eureka345 on March 16, 2005, 12:04:02 AM
OK.. I got one tiny file to upload, but when I try to upload anything bigger I am getting the blank screen I mentioned above.

I guess it's progress....
Title: Re: Re: No file was uploaded.
Post by: Tranz on March 16, 2005, 12:04:37 AM
Quote from: eureka345 on March 15, 2005, 11:57:39 PM
I see no install section in docs??? Not sure what you mean there.
http://coppermine.sourceforge.net/manual.php#installation
Title: Re: No file was uploaded.
Post by: eureka345 on March 16, 2005, 12:06:46 AM
OK.. I thought you were saying to CHMOD the install section... now I see that you mean to CHMOD the sections album and include... done done and done.. a long time ago.
Title: Re: No file was uploaded.
Post by: Joachim Müller on March 16, 2005, 12:09:33 AM
You're meant to re-chmod as suggested in the install section of the docs, we didn't suggest to re-install.

Joachim
Title: Re: No file was uploaded.
Post by: eureka345 on March 16, 2005, 12:14:08 AM
I didn't say I was going to reinstall?  Anyways.. enough about CHMODing.. it's not my problem.

I am able to upload files now, but I still get the same error message with some files, and other times I get the blank screen.  Anything bigger than the smallest files I try to upload is doing this.

FYI - it's not a problem with max upload sizes in config.
Title: Re: No file was uploaded.
Post by: eureka345 on March 18, 2005, 05:52:58 AM
I take the lack of response to mean that there is no solution to this??? 
Title: Re: No file was uploaded.
Post by: Joachim Müller on March 18, 2005, 10:40:46 AM
I'm out of this thread: if you don't do what I suggest, you probably won't need my advice.

Joachim
Title: Re: No file was uploaded.
Post by: eureka345 on March 18, 2005, 10:41:18 PM
I've done everything you've suggested!!!!  The last thing you suggested to me was CHMODing... I did that a long time ago, and double and triple checked it... and since I've been able to upload small files, obviously it is not a CHMOD problem.  So  ???
Title: Re: No file was uploaded.
Post by: Joachim Müller on March 19, 2005, 07:59:27 AM
don't check CHMOD settings, as the CHMOD properties might be displayed wrong in your ftp app, but re-apply CHMOD.

Joachim
Title: Re: No file was uploaded.
Post by: eureka345 on March 19, 2005, 11:35:11 PM
Ok, maybe I should have been more specific.... I have RE APPLIED CHMOD multiple times.  Still having the problem.  Can you suggest something different, because obviously that's not it?
Title: Re: No file was uploaded.
Post by: eureka345 on March 20, 2005, 02:01:01 AM
FYI, the gallery is now at http://www.meno-sand.net/gallery/ - I tried deleting all files from my server and my database, and re uploading, re installing (including all the CHMODing!), etc... still the exact same problem.  Small files are uploading, but nothing bigger (approximately 1-2MB).  I have increased maximum file size in config and done everything else I can think of to explain the problem.  A friend who was trying to help me out got the following error:

Critical error Script called without the required parameter(s). File: /albums/db_input.php - Line: 41
Title: Re: No file was uploaded.
Post by: Joachim Müller on March 20, 2005, 11:32:02 AM
If you can only upload small files, but not larger ones, your webhost has made some server-sided settings (that you can not override when webhosted and not having full admin privileges on the webserver). The settings that apply differ (there are several which have to be taken into account). Please read the sticky threads (yes, all of them) on this sub-board to find out more about server settings and what to do about it. In the end, you will have to contact your webhost for support or look for another webhost; this isn't something you could address simply by modifying coppermine settings. Imo it's unnecessary to upload such large files in the first place, all the files I have on my personal page have less then 100 kB. Pics with 1 MB or similar are just a waste of space, time and resources imo. I suggest you resize the pics on your client before uploading them.

Joachim
Title: Re: No file was uploaded.
Post by: eureka345 on March 20, 2005, 04:37:59 PM
Alrighty.. thanks for your response.  Yes, I've read the stickies (all of them!).  According to my webhost, there is an upload limit of 8MB... of which my photos are definitely under.  As for suggesting I resize all my images before uploading - that defeats the purpose of me using coppermine, which was to share full size images amoung friends so we can each print each other's images.  I have 75GB of disk space on my host... so I wasn't worried about wasting resources.  In any case, it looks like I give up.  Something that I thought would save a lot of my time has turned out to be a waste of time... ah well... gotta love technology.  Thanks for your help.
Title: Re: No file was uploaded.
Post by: Joachim Müller on March 21, 2005, 07:25:30 AM
There are other settings that have to be taken into account: when uploading a larger image, coppermine has to resize the image (using the image library you specified, usually GD). This process temporarily eats up a lot of memory, which could be to much for your webserver's config. There's little we can do, as the resizing simply needs some overhead memory. You could ask your webhost politely to change those settings for you, or look for a webhost who grants you more memory (mind you, this is not webspace, but RAM).

Joachim
Title: Re: No file was uploaded.
Post by: andyb on March 27, 2005, 01:34:35 AM
Im having the same problem as this guy was. I cant get anything to upload though. php.ini is good (its on and the max limit is high). I have chmoded and i know its good because i host it and i did it right into the console but JUST SO YOU KNOW:
drwxrwxrwx 4 andy   www    512  Mar 26 14:38 albums
drwxrwxrwx 4 andy   www    512  Mar 26 14:42 include

I got nothin'. HELP ME PLEASE :-P

Edit:
oh yeah in case you missed it when the other guy said it or something:
File: /htdocs/gallery2/db_input.php - Line: 221

I followed the steps in that thread that outlines all of the possible configuration things that could be wrong, too. I changed the LimitRequestBody thing like suggested and it still doesnt work.

Ive tried everything. This is sickening :(
Title: Re: No file was uploaded.
Post by: andyb on March 27, 2005, 06:29:41 AM
Is nobody seeing this? Should i post a new thread? do you ust not kn ow what to do? lol so many questions...
If nobody replys to this im going to make a new thread please answer!
Title: Re: Re: No file was uploaded.
Post by: Tranz on March 27, 2005, 06:43:23 AM
It's only been 4 hours since your post.
http://coppermine.sourceforge.net/faq.php#lamesupport

It's also a Saturday.
Title: Re: No file was uploaded.
Post by: andyb on March 27, 2005, 07:33:33 AM
I was just making sure it was seen. I didnt want to wait forever if nobody was going to see it so i figured id ask.
Title: Re: Re: No file was uploaded.
Post by: Tranz on March 27, 2005, 07:49:57 AM
There's a link you could check that shows new posts: http://forum.coppermine-gallery.net/index.php?action=unread

That's how new posts show up. That's how supporters know about them. We don't comb through the forums. A little inefficient.
Title: Re: No file was uploaded.
Post by: LMalnati on May 19, 2005, 05:48:08 AM
Disregard the below.  I missed page 2 of this post.  Gau Gau gave the answer I am looking for in that I will need to contact Yahoo.  I typically would not need to load a 1meg file, but I do wish to find out the max Yahoo allows.


I also have Yahoo.  When I created a tmp folder I was able to load small files.  But with larger files I get the following message: "2 uploads were successful.Please click 'Continue' to add the files to albums."  However, when I click on Continue I get a blank screen.  My upload size config is 5,000 (as an admin) and both pictures were under this size.

When I try 1 picture at 1 meg I get the blank screen as described above.  If I shrink it to 58 kb it loads fine.  On my web hosting file upload manager as long as the total upload does not exceed 5 mb they have no issues.

Any thoughts.

:-[