473,796 Members | 2,625 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4871
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_t ime? 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*******@attgl obal.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*******@attgl obal.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
1924
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 to do a direct copy of my config on my desktop (which is Apache 1.3.27 and PHP 4.3.1, I think), but I don't have access to it any more to check the config files. Apache works fine, I installed it first and tested it with several
1
1947
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 work, since the Apache docs say the Action directive is for mapping a handler name to a CGI script in particular. But it seemed to work at first. Then a mysterious bug arose: Sometimes it works perfectly, and other times the output is a totally...
2
1679
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 48% of a xeon 3.0 processor!!! <IfModule prefork.c> StartServers 8 MinSpareServers 5 MaxSpareServers 20
6
7981
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 "include not found", rather much of the page is blank where the included menus, etc would be, and the CSS is not attached. thanks so much!!! My httpd.conf looks like this:
3
1768
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, "Content-Type"); char *posizione = strstr(type,"html");
0
1754
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: http://people.apache.org/dist/incubator/stdcxx/releases/ For additional details see the stdcxx Download page: http://incubator.apache.org/stdcxx/download.html#releases The Apache C++ Standard Library is a full implementation of the C++ Standard Library...
0
2612
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 javascript and the jabber server will think they are in the same domain. The jabber server works as follows (http-binding): It gets an 'update' AJAX request from the client but keep the connection open until it has a new message for the client. Then...
0
1991
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 Tomcat worker (via JKMount directive of jk module) but instead finds JSP page on filesystem and serves its content as plain text!!! relevant config: JkMount /mywebapp/*.jsp tomcatworker Of course, I can add
10
6982
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 of section c. Not sure where went wrong as the web page displayed internal server error. Also, what is the error 543? and error 2114. Where to find the list of errors in websites as it is not the standard apache error. I could not find...
0
9685
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9531
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10187
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10018
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9055
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7553
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5446
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3735
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2928
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.