Search

One in ten page views (or one in twenty) i get "No data recieved" (empty response) on my symphony website. Anyone bumped into this before? I'm not entirely sure where to start looking for the source of the problem.

thanks for any eventual input, J

What's your hosting environment?

An empty response suggests a 500 server error. If you open your browser's console to inspect the response what is the HTTP status code? 200? 500? Try enabling PHP errors in your .htaccess file for a more verbose output:

php_flag display_errors 1

An entirely blank page? I had that on a system that didn't have curl installed, it was a while ago though.

As a point of interest, that happens to me quite a lot on this site too!

No errors on the server apparently, the webhost guy showed me the log

Chrome says:

Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data.

This only happens on the staging server, not locally where i run MAMP

Some info from phpinfo:

System  FreeBSD dns.webtic.nl 9.0-RC3 FreeBSD 9.0-RC3 #0: Sun Dec 4 08:56:36 UTC 2011 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64

Build Date  Feb 8 2012 16:02:21

SERVER_SOFTWARE Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8q DAV/2 mod_wsgi/3.3 Python/2.7.2 PHP/5.3.10

PHP Version 5.3.10

SETTINGS:


allow_call_time_pass_reference  On  On
allow_url_fopen On  On
allow_url_include   Off Off
always_populate_raw_post_data   Off Off
arg_separator.input &   &
arg_separator.output    &   &
asp_tags    Off Off
auto_append_file    no value    no value
auto_globals_jit    On  On
auto_prepend_file   no value    no value
browscap    no value    no value
default_charset no value    no value
default_mimetype    text/html   text/html
define_syslog_variables Off Off
disable_classes no value    no value
disable_functions   no value    no value
display_errors  On  On
display_startup_errors  Off Off
doc_root    no value    no value
docref_ext  no value    no value
docref_root no value    no value
enable_dl   On  On
error_append_string no value    no value
error_log   /tmp/php.errors /tmp/php.errors
error_prepend_string    no value    no value
error_reporting 30719   30719
exit_on_timeout Off Off
expose_php  On  On
extension_dir   /usr/local/lib/php  /usr/local/lib/php
file_uploads    On  On
highlight.bg    #FFFFFF #FFFFFF
highlight.comment   #FF8000 #FF8000
highlight.default   #0000BB #0000BB
highlight.html  #000000 #000000
highlight.keyword   #007700 #007700
highlight.string    #DD0000 #DD0000
html_errors On  On
ignore_repeated_errors  Off Off
ignore_repeated_source  Off Off
ignore_user_abort   Off Off
implicit_flush  Off Off
include_path    .:/usr/local/lib/php    .:/usr/local/lib/php
log_errors  On  On
log_errors_max_len  1024    1024
magic_quotes_gpc    On  On
magic_quotes_runtime    Off Off
magic_quotes_sybase Off Off
mail.add_x_header   Off Off
mail.force_extra_parameters no value    no value
mail.log    no value    no value
max_execution_time  30  30
max_file_uploads    20  20
max_input_nesting_level 64  64
max_input_time  -1  -1
max_input_vars  1000    1000
memory_limit    256M    256M
open_basedir    no value    no value
output_buffering    0   0
output_handler  no value    no value
post_max_size   640M    640M
precision   14  14
realpath_cache_size 16K 16K
realpath_cache_ttl  120 120
register_argc_argv  On  On
register_globals    Off Off
register_long_arrays    On  On
report_memleaks On  On
report_zend_debug   On  On
request_order   no value    no value
safe_mode   Off Off
safe_mode_exec_dir  /usr/local/php/bin  /usr/local/php/bin
safe_mode_gid   Off Off
safe_mode_include_dir   no value    no value
sendmail_from   no value    no value
sendmail_path   /usr/sbin/sendmail -t -i    /usr/sbin/sendmail -t -i 
serialize_precision 17  17
short_open_tag  On  On
SMTP    localhost   localhost
smtp_port   25  25
sql.safe_mode   Off Off
track_errors    Off Off
unserialize_callback_func   no value    no value
upload_max_filesize 4096M   4096M
upload_tmp_dir  no value    no value
user_dir    no value    no value
user_ini.cache_ttl  300 300
user_ini.filename   .user.ini   .user.ini
variables_order EGPCS   EGPCS
xmlrpc_error_number 0   0
xmlrpc_errors   Off Off
y2k_compliance  On  On
zend.enable_gc  On  On

LIBXML

libXML support  active
libXML Compiled Version 2.7.8
libXML Loaded Version   20708
libXML streams  enabled

Anything else that could be relevant?

thanks a bunch for any idea on how to start debugging this thing J

ah, sorry about the formatting...

One in ten page views (or one in twenty) i get "No data recieved"

Can you actively reproduce this? So when you hit refresh 20 times, you will get this empty result? If so, I would add a tail to the access and error logs of the webserver and the PHP error log and see if your request actually is processed by the web server (access log) and if there is any error reported (error logs).

If live monitoring is not possible, ask for both PHP error log as well as webserver logs to analyse the problem. Your PHP log level is everything except E_STRICT, so that seems to be fine. I would take an extra look at the webserver logs, maybe something is going wrong with the requests.

Thanks for the input.

I can't reproduce it by clicking a lot. It happens quite seldom, and no php errors seemingly. So this could be on the apache level. I'm trying to deal with this together with the hosting company currently, I'll post back as soon as I know more

Okay, this isn't a very satisfying follow-up. But, after switching to a different server by the hosting company, i didn't have this issue anymore. So likely it didn't have anything to do with symphony. But it will probably remain a mystery what exactly was going on.

Thanks for the input J

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details