Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Upload Problem  (Read 2838 times)

0 Members and 1 Guest are viewing this topic.

MONARCH

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Upload Problem
« on: May 25, 2009, 10:06:01 pm »

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

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

Thank you.
Logged

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4826
    • Windsurf.me
Re: Upload Problem
« Reply #1 on: May 25, 2009, 10:41:34 pm »

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

MONARCH

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Upload Problem
« Reply #2 on: May 25, 2009, 10:43:58 pm »

I am unable to uplaod any photos.

The test account has the obvious password.

Does that help?
Logged

rani

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Re: Upload Problem
« Reply #3 on: May 25, 2009, 10:46:47 pm »

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

username:
password:

and you have to tell them what error you got
Logged

MONARCH

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Upload Problem
« Reply #4 on: May 25, 2009, 11:05:35 pm »

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.
Logged

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4826
    • Windsurf.me
Re: Upload Problem
« Reply #5 on: May 25, 2009, 11:17:43 pm »

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.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Upload Problem
« Reply #6 on: May 25, 2009, 11:26:19 pm »

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:
Quote
Error 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.
Logged

MONARCH

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Upload Problem
« Reply #7 on: May 26, 2009, 12:42:19 am »

Thanks.

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

Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.