Problem with client registration

Asked by donny

When I attempt to register the display through the client options, I receive the following error:
Unable to read data from the transport connection: The connection was closed.

On the server, the log contains the following:
<errormsg>Creating default object from empty value</errormsg>
<errornum>2048</errornum>
<errortype>Runtime Notice</errortype>
<scriptname>C:\xampp\htdocs\xibo\3rdparty\nuSoap\nusoap.php</scriptname>
<scriptlinenum>75</scriptlinenum>

I'm guessing it's something I did, but not sure if I missed a step in the setup or there's a configuration mismatch with the server. Any thoughts on what is causing this or how to get around it?

Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
donny
Solved:
Last query:
Last reply:
Revision history for this message
Alex Harrington (alexharrington) said :
#1

Hi Donny

Thanks for your question. That's a new error on me.

Can you give us an overview of the server (output of phpinfo would be good.)

Can you also go to http://your.server/xmds.php and see if an error is served there.

Cheers

Alex

Revision history for this message
donny (donny-gore-wolterskluwer) said :
#2

Server OS is Vista 32bit running Apache 2. Installed through the Xampp installer from Apache Friends.

This is from the php info, if there's a better way to get this info to you than copy and paste here, please let me know.
System Windows NT DSERVER 6.0 build 6000
Build Date May 2 2007 19:17:46
Configure Command cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared"
Server API Apache 2.0 Handler
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\Windows
Loaded Configuration File C:\xampp\apache\bin\php.ini
PHP API 20041225
PHP Extension 20060613
Zend Extension 220060519
Debug Build no
Thread Safety enabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams php, file, data, http, ftp, compress.zlib, https, ftps, zip
Registered Stream Socket Transports tcp, udp, ssl, sslv3, sslv2, tls
Registered Stream Filters convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, zlib.*

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 &amp; &amp;
asp_tags Off Off
auto_append_file no value no value
auto_globals_jit On On
auto_prepend_file no value no value
browscap C:\xampp\php\browscap\browscap.ini C:\xampp\php\browscap\browscap.ini
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 no value no value
error_prepend_string no value no value
error_reporting 6135 6135
expose_php On On
extension_dir C:\xampp\php\ext\ C:\xampp\php\ext\
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 .;C:\xampp\php\pear\ .;C:\xampp\php\pear\
log_errors Off Off
log_errors_max_len 1024 1024
magic_quotes_gpc On On
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
mail.force_extra_parameters no value no value
max_execution_time 60 60
max_input_nesting_level 64 64
max_input_time 60 60
memory_limit 32M 32M
open_basedir no value no value
output_buffering no value no value
output_handler no value no value
post_max_size 16M 16M
precision 12 12
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
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from no value no value
sendmail_path no value no value
serialize_precision 100 100
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 32M 32M
upload_tmp_dir C:\xampp\tmp C:\xampp\tmp
user_dir no value no value
variables_order EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On
zend.ze1_compatibility_mode Off Off

The xmds.php page displays fine, no errors at all.

Thanks for taking a look and the quick response.

Revision history for this message
Alex Harrington (alexharrington) said :
#3

Hi Donny

Quote from Dan:
"1. Enable Debug and Audit from Management -> Settings -> Error
2. Attempt to register a client
3. Navigate to Management -> Log. Filter for last 200 seconds (or since you clicked register). You can also filter on "xmds" from the page selection. Is there anything listed?

If there is nothing listed I suspect there is a fatal PHP error going on that we haven't checked. In this case go to /xibodir/lib/include.php and edit line 25

ini_set('display_errors', 0);

change to

ini_set('display_errors', 1);

-Re-navigate XMDS and see what occurs
-Re-register the display from client options

Sorry there is so much here to debug there is a blueprint that I really want to work on (https://blueprints.launchpad.net/xibo/+spec/server-mode) which would make this much easier I think!

Cheers,
Dan"

If you could try those things and report back that would be great.

Cheers

Alex

Revision history for this message
donny (donny-gore-wolterskluwer) said :
#4

Made the changed requested above and the log still only displays the following error:
<errormsg>Creating default object from empty value</errormsg>
<errornum>2048</errornum>
<errortype>Runtime Notice</errortype>
<scriptname>C:\xampp\htdocs\xibo\3rdparty\nuSoap\nusoap.php</scriptname>
<scriptlinenum>75</scriptlinenum>

xmds.php still displays fine (gives me a list of items on the left like RegisterDisplay,RequiredFiled, etc) after changing line 25 to the requested setting.

Though, this may be unrelated, when going to the dashboard I now receive the following error:
Notice: Undefined variable: p in C:\xampp\htdocs\xibo\template\pages\mediamanager.php on line 47

Though everything still functions on the dashboard. I'm assuming this is a non issue and the notice would be suppressed if display_errors was set back to 0.

Thanks,
Donny.

Revision history for this message
Dan Garner (dangarner) said :
#5

Hi Donny,

After reading a little more closely about your problem I am fairly confident it is not an Xibo server issue at it. Instead I think we should focus on the client to further debug this problem.

Would it be possible for you to download the Debug Build of the client and try to register a display with that instead? This will output the entire error message in the results window (when in options).

There is an installation kit available here: http://launchpad.net/xibo/1.0/1.0.0-rc3/+download/xibo-client-1.0.0-rc3-win32-x86-DEBUG.msi

In addition to that could you also look in:
C:\Documents and Settings\Your Current User\Application Data\Xibo\Xibo Digital Signage\2.0.0.0\
for the log.xml and also any .ready files there are. It would be useful if you could mail these logs to <email address hidden>

I hope we can help you get Xibo working!

Cheers,
Dan

Revision history for this message
donny (donny-gore-wolterskluwer) said :
#6

I think the issues I'm having are related to the server (physical server, not server portion of Xibo). I set it up on a different machine running XP SP3 and everything worked without a hitch.

Thanks for all your help on this.