Upload Problem Upload Problem
 

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

Upload Problem

Started by MONARCH, May 25, 2009, 10:06:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MONARCH

I have read the documentation and done as requested including setting up a test account.

http://www.monarchhousing.org/gallerynew/index.php

Thank you.

phill104

You almost did it correctly but you forgot to tell us what the test account is and full details of your problem.
It is a mistake to think you can solve any major problems just with potatoes.

MONARCH

I am unable to uplaod any photos.

The test account has the obvious password.

Does that help?

rani

@ MONARCH: I think you really have to post it that way

username:
password:

and you have to tell them what error you got

MONARCH

This is the error message.

No file was uploaded !

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

File: /home6/monarchh/public_html/gallerynew/db_input.php - Line: 311

The account is Test

The password is test

Thanks.

phill104

Thanks for the logon info. I have not time to check your site right now but if you search the forum for "db_input.php - Line: 311" I am sure you will find the answer to your problem.
It is a mistake to think you can solve any major problems just with potatoes.

Joachim Müller

Did you try the possible resolutions that show up when searching the forum for the error message you got. The issue is pretty well-known - here's the section from the preliminary docs for cpg1.5.x that applies for cpg1.4.x as well in this case:
QuoteError message: No file was uploaded ! If you have really selected a file to upload, check that the server allows file uploads...
Possible cause: There is an issue with your webserver's upload mechansim.
Suggested fix: There may be several reasons for this error message. The file you tried to upload did not "reach" the folder on the webserver where it is supposed to go. If the server isn't yours to administer, you may have to ask your webhost for support. Here is what you should check:

  • test file "too large"
    If you encounter this error message in the first place, make sure that the file you test uploading with is not to large in terms of file size and dimensions. Test with a known-good, small file first. You are welcome to download one from the coppermine demo gallery and use that for testing purposes.
  • "file_uploads" enabled
    Go to your phpinfo page (available as admin menu item), search it for file_uploads and make sure that it is set to "on". If you are on shared webhosting, only your webhost can enable this for you.
  • "upload_tmp_dir" needs to be set
    On the phpinfo page, make sure that upload_tmp_dir needs to be set. If you are on shared webhosting, only your webhost can set this up for you. The script (i.e. the user the webserver runs under) needs to be allowed to write to that file.

MONARCH

Thanks.

I checked what I coudl and sent it to our webhosting company.