coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: daklay on October 21, 2005, 10:29:09 PM

Title: Uploading Pics Problem
Post by: daklay 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!
Title: Re: Uploading Pics Problem
Post by: Joachim Müller on October 22, 2005, 12:36:53 AM
read the sticky threads on cpg1.3 Upload (http://forum.coppermine-gallery.net/index.php?board=22.0), especially the upload troubleshooting threads.
Title: Re: Uploading Pics Problem
Post by: daklay on October 22, 2005, 02:19:11 AM
Did everything it said, still does the same
Title: Re: Uploading Pics Problem
Post by: Joachim Müller 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.
Title: Reinstalling
Post by: daklay on October 22, 2005, 09:28:37 PM
I need to reinstall coppermine. Can I do this, while keeping all albums, pictures, and users?
Title: Re: Reinstalling
Post by: Nibbler 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.
Title: Re: Reinstalling
Post by: Joachim Müller 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.
Title: Re: Uploading Pics Problem
Post by: daklay 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.
Title: Re: Uploading Pics Problem
Post by: Zarsky on October 24, 2005, 02:11:02 AM
Quote from: daklay 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.

read the post again...you need to adjust some settings for php and/or your web server.  The post explains the process.
Title: Re: Uploading Pics Problem
Post by: daklay 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.

QuoteThings 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.
Title: Re: Reinstalling
Post by: daklay 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.
Title: Re: Uploading Pics Problem
Post by: kegobeer 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.
Title: Re: Reinstalling
Post by: Joachim Müller 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?
Title: Re: Uploading Pics Problem
Post by: daklay 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
Title: Re: Uploading Pics Problem
Post by: kegobeer on October 24, 2005, 09:25:35 PM
Quote from: kegobeer on October 24, 2005, 04:54:15 AM
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.
Title: Re: Uploading Pics Problem
Post by: daklay 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
Title: Re: Uploading Pics Problem
Post by: Joachim Müller on October 26, 2005, 12:08:43 AM
OMG  ::)
Title: Re: Uploading Pics Problem
Post by: Zarsky on October 26, 2005, 12:10:08 AM
what in the world???   :o  :o  :o  :o  ???  ???  ???  :D
Title: Re: Uploading Pics Problem
Post by: daklay 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.