Listing Templates

72 views
Skip to first unread message

Daniel

unread,
Aug 20, 2009, 3:41:24 PM8/20/09
to Concerto Digital Signage
Hi,

I have just installed a test copy of your software out, as thinking
about implementing this. When in adding/editing a screen, It does not
list the templates installed. Comes with the following error:

Screen Template

Click on a thumbnail for a larger view.

Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\bsb
\admin\app\screens\_form.php on line 168

Its like the templates are not installed, is there an easy fix for
this?

Kind Regards,
Daniel

Brian M

unread,
Aug 21, 2009, 2:51:39 PM8/21/09
to Concerto Digital Signage
Hi Dan,
I'm going to be cleaning up the template selection code to better
handle the edge cases for template selection (no templates available,
no suitable templates, etc) which should address the bug you've
found. I'll let you know when an updated copy of the code is
available for you to try out.

Thanks,
Brian

Julian

unread,
Aug 25, 2009, 9:03:48 PM8/25/09
to Concerto Digital Signage
I have the same. I understand what you're saying Brian, but how or
where are the templates created/uploaded?

Also, I am wondering what the hardware/ directory is for?

Regards,
Julian

Julian

unread,
Aug 25, 2009, 9:15:44 PM8/25/09
to Concerto Digital Signage
Also, if you go to Admin -> Template importer, the following error
appears:

Fatal error: Class 'phpCAS' not found in admin/app/frontpage/
controller.php on line 186

This error also appears on the demo site.

- Julian

Brian M

unread,
Aug 26, 2009, 10:44:13 AM8/26/09
to Concerto Digital Signage
I added a fix for that phpCAS error last night. Tenatively we're
looking at getting a 1.8.x bugfix release out over the next day or two
that will incorporate the phpCAS error, the template selection
problems, and a few other bugs we've identified.

If you're interested in making changes to remove the CAS problem
yourself there are just 2 lines that need to be modified in admin/app/
frontpage/controller.php, line 186 & 193 to replace phpCAS::getUser()
with $_SESSION[user]->username. The commit detailed here:
http://dev.studentsenate.rpi.edu/repositories/svn-senate/changesets/611
includes the full details (ignore all the other lines that were
changed).

Brian M

unread,
Sep 1, 2009, 11:33:07 PM9/1/09
to Concerto Digital Signage
Dan, Julian, et all,

We just released some updates to our code, version 1.8.3, which should
resolve the issues in the template selector as well as the template
exporter. If you're interested in upgrading you can download a copy
here: http://www.concerto-signage.com/downloads/concerto-1.8.3-NoCAS.tar.gz.

Keep me posted if this bug is still cropping up!

~Brian
Reply all
Reply to author
Forward
0 new messages