Airtime 2.1 Beta5 Cannot Add Playlists To Shows
  • Good Afternoon:

    We're running beta5 after we did a clean install after running beta4

    We were able to add playlists to shows the usual way by clicking on the show in the calendar

    In beta5, the dialog box does not appear. A single grey line shows up

    Tried it in:
    Ubuntu 11 running Firefox 11
    Windows 7 running Firefox 2.6 & Explorer 8
    Windows XP running Firefox 3.6
    and got the same results

    See attached

    Anyone else experiencing this?
    Post edited by Bob Zurunclε at 2012-04-26 16:47:00
  • 17 Comments sorted by
  • Hi Bob,

    I just tried this and I wasn't able to reproduce the case.
    Is there anything special about this show?
    Do you see any error on apache2 log(/var/log/apache2/error.log)?

    Thank you.
  • Here's the corresponding error

    [Thu Apr 26 13:57:59 2012] [error] [client 127.0.0.1] PHP Fatal error:
    Class 'Application_Common_DateHelper' not found in
    /usr/share/airtime/application/models/Schedule.php on line 38, referer:
    http://localhost/Sch$

    There's nothing special about the show. Just a standard time slot that I'd usually populate with play lists the way I always have
    Post edited by Bob Zurunclε at 2012-04-26 17:08:48
  • Are there database differences between beta 4 & beta 5?

    I did do a restore of the beta 4 database over the skeleton of the beta 5 database to save time importing the media files again
  • I just noticed another error in the log file that did not appear the first time




    [Thu Apr 26 14:14:17 2012] [error] [client 127.0.0.1] PHP Notice:

    Undefined offset: 2 in
    /usr/share/airtime/application/models/Schedule.php

    on line 361, referer: http://localhost/Schedule

    [Thu Apr 26 14:14:17 2012] [error] [client 127.0.0.1] PHP Notice:

    Undefined offset: 2 in
    /usr/share/airtime/application/models/Schedule.php

    on line 368, referer: http://localhost/Schedule

    [Thu Apr 26 14:14:17 2012] [error] [client 127.0.0.1] PHP Notice:

    Undefined offset: 1 in
    /usr/share/airtime/application/models/Schedule.php

    on line 370, referer: http://localhost/Schedule

    [Thu Apr 26 14:14:17 2012] [error] [client 127.0.0.1] PHP Notice:

    Undefined offset: 2 in
    /usr/share/airtime/application/models/Schedule.php

    on line 361, referer: http://localhost/Schedule

    [Thu Apr 26 14:14:17 2012] [error] [client 127.0.0.1] PHP Notice:

    Undefined offset: 2 in
    /usr/share/airtime/application/models/Schedule.php

    on line 368, referer: http://localhost/Schedule

    [Thu Apr 26 14:14:17 2012] [error] [client 127.0.0.1] PHP Notice:

    Undefined offset: 1 in
    /usr/share/airtime/application/models/Schedule.php
    on line 370, referer: http://localhost/Schedule

  • Hi Bob,

    How big is your db dump file? Can you please email it to james.moon@sourcefabric.org?
    We need to do exactly what you did as we cannot reproduce this nor observe those error in our log.

    Thank you.
  • Before I do that, let me try something else...

    I'm going to back up everything (clonezilla style) and reinstall from scratch and not over write the beta 4 database to beta 5 and see if that clears it up

    If not, we'll go the other way

    Thanks!
  • I'm having the same problems, Bob. I cannot add anything to a show: no playlists, no media. Nothing shows up in the "Show Content" and I get weird display errors in Playlist Builder (I posted screenshots in another thread in the development area as part of a bug report). I did a fresh install (backed up the DB but didn't restore it), imported all the media again, and started streaming by modifying ls_script.liq to change the default to play randomized selections from a playlist (this works correctly).
  • We confirm to have the same problem.

    We experimented it also with Airtime 2.1.0 Beta 4
  • Hi,

    There were some small DB changes for beta 5. Since almost everyone here is coming from beta4, restoring the beta4 DB is a likely culprit.

    Bob, please confirm if you have these problems with a fresh install of beta5.
    Airtime Pro Hosting: http://airtime.pro
  • Good Morning:

    I did a fresh install of Beta5, left the database empty and allowed the content to be imported into the empty database

    All seem to be working more or less. At least the sub menu to add content to a scheduled show works

    Having said all that, there are some fairly serious stability issues as compared to ver 2.0.3 especially when creating play lists while on the air.

    The on air light status goes in and out, we've lost the station clock and the browser interface locks up for extended periods of time ultimately timing out a jquery script

    In addition, after a reboot of the computer, we are scheduling shows and they do not go on air when the timer hits the proper time.

    We have to "bump" the software doing a restart of icecast, playout & media-monitor then it will go on air

    The functionality is nice but practically speaking the function is really kludge-esque

    Hope that helps to some degree

    There are also apache errors. I'll post that in a bit

    Thanks
  • Here are the errors from the apache log

    [Fri Apr 27 10:06:31 2012] [error] [client 127.0.0.1] PHP Notice:  Undefined variable: totalDisplayRows in /usr/share/airtime/application/models/Datatables.php on line 99, $
    [Fri Apr 27 10:06:31 2012] [error] [client 127.0.0.1] PHP Notice:  Undefined variable: totalRows in /usr/share/airtime/application/models/Datatables.php on line 100, refere$
    [Fri Apr 27 10:06:31 2012] [error] [client 127.0.0.1] PHP Notice:  Undefined variable: results in /usr/share/airtime/application/models/Datatables.php on line 102, referer:$
    [Fri Apr 27 10:06:31 2012] [error] [client 127.0.0.1] PHP Warning:  Invalid argument supplied for foreach() in /usr/share/airtime/application/models/StoredFile.php on line $
    [Fri Apr 27 10:06:31 2012] [error] [client 127.0.0.1] PHP Warning:  Invalid argument supplied for foreach() in /usr/share/airtime/application/controllers/LibraryController.$
    [Fri Apr 27 10:07:17 2012] [error] [client 127.0.0.1] PHP Notice:  Undefined variable: totalDisplayRows in /usr/share/airtime/application/models/Datatables.php on line 99, $
    [Fri Apr 27 10:07:17 2012] [error] [client 127.0.0.1] PHP Notice:  Undefined variable: totalRows in /usr/share/airtime/application/models/Datatables.php on line 100, refere$
    [Fri Apr 27 10:07:17 2012] [error] [client 127.0.0.1] PHP Notice:  Undefined variable: results in /usr/share/airtime/application/models/Datatables.php on line 102, referer:$
    [Fri Apr 27 10:07:17 2012] [error] [client 127.0.0.1] PHP Warning:  Invalid argument supplied for foreach() in /usr/share/airtime/application/models/StoredFile.php on line $
    [Fri Apr 27 10:07:17 2012] [error] [client 127.0.0.1] PHP Warning:  Invalid argument supplied for foreach() in /usr/share/airtime/application/controllers/LibraryController.$
    [Fri Apr 27 10:19:22 2012] [error] [client 127.0.0.1] PHP Notice:  Undefined variable: totalDisplayRows in /usr/share/airtime/application/models/Datatables.php on line 99, $
    [Fri Apr 27 10:19:22 2012] [error] [client 127.0.0.1] PHP Notice:  Undefined variable: totalRows in /usr/share/airtime/application/models/Datatables.php on line 100, refere$
    [Fri Apr 27 10:19:22 2012] [error] [client 127.0.0.1] PHP Notice:  Undefined variable: results in /usr/share/airtime/application/models/Datatables.php on line 102, referer:$
    [Fri Apr 27 10:19:22 2012] [error] [client 127.0.0.1] PHP Warning:  Invalid argument supplied for foreach() in /usr/share/airtime/application/models/StoredFile.php on line $
    [Fri Apr 27 10:19:22 2012] [error] [client 127.0.0.1] PHP Warning:  Invalid argument supplied for foreach() in /usr/share/airtime/application/controllers/LibraryController.$

  • More Issues:

    I tried importing more audio files after the initial watched folder scan

    Now when I attempt create a play list, the audio file list hangs with a "processing" window (see attached)


    800 x 411 - 27K
    Post edited by Bob Zurunclε at 2012-04-27 17:51:39
  • Here's the error log

    [Fri Apr 27 14:41:53 2012] [error] [client 127.0.0.1] PHP Notice: Undefined variable: results in /usr/share/airtime/application/models/Datatables.php on line 102, referer: http://localhost/$
    [Fri Apr 27 14:41:53 2012] [error] [client 127.0.0.1] PHP Warning: Invalid argument supplied for foreach() in /usr/share/airtime/application/models/StoredFile.php on line 662, referer: http$
    [Fri Apr 27 14:41:53 2012] [error] [client 127.0.0.1] PHP Warning: Invalid argument supplied for foreach() in /usr/share/airtime/application/controllers/LibraryController.php on line 157, r$
    [Fri Apr 27 14:42:46 2012] [error] [client 127.0.0.1] PHP Notice: Undefined variable: totalDisplayRows in /usr/share/airtime/application/models/Datatables.php on line 99, referer: http://lo$
    [Fri Apr 27 14:42:46 2012] [error] [client 127.0.0.1] PHP Notice: Undefined variable: results in /usr/share/airtime/application/models/Datatables.php on line 102, referer: http://localhost/$
    [Fri Apr 27 14:42:46 2012] [error] [client 127.0.0.1] PHP Warning: Invalid argument supplied for foreach() in /usr/share/airtime/application/models/StoredFile.php on line 662, referer: http$
    [Fri Apr 27 14:42:46 2012] [error] [client 127.0.0.1] PHP Warning: Invalid argument supplied for foreach() in /usr/share/airtime/application/controllers/LibraryController.php on line 157, r$
    [Fri Apr 27 14:43:44 2012] [error] [client 192.168.1.1] PHP Notice: Undefined variable: totalDisplayRows in /usr/share/airtime/application/models/Datatables.php on line 99, referer: http://$
    [Fri Apr 27 14:43:44 2012] [error] [client 192.168.1.1] PHP Notice: Undefined variable: totalRows in /usr/share/airtime/application/models/Datatables.php on line 100, referer: http://livefr$
    [Fri Apr 27 14:43:44 2012] [error] [client 192.168.1.1] PHP Notice: Undefined variable: results in /usr/share/airtime/application/models/Datatables.php on line 102, referer: http://livefrom$
    [Fri Apr 27 14:43:44 2012] [error] [client 192.168.1.1] PHP Warning: Invalid argument supplied for foreach() in /usr/share/airtime/application/models/StoredFile.php on line 662, referer: ht$
    [Fri Apr 27 14:43:44 2012] [error] [client 192.168.1.1] PHP Warning: Invalid argument supplied for foreach() in /usr/share/airtime/application/controllers/LibraryController.php on line 157,$
    [Fri Apr 27 14:43:50 2012] [error] [client 192.168.1.1] PHP Notice: Undefined variable: totalDisplayRows in /usr/share/airtime/application/models/Datatables.php on line 99, referer: http://$
    [Fri Apr 27 14:43:50 2012] [error] [client 192.168.1.1] PHP Notice: Undefined variable: totalRows in /usr/share/airtime/application/models/Datatables.php on line 100, referer: http://livefr$
    [Fri Apr 27 14:43:50 2012] [error] [client 192.168.1.1] PHP Notice: Undefined variable: results in /usr/share/airtime/application/models/Datatables.php on line 102, referer: http://livefrom$
    [Fri Apr 27 14:43:50 2012] [error] [client 192.168.1.1] PHP Warning: Invalid argument supplied for foreach() in /usr/share/airtime/application/models/StoredFile.php on line 662, referer: ht$
    [Fri Apr 27 14:43:50 2012] [error] [client 192.168.1.1] PHP Warning: Invalid argument supplied for foreach() in /usr/share/airtime/application/controllers/LibraryController.php on line 157,$

  • Hi Bob,

    Can you confirm if these errors are happening for you on airtime-dev.sourcefabric org?

    We aren't experiencing any of these issues (especially the random slow-downs). Can you give us a overview of your system? What version of Ubuntu/Debian are you running? Maybe post the output of "airtime-check-system".
    Airtime Pro Hosting: http://airtime.pro
  • Also, can you please post the file /var/log/airtime/zendphp.log
    Airtime Pro Hosting: http://airtime.pro
  • AIRTIME_STATUS_URL             = http://localhost:80/api/status/format/json/api_key/%%api_key%%
    AIRTIME_SERVER_RESPONDING      = OK
    KERNEL_VERSION                 = 2.6.38-14-generic
    MACHINE_ARCHITECTURE           = x86_64
    TOTAL_MEMORY_MBYTES            = 2056336
    TOTAL_SWAP_MBYTES              = 2094076
    AIRTIME_VERSION                = 2.1.0
    OS                             = Ubuntu 11.04 x86_64
    CPU                            = Intel(R) Atom(TM) CPU D510   @ 1.66GHz
    WEB_SERVER                     = Apache/2.2.17 (Ubuntu)
    PLAYOUT_ENGINE_PROCESS_ID      = 17257
    PLAYOUT_ENGINE_RUNNING_SECONDS = 2031
    PLAYOUT_ENGINE_MEM_PERC        = 0.6%
    PLAYOUT_ENGINE_CPU_PERC        = 0.0%
    LIQUIDSOAP_PROCESS_ID          = 17261
    LIQUIDSOAP_RUNNING_SECONDS     = 2031
    LIQUIDSOAP_MEM_PERC            = 1.1%
    LIQUIDSOAP_CPU_PERC            = 12.6%
    MEDIA_MONITOR_PROCESS_ID       = 17280
    MEDIA_MONITOR_RUNNING_SECONDS  = 2030
    MEDIA_MONITOR_MEM_PERC         = 2.5%
    MEDIA_MONITOR_CPU_PERC         = 0.2%
    RABBITMQ_PROCESS_ID            = 1833
    RABBITMQ_RUNNING_SECONDS       = 18721
    RABBITMQ_MEM_PERC              = 1.4%
    RABBITMQ_CPU_PERC              = 0.0%

  • What browser + version are you running when Airtime slows down. Does the airtime-dev url work for you?


    Airtime Pro Hosting: http://airtime.pro