Hi everyone,
I've installed CPG1.2.0 and everything works fine but Uploading picture using IE.
I can uplaod pics using Mozilla. However, if I use IE to uplaod individual picture, the browser said "page cannot be displayed" immediately. It seems that nothing has been uploaded.
I'm running my own RedHat 8 Server and I've set in php.ini file_upload to On. Here is the link: http://maxgallery.homeip.net
please provide a test account (user account - make sure the user has upload rights set properly in coppermine config).
GauGau
user ID : testie
passwd : test
I think I've made a mistake in my test run, Mozilla and IE both is ok for files with the size smaller than 508Kb. But if the file is larger than that, the browser report page cannot be displayed.
for you reference again, the site is:
http://maxgallery.homeip.net
user id : testie
Passwd: test
Thanks
hmmm.... strange......very strange.......
Check your Apache and PHP configs. You may have a size restriction in effect.
If you're on a (slow) dial-up line you may experience browser time-outs in IE when uploading large pics. Afaik IE is the only browser that times out.
Solution: resize the pics on your pc before uploading them.
GauGau
I'm using a boardband connection. When I upload pictures larger than 510Kb, it fails everytime no matter what I'm using, IE or Mozilla. In the php.ini, the upload limit is set to 2mb.
what about your webserver (apache/iis/whatever). There can also be a size limit set up there.
GauGau
P.S. any special reason for gaving such a large file (who on earth needs pics bigger than 500 kB on the internet)?
Quote from: "gaugau"P.S. any special reason for gaving such a large file (who on earth needs pics bigger than 500 kB on the internet)?
hm...Actually....No I guess. Just make it more convinent for my friends who don't know how to resize pics.
In /etc/httpd/conf.d you can edit the line "LimitRequestBody 524288" to what ever size you want to use.
20000000 is working perfect for me (work as photographer and needs to upload big pictures)
*************************************************************
Quote#
# PHP is an HTML-embedded scripting language which attempts to make it
# easy for developers to write dynamically generated webpages.
#
LoadModule php4_module modules/libphp4.so
#
# Cause the PHP interpreter handle files with a .php extension.
#
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
LimitRequestBody 524288
</Files>
#
# Add index.php to the list of files that will be served as directory
# indexes.
#
DirectoryIndex index.php
Thank you very much, I'll try this.