upload leads to blank page upload leads to blank page
 

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

Main Menu

upload leads to blank page

Started by alvaroprudente, August 11, 2004, 01:05:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

alvaroprudente

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

alvaroprudente

#1
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

Joachim Müller

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

GauGau

alvaroprudente

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

Joachim Müller

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

alvaroprudente

OK I found the corresponding error or section...

The whole section
#
# 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