Uploading Pics Problem Uploading Pics Problem
 

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]

Main Menu

Uploading Pics Problem

Started by daklay, October 21, 2005, 10:29:09 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

daklay

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!

Joachim Müller

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

daklay

Did everything it said, still does the same

Joachim Müller

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.

daklay

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

Nibbler

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.

Joachim Müller

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.

daklay

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.

Zarsky

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.
Read the Online DOCs, FAQ, and SEARCH the board BEFORE posting questions for help.

daklay

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.

daklay

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

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

kegobeer

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

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

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

daklay

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

kegobeer

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

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

Joachim Müller


Zarsky

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

daklay

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.