473,387 Members | 1,588 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Apache serves blank page



Hi

I have created one sample php script to upload excel sheets of very
bigger sizes. Also the process happening with each records given in
the excel sheets is bit complex. To allow bigger sizes, I have added
necessary php ini values in the apache configuration file to override
the actual php ini values.

The problem is, once i upload the bigger files, it takes longer time
say 2 mins or so, after that i am seeing the blank page instead of
results page. When I tailed the apache logs, I didnt see any such
lines related to this issue.

Just wanted to know, Is there any case/possibilities when apache could
serves blank page?

But when I tailed my app level logs, it is very clear the script has
completes the job perfectly. My suspect, May be what could have happen
is, once the job completes, while apache about to serve back the
results page something would have happened..but am not sure about it.

Can anyone please help me on this issue?

thanks, Mani
Nov 21 '08 #1
5 4856
Mani wrote:
I have created one sample php script to upload excel sheets of very
bigger sizes. Also the process happening with each records given in
the excel sheets is bit complex. To allow bigger sizes, I have added
necessary php ini values in the apache configuration file to override
the actual php ini values.
Did you also increased the time out for php scripts? Default is IMO 30
seconds.
Sven Reuter
--
http://www.sReuter.net/
http://www.Auskennbert.de/

For mail replace 'mm' with actual month, 'jj' with actual year (e.g.
'..._11_08').
Nov 21 '08 #2
Did you also increased the time out for php scripts? Default is IMO 30
seconds.
Did you mean max_execution_time? If answer is yes, the answer for your
question is yes :)
Nov 21 '08 #3
Sven Reuter wrote:
Mani wrote:
>I have created one sample php script to upload excel sheets of very
bigger sizes. Also the process happening with each records given in
the excel sheets is bit complex. To allow bigger sizes, I have added
necessary php ini values in the apache configuration file to override
the actual php ini values.

Did you also increased the time out for php scripts? Default is IMO 30
seconds.
Sven Reuter
It wouldn't help - that only applies to when the PHP script is executing
- which it isn't while the file is being uploaded.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Nov 21 '08 #4
Mani wrote:
>
Hi

I have created one sample php script to upload excel sheets of very
bigger sizes. Also the process happening with each records given in
the excel sheets is bit complex. To allow bigger sizes, I have added
necessary php ini values in the apache configuration file to override
the actual php ini values.

The problem is, once i upload the bigger files, it takes longer time
say 2 mins or so, after that i am seeing the blank page instead of
results page. When I tailed the apache logs, I didnt see any such
lines related to this issue.

Just wanted to know, Is there any case/possibilities when apache could
serves blank page?

But when I tailed my app level logs, it is very clear the script has
completes the job perfectly. My suspect, May be what could have happen
is, once the job completes, while apache about to serve back the
results page something would have happened..but am not sure about it.

Can anyone please help me on this issue?

thanks, Mani
There could be many reasons for this - a bug in your PHP script, for
instance. But these may not be logged - it depends on your PHP settings.

What does your php.ini file have for the following parameters?

error_reporting
display_errors
log_errors
error_log
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Nov 21 '08 #5
I'd bet Jerry is right, you are likely getting an error, but your php
settings are such that the error isn't logged, or displayed. I've ran
into this enviroment before and it just about drove me mad.

Adding this to the top of your script should allow you to at least see
the errors.
error_reporting(E_ALL);

Secondly, if it's not a max execution time error, then you might be
exceeding the max file upload size. Again, depending on your server's
PHP config, you may be able to override that value on a per script
level by adding something like this near the top of the script.

ini_set('upload_max_filesize' 8M);
Nov 21 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Nick Rees | last post by:
Hi, I've got a strange query that I can't figure out. I've got a new installation of Apache 1.3.28 and PHP 4.3.3 on my laptop, but it doesn't appear to be processing URLs correctly. I've tried...
1
by: Adam Atlas | last post by:
(Apache/2.0.55, PHP/4.4.1) I am using an "Action" directive in my Apache configuration to map a certain file type (by means of AddType and AddHandler) to a PHP script. I wasn't sure if this would...
2
by: gavino | last post by:
REHDAT LINUX 4S PHP 4.3.9 LEGACY APP I MOVED NOW EATS MEMORY CAN ANYONE TAE A LOOK ? I FIXED ONE PARTIALLY BY CHANGING TO here are my apache settings: 1 page laoding for a few seconds eat like...
6
by: MaiyaHolliday | last post by:
Hello, I've recently installed apache on a new computer, and cannot figure out why my site will not process any includes. (it was working on my old one) There are no errors on the page such as...
3
by: vincenzo.bacarella | last post by:
Hi, we are trying to create an apache module which catch web requests and does evaluation of the content_type string. Here a snippet: ..... char *type = ap_table_get(r->headers_in,...
0
by: sebor | last post by:
October 29, 2007 -- The Apache C++ Standard Library project is pleased to announce that the official stdcxx 4.2.0 release is now available for download from the following location:...
0
by: dolittle | last post by:
Hi, I`m using apache as a proxy to solve cross domain security restriction of javascript. The client sends AJAX requests to a JAVA based jabber server and the Apache serves as a proxy so the...
0
by: pedjacar | last post by:
Hello, I have the following problem - when whitespace character (e.g %20) is added to the URL of a .jsp page, the Apache web server does not recognize that it is a URL pattern that is mounted to...
10
by: happyse27 | last post by:
Hi All, I got this apache errors(see section A1 and A2 below) when I used a html(see section b below) to activate acctman.pl(see section c below). Section D below is part of the configuration...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.