Jump to content

Recommended Posts

Posted

Hello,

 

I'm having an issue with my Xibo installation and I've not really got anywhere by asking on their launchpad page.

 

I'm getting the following error in the xibo administration page:

 

preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead

8192

Deprecated Call

C:\xampp\htdocs\xibo\lib\app\kit.class.php

262

 

... and I can't register any clients. When I click the 'display admin' button it takes me to the xibo administration page, click 'register and I get:

 

Client found response content type of 'text/html', but expected 'text/xml'.

The request failed with an empty response.

 

The XAMPP and Xibo server is on a S2008R2 box, W7 32 bit clients.

 

Hope somebody can help! My PHP knowledge is limited (ie non existent).

 

Many Thanks!

Posted

Sounds like a wrong version of PHP see :- Install Guide Xibo Server - Xibo

"Note: New versions of XAMPP come with PHP 5.3.1 or later. We have some reports of the webservice in Xibo that uses the nuSOAP library not working properly with PHP > 5.2. You can download XAMPP 1.7.1 here which comes with PHP 5.2.9 and should work for everyone."

Posted
Sounds like a wrong version of PHP see :- Install Guide Xibo Server - Xibo

"Note: New versions of XAMPP come with PHP 5.3.1 or later. We have some reports of the webservice in Xibo that uses the nuSOAP library not working properly with PHP > 5.2. You can download XAMPP 1.7.1 here which comes with PHP 5.2.9 and should work for everyone."

 

Thanks for the reply - I've rolled it back to that version of XAMPP but I'm still getting the same error on the client.

 

I've just noticed that despite me saying I'm using a 32 bit client, which I thought I was, I'm actually using a 64 bit client which doesn't look like it's officially supported... will report back once I've cobbled together a 32 bit client to test!

 

Thanks again.

Posted

@3s-gtech thanks. I've reinstalled once or twice now following their guidelines closely, so if it's anything that I've not configured correctly then it's not in the documentation.

 

Just noticed that rolling back XAMPP has got rid of the 'preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead' error that was spamming the logs in the administration console, so the only errors I'm seeing at the moment are on the client when I try and register.

 

I'm going to try a 32 bit client when I'm on site tomorrow. Thanks all (for now!).

Posted

Hello again,

 

Tried again this morning with a clean build 32 bit W7 client and I'm still seeing the same 'client found response content type of 'text/html', but expected 'text/xml'. The request failed with an empty response'.

 

On the client info page there are two errrors that don't relate to blank templates:

 

There are two errors that show up on the client info page:

 

RequiredFilesAgentThread - Error - RequiredFilesAgent - Run

Message - Exception in Run: Client found response content of 'text/html', but expected 'text/xml'. The request failed with an empty response.

 

LibraryAgent - Error - LibraryAgent - Run

Message - Exception in Run: Could not find the file 'C:\Users\administrator\AppData\Roaming\Xibo\Xibo Digital 'Signage\2.0.0.0\requiredfiles.xml'.

 

In that folder there are three xml files called cachemanager, log and stats.

 

Anyone any ideas?

Posted
Hello again,

 

Tried again this morning with a clean build 32 bit W7 client and I'm still seeing the same 'client found response content type of 'text/html', but expected 'text/xml'. The request failed with an empty response'.

 

On the client info page there are two errrors that don't relate to blank templates:

 

There are two errors that show up on the client info page:

 

RequiredFilesAgentThread - Error - RequiredFilesAgent - Run

Message - Exception in Run: Client found response content of 'text/html', but expected 'text/xml'. The request failed with an empty response.

 

LibraryAgent - Error - LibraryAgent - Run

Message - Exception in Run: Could not find the file 'C:\Users\administrator\AppData\Roaming\Xibo\Xibo Digital 'Signage\2.0.0.0\requiredfiles.xml'.

 

In that folder there are three xml files called cachemanager, log and stats.

 

Anyone any ideas?

 

Still stuck... anyone?

Posted
I did. As I say, it's got rid of the 'preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead' error but I'm still in the same position with trying to register the client. Looks as if there's a file missing somewhere, maybe one that the server should be copying over when it registers? I'm guessing...
Posted

Yeah, rebuilt the box to 32 bit (it was 64 bit to start with), clean install of client, correct server key, click 'register' and get this:

 

Client found response content type of 'text/html', but expected 'text/xml'.

The request failed with an empty response.

 

If I click 'Display admin' it takes me to the Xibo login page, and I can log and and administer the xibo server from the client.

 

Thanks again.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...