Class 'Theme' not found in client.config.php

Bug #1409108 reported by Dan Garner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Xibo
Fix Released
Medium
Dan Garner

Bug Description

Not sure on the exact circumstances, hopefully something will break so the issue can be tracked down.

Subsequent errors:

Notice: Undefined index: in C: \ xampp \ htdocs \ @ Test @ \ lib \ data \
displayprofile.data.class.php on line 97

Notice: Undefined index: in C: \ xampp \ htdocs \ @ Test @ \ lib \ data \
displayprofile.data.class.php on line 99

Warning: Invalid argument supplied for foreach () in C: \ xampp \ htdocs \
@ Test @ \ lib \ data \ display.data.class.php on line 666

Notice: Undefined index: in C: \ xampp \ htdocs \ @ Test @ \ lib \ data \
displayprofile.data.class.php on line 97

Notice: Undefined index: in C: \ xampp \ htdocs \ @ Test @ \ lib \ data \
displayprofile.data.class.php on line 99

Warning: Invalid argument supplied for foreach () in C: \ xampp \ htdocs \
@ Test @ \ lib \ data \ display.data.class.php on line 666

Notice: Undefined index: in C: \ xampp \ htdocs \ @ Test @ \ lib \ data \
displayprofile.data.class.php on line 97

Notice: Undefined index: in C: \ xampp \ htdocs \ @ Test @ \ lib \ data \
displayprofile.data.class.php on line 99

Warning: Invalid argument supplied for foreach () in C: \ xampp \ htdocs \
@ Test @ \ lib \ data \ display.data.class.php on line 666

Tags: cms
Revision history for this message
Laercio (laercionit) wrote :

By accessing the menu option displays.

Using Test Mode / Audit Level

Revision history for this message
Dan Garner (dangarner) wrote :

Hi Laercio,

I don't experience that same issue here, so that is rather strange. Are you using the default (standard) theme? Or have you got your own theme in place?

Revision history for this message
Laercio (laercionit) wrote : Re: [Bug 1409108] Re: Class 'Theme' not found in client.config.php

This error occurs in the execution of mainitence.php

*Laercio Junior*
Cel./Pessoal: (21) 99162-7440
Email Pessoal: <email address hidden>
MSN: <email address hidden>
Skype: laercionit

2015-01-13 6:40 GMT-02:00 Dan Garner <email address hidden>:

> Hi Laercio,
>
> I don't experience that same issue here, so that is rather strange. Are
> you using the default (standard) theme? Or have you got your own theme
> in place?
>
> --
> You received this bug notification because you are subscribed to Xibo.
> Matching subscriptions: Laercio
> https://bugs.launchpad.net/bugs/1409108
>
> Title:
> Class 'Theme' not found in client.config.php
>
> Status in Xibo Open Source Digital Signage:
> New
>
> Bug description:
> Not sure on the exact circumstances, hopefully something will break so
> the issue can be tracked down.
>
>
> Subsequent errors:
>
> Notice: Undefined index: in C: \ xampp \ htdocs \ @ Test @ \ lib \ data \
> displayprofile.data.class.php on line 97
>
> Notice: Undefined index: in C: \ xampp \ htdocs \ @ Test @ \ lib \ data \
> displayprofile.data.class.php on line 99
>
> Warning: Invalid argument supplied for foreach () in C: \ xampp \ htdocs
> \
> @ Test @ \ lib \ data \ display.data.class.php on line 666
>
> Notice: Undefined index: in C: \ xampp \ htdocs \ @ Test @ \ lib \ data \
> displayprofile.data.class.php on line 97
>
> Notice: Undefined index: in C: \ xampp \ htdocs \ @ Test @ \ lib \ data \
> displayprofile.data.class.php on line 99
>
> Warning: Invalid argument supplied for foreach () in C: \ xampp \ htdocs
> \
> @ Test @ \ lib \ data \ display.data.class.php on line 666
>
> Notice: Undefined index: in C: \ xampp \ htdocs \ @ Test @ \ lib \ data \
> displayprofile.data.class.php on line 97
>
> Notice: Undefined index: in C: \ xampp \ htdocs \ @ Test @ \ lib \ data \
> displayprofile.data.class.php on line 99
>
> Warning: Invalid argument supplied for foreach () in C: \ xampp \ htdocs
> \
> @ Test @ \ lib \ data \ display.data.class.php on line 666
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/xibo/+bug/1409108/+subscriptions
>

Revision history for this message
Dan Garner (dangarner) wrote :

At the top of maintenance.php, next to the other requires, can you try adding:

require_once("lib/app/datemanager.class.php");
require_once("lib/app/helpmanager.class.php");
require_once("lib/app/thememanager.class.php");

Revision history for this message
Laercio (laercionit) wrote :

Changed the error:

You can try to see if you like, this environment is test:
http://teste.suatv.com.br/maintenance.php

[image: Imagem inline 1]

*Laercio Junior*
Cel./Pessoal: (21) 99162-7440
Email Pessoal: <email address hidden>
MSN: <email address hidden>
Skype: laercionit

2015-01-13 23:08 GMT-02:00 Dan Garner <email address hidden>:

> At the top of maintenance.php, next to the other requires, can you try
> adding:
>
> require_once("lib/app/datemanager.class.php");
> require_once("lib/app/helpmanager.class.php");
> require_once("lib/app/thememanager.class.php");
>
> --
> You received this bug notification because you are subscribed to Xibo.
> Matching subscriptions: Laercio
> https://bugs.launchpad.net/bugs/1409108
>
> Title:
> Class 'Theme' not found in client.config.php
>
> Status in Xibo Open Source Digital Signage:
> New
>
> Bug description:
> Not sure on the exact circumstances, hopefully something will break so
> the issue can be tracked down.
>
>
> Subsequent errors:
>
> Notice: Undefined index: in C: \ xampp \ htdocs \ @ Test @ \ lib \ data \
> displayprofile.data.class.php on line 97
>
> Notice: Undefined index: in C: \ xampp \ htdocs \ @ Test @ \ lib \ data \
> displayprofile.data.class.php on line 99
>
> Warning: Invalid argument supplied for foreach () in C: \ xampp \ htdocs
> \
> @ Test @ \ lib \ data \ display.data.class.php on line 666
>
> Notice: Undefined index: in C: \ xampp \ htdocs \ @ Test @ \ lib \ data \
> displayprofile.data.class.php on line 97
>
> Notice: Undefined index: in C: \ xampp \ htdocs \ @ Test @ \ lib \ data \
> displayprofile.data.class.php on line 99
>
> Warning: Invalid argument supplied for foreach () in C: \ xampp \ htdocs
> \
> @ Test @ \ lib \ data \ display.data.class.php on line 666
>
> Notice: Undefined index: in C: \ xampp \ htdocs \ @ Test @ \ lib \ data \
> displayprofile.data.class.php on line 97
>
> Notice: Undefined index: in C: \ xampp \ htdocs \ @ Test @ \ lib \ data \
> displayprofile.data.class.php on line 99
>
> Warning: Invalid argument supplied for foreach () in C: \ xampp \ htdocs
> \
> @ Test @ \ lib \ data \ display.data.class.php on line 666
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/xibo/+bug/1409108/+subscriptions
>

Revision history for this message
Dan Garner (dangarner) wrote :

I think this means that 3 of your displays do not have a client type yet (because they have not connected since you upgraded).

This can be protected against by changing line 741 of lib/data/display.data.class.php to:

if ($alertTimeout == 0 && $clientType != '') {

Dan Garner (dangarner)
Changed in xibo:
status: New → Fix Committed
Dan Garner (dangarner)
Changed in xibo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.