Problem with large image files? Please help Problem with large image files? Please help
 

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

Problem with large image files? Please help

Started by qwaven, November 02, 2004, 06:32:08 AM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

qwaven

Hello,
I have recently been trying to upload fairly large JPEG images (800x600+), and as soon as I click submit the browser window will load instantly into a blank white screen. The image will not be uploaded, and I receive no errors (cant get any since once I click submit nothing really happens).

I looked at the FAQ and found this:
<START>
I can't upload big pics. What's wrong?
The max. size of pics is limited by various settings - to find out why you can't upload big picks, check the following:

make sure you have enough webspace left (remember that you need space for the full size pic, the intermediate size pic and the thumbnail!)
when logged in as admin check your "Group" settings: the groups (even the admin group!) have limits that can be configured there
Browser time-out: commonly-used Internet Explorer has a time-out function: if your upload isn't finished within a certain period, the browser will time-out (applies especially to dial-up connections)
There's a maximum limit set up in the PHP config of your server. If you're with a webhost there's little you can do, but if you're running your own server, check php.ini and look for LimitRequestBody - this value (in bytes) in the max upload allowed by php/html  
<END>

I looked through those settings to the best of my ability, only thing is the php.ini which I was unable to find the LimitRequestBody in. I can only asume if the setting is not there, than there will be no restriction in place. "?"

Anyone with any information, ideas please let me know.

Thanks


qwaven

No one can help me? Grrr... I still cant figure out whats wrong! :(

Tranz

Quote from: qwaven on November 02, 2004, 06:32:08 AMI looked through those settings to the best of my ability, only thing is the php.ini which I was unable to find the LimitRequestBody in. I can only asume if the setting is not there, than there will be no restriction in place. "?"
That is an incorrect assumption. You would need to ask your webhost for help in dealing with the restrictions on filesizes.

qwaven


Joachim Müller

then you know the person well you could turn to for help.

Joachim

qwaven

Quotethen you know the person well you could turn to for help.

Joachim

I dont understand? "Joachim" ? ... as for turning to myself for help? well that didnt work, thus I posted this thread... meaning I dont know what the problem is, meaning I would like usefull advice from some of the more experienced users such as yourself.
For instance settings in coppermine are all at values like 10MB for file sizes. PHP for values I could find are all at more than reasonable level...
max_execution_time = 60
max_input_time = 60
memory_limit = 8M
post_max_size = 20M
upload_max_filesize = 20M

So if I'm missing something here or whatever, it would be nice if someone could  provide me with some information, rather this guessing game. :)


Joachim Müller

the values may differ - just play with them a bit if the server is yours, see http://forum.coppermine-gallery.net/index.php?topic=5841.0

Joachim

Casper

And when you've read that thread, try changing the memory limit.  Up it to 16, or even 32.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

qwaven

sweet! :)

changing the memory limit worked!

Thanks a bunch :)

btw, when I read that FAQ I noticed
"5. PHP's LimitRequestBody - 512KB default limit. (mainly an issue on Redhat/Apache systems.  Found in /etc/http/conf.d)"

I'm not sure if this applies to FreeBSD operating systems, but if it does... you may want to edit this to show both the Linux and the FreeBSD paths as it is not the same. I was unable to find where this setting is so maybe it doesnt apply to FreeBSD. Just a thought :)

Thanks again all for helping :)