Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: upload leads to blank page  (Read 4165 times)

0 Members and 1 Guest are viewing this topic.

alvaroprudente

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
upload leads to blank page
« on: August 11, 2004, 01:05:30 pm »

My Problem is quite strange and i suppose the solution has something to do with the server-config. although I have followed all steps...

After uploading a picture I get the message x pictures uploaded successfully. When I click on "next" I just get a white page. It down't matter if I use a small or big picture, the picture later do not appear on the album, but they seem to be on the server somehow...
Reload doen't help neither...

Any suggestion?
As the page is blank I haven't any errormessage to post. Using Fedora Core 2, Apache, PHP, MySQL, all values as in the upload FAQ

I had only problems with the LimitRequestBody this value didn't exist so I put it in php.ini as
LimitRequestBody 524288
suppose that's right. restartet apache, problem persists...

Any Idea?

Thanks

Alvaro
Logged

alvaroprudente

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: upload leads to blank page
« Reply #1 on: August 11, 2004, 02:06:03 pm »

I came closer to the solution...

Actually the system can handle files smaller than 200kb but for files larger than 200 kb the system gives up...

Modify: After experimenting with the Memory-limit in php.ini I came to the following solution: doubling the memory-limit to 16M allows to upload pictures until 270kb or larger but smaller that 500kb (hadn't any picture between)
Doubling the memory_limit to 32M allows to upload pictures until 740kb or even more...
last but not least it will follow a test with a 1.5 MB movie

i'll keep you updated

Alvaro

P.S: If anyone can help with a alternative solution or an explanation of this mistery you are welcome
« Last Edit: August 11, 2004, 02:21:04 pm by alvaroprudente »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: upload leads to blank page
« Reply #2 on: August 11, 2004, 02:54:17 pm »

you might want to take a look into your apache configuration file(s).

GauGau
Logged

alvaroprudente

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: upload leads to blank page
« Reply #3 on: August 11, 2004, 03:36:59 pm »

@GAU GAU: (Is that a super GAU ? ;) )
What shall i search for in the apache conf-files? I mean I found in the php.ini that I could double the memory_limit to make the upload work perfect also for bigger... but what is the explanation to it? I don't have any clou...
And is there a alternative solution?
But the most important question to me is: Where would I have to put ind the LimitRequestBody stuff and how, as it doen't look right to me in the php.ini, specially without a "=" or something similar...
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: upload leads to blank page
« Reply #4 on: August 12, 2004, 05:20:35 am »

I'm sorry, the place to look for help on PHP set-up is http://www.php.net/configuration - the place to look for help on apache set-up is http://httpd.apache.org/

GauGau
Logged

alvaroprudente

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
[solved-partially]: upload leads to blank page
« Reply #5 on: August 12, 2004, 02:57:34 pm »

OK I found the corresponding error or section...

The whole section
Code: [Select]
#
# Cause the PHP interpreter handle files with a .php extension.
#
<Files *.php>
   SetOutputFilter PHP
   SetInputFilter PHP
   LimitRequestBody 33554432
</Files>
was missing in my php.conf

THX

I still wonder, why I had to put the memory_limit so high for uploading such a small picture
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 15 queries.