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: Uploading Pics Problem  (Read 8182 times)

0 Members and 1 Guest are viewing this topic.

daklay

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 39
    • TT
Uploading Pics Problem
« on: October 21, 2005, 10:29:09 pm »

When I try to upload some pictures, everything works fine. But, when it says "uploads complete", and I click on the continue, all i get is a blank screen. (It appears to only happen with spacific pics) HELP!
« Last Edit: October 26, 2005, 12:11:39 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Uploading Pics Problem
« Reply #1 on: October 22, 2005, 12:36:53 am »

read the sticky threads on cpg1.3 Upload, especially the upload troubleshooting threads.
Logged

daklay

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 39
    • TT
Re: Uploading Pics Problem
« Reply #2 on: October 22, 2005, 02:19:11 am »

Did everything it said, still does the same
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Uploading Pics Problem
« Reply #3 on: October 22, 2005, 02:20:35 am »

if you read the threads a suggested, you should know what you need to do to get help. If you didn't, read it now.
Logged

daklay

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 39
    • TT
Reinstalling
« Reply #4 on: October 22, 2005, 09:28:37 pm »

I need to reinstall coppermine. Can I do this, while keeping all albums, pictures, and users?
Logged

Nibbler

  • Guest
Re: Reinstalling
« Reply #5 on: October 22, 2005, 09:31:20 pm »

I highly doubt you actually need to reinstall Coppermine, but if you backup your database and the files under /albums/ then you can restore them.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Reinstalling
« Reply #6 on: October 23, 2005, 01:30:37 pm »

As Nibbler suggested: post what actually goes wrong on your site that makes you think you need to re-install. Usually, you won't have to.
Logged

daklay

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 39
    • TT
Re: Uploading Pics Problem
« Reply #7 on: October 23, 2005, 11:22:14 pm »

I looked, and i still can't figure out what to do. It's weird. The upload is successful, then, when I push continue, it gives a blank page. I've checked all my folder permissions three times. I even upgraded coppermine, and it's doing the same thing.
Logged

Zarsky

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 268
    • Zerr Family Website
Re: Uploading Pics Problem
« Reply #8 on: October 24, 2005, 02:11:02 am »

I looked, and i still can't figure out what to do. It's weird. The upload is successful, then, when I push continue, it gives a blank page. I've checked all my folder permissions three times. I even upgraded coppermine, and it's doing the same thing.

read the post again...you need to adjust some settings for php and/or your web server.  The post explains the process.
Logged
Read the Online DOCs, FAQ, and SEARCH the board BEFORE posting questions for help.

daklay

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 39
    • TT
Re: Uploading Pics Problem
« Reply #9 on: October 24, 2005, 02:55:19 am »

Where are these at?

O, and it takes about ten seconds to upload one pic, and it still gives a white screen.

Quote
Things to check:

1. max_input_time- 60 seconds is the default time limit for uploading files.

This time limit includes the time it takes for the files to upload, so if you exceed this limit, the file will not even parse, and the browser will not get a response. You can workaround this by trying to upload smaller or fewer files, or you can try uploading over broadband. The best solution, of course, is to increase the time limit to something more in line with your needs.

2. upload_max_filesize - 2MB is the default limit for individual files.

3. post_max_size - 8MB is the default limit for post requests.

4. memory_limit - 8MB is the default size.

5. PHP's LimitRequestBody - 512KB default limit. (mainly an issue on Redhat/Apache systems.  Found in /etc/http/conf.d)

In general, upload_max_filesize < post_max_size < memory_limit in order for uploads to function properly. Coppermine may warn you if a file exceeds upload_max_filesize, but it cannot warn you if the total size of all the files exceeds the post limit or the memory limit.

6. file_uploads - This determines whether or not PHP will allow file uploads. It must be set to 'On'.

7. upload_tmp_dir - This specifies the temporary directory where PHP stores uploaded files.

The most common issue caused by this setting is an open_basedir warning.  In this situation, your server administrator has restricted the files that PHP can work with to a certain directory.  If he does not create and specify a temporary directory within the open_basedir restriction, PHP will attempt to use the OS temporary directory, and it will be rebuffed by the open_basedir restriction.

8. allow_fopen_url - This controls PHP's ability to read files using URL/URIs.  If it is disabled, Coppermine will not be able to upload from URLs.
Logged

daklay

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 39
    • TT
Re: Reinstalling
« Reply #10 on: October 24, 2005, 02:58:39 am »

http://forum.coppermine-gallery.net/index.php?topic=22942.0

I reinstalled it, new database, and am still having the same problems.
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Uploading Pics Problem
« Reply #11 on: October 24, 2005, 04:54:15 am »

Your profile shows 1.4 - there isn't any support for the beta version.

php.ini contains the items you quoted.  Contact your webhost for support.  If you are running your own server and don't know about these items, you should consider finding a webhost.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Reinstalling
« Reply #12 on: October 24, 2005, 07:27:59 am »

are you requesting help to downgrade from cpg1.4.x to cpg1.3.x then?

Merging the thread "Reinstalling" with "Uploading Pics Problem" then?
Logged

daklay

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 39
    • TT
Re: Uploading Pics Problem
« Reply #13 on: October 24, 2005, 08:53:41 pm »

Well, I actually have 1.3. And, all I wanna kno is how to fix the "White Screen" problem
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Uploading Pics Problem
« Reply #14 on: October 24, 2005, 09:25:35 pm »

php.ini contains the items you quoted. Contact your webhost for support. If you are running your own server and don't know about these items, you should consider finding a webhost.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

daklay

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 39
    • TT
Re: Uploading Pics Problem
« Reply #15 on: October 25, 2005, 11:07:31 pm »

I fixed the problem, I think you should post this in the General Uploading Problems, becuase this fixes the problem.

I created a txt file, and put "php_value memory_limit 16M" (without qutoes), in it, saved it, uploaded it to the gallery's folder, then, renamed it (without any file type at the end, ".htaccess" (without quotes).

And, that fixes the problem   ;D
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Uploading Pics Problem
« Reply #16 on: October 26, 2005, 12:08:43 am »

OMG  ::)
Logged

Zarsky

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 268
    • Zerr Family Website
Re: Uploading Pics Problem
« Reply #17 on: October 26, 2005, 12:10:08 am »

what in the world???   :o  :o  :o  :o  ???  ???  ???  :D
Logged
Read the Online DOCs, FAQ, and SEARCH the board BEFORE posting questions for help.

daklay

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 39
    • TT
Re: Uploading Pics Problem
« Reply #18 on: November 25, 2005, 10:14:52 pm »

See, it's simple actually. It tells the server to give whatever is in that folder more memory. After you rename the file, it should dissappear by itself.
Logged
Pages: [1]   Go Up
 

Page created in 0.053 seconds with 16 queries.