Zend errors after installation
  • Any idea how i can get this solved?

    Fatal error: Uncaught exception 'Zend_Config_Exception' with message 'parse_ini_file() has been disabled for security reasons' in /usr/share/php/libzend-framework-php/Zend/Config/Ini.php:182 Stack trace: #0 /usr/share/php/libzend-framework-php/Zend/Config/Ini.php(202): Zend_Config_Ini->_parseIniFile('/usr/share/airt...') #1 /usr/share/php/libzend-framework-php/Zend/Config/Ini.php(126): Zend_Config_Ini->_loadIniFile('/usr/share/airt...') #2 /usr/share/php/libzend-framework-php/Zend/Application.php(386): Zend_Config_Ini->__construct('/usr/share/airt...', 'production') #3 /usr/share/php/libzend-framework-php/Zend/Application.php(85): Zend_Application->_loadConfig('/usr/share/airt...') #4 /usr/share/airtime/public/index.php(52): Zend_Application->__construct('production', '/usr/share/airt...') #5 {main} thrown in /usr/share/php/libzend-framework-php/Zend/Config/Ini.php on line 182
  • 5 Comments sorted by
  • Vote Up0Vote Down hoerichhoerich
    Posts: 627Member, Airtime Moderator
    Hi Michiel,
    please give us more details.
    which Distro do you use? And which installation way?
    cheers
    Official Airtime Forum Manager
    --------------------------
    Most of the time an issue is located between keyboard and chair.
  • Vote Up0Vote Down NaomiNaomi
    Posts: 228Member
    Hey, it seems that the php server you're using has disabled this needed function "parse_ini_file()" for security reasons. How are you hosting Airtime? I'm not sure if there's a way to get around this if this function has been disabled for you.
  • I've got that problem fixed (by removing parse_ini from disabled functions in php.ini :)

    But now i can login but after that i get this error:

    Undefined variable: output
    #0 /usr/share/airtime/application/models/Preference.php(630): exception_error_handler(8, 'Undefined varia...', '/usr/share/airt...', 630, Array)
    #1 /usr/share/airtime/application/forms/RegisterAirtime.php(140): Application_Model_Preference::GetSystemInfo(false, true)
    #2 /usr/share/php/libzend-framework-php/Zend/Form.php(240): Application_Form_RegisterAirtime->init()
    #3 /usr/share/airtime/application/controllers/ShowbuilderController.php(117): Zend_Form->__construct()
    #4 /usr/share/php/libzend-framework-php/Zend/Controller/Action.php(516): ShowbuilderController->indexAction()
    #5 /usr/share/php/libzend-framework-php/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('indexAction')
    #6 /usr/share/php/libzend-framework-php/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
    #7 /usr/share/php/libzend-framework-php/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
    #8 /usr/share/php/libzend-framework-php/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
    #9 /usr/share/airtime/public/index.php(64): Zend_Application->run()
    #10 {main}


    Im running Ubuntu 12.04 on my own dedicated box.
  • Fixed that by completely disabling all disable functions in php.ini.
  • This software is really complicated, what i did is, i have all mp3's we have mounted from our NAS on the ubuntu box running airtime under /home/airtime/music (external mount), i added this folder as watched folder but i see no mp3's anywhere to add? I simply want the mp3's in that mount to show up so i can add em to the 24/7 playlist when there is no dj live, anyone that can help?

    Current Import Folder:/home/airtime/import/
    Watched folder: /home/airtime/music/

    that music dir is a mount to our NAS and all mp3's are in subdirs in there. I basically dont need the mp3's copied i just need airtime to allow me to select the mp3's and add them to a 24/7 non stop playlist. But i get nothing right now in airtime.


    Also:









    2013-10-03 10:48:04,348 INFO - [Thread-1] [airtime.py : new_watch()] : LINE 141 - Creating watch for directory: '/home/airtime/music'


    2013-10-03 10:48:04,349 DEBUG - [Thread-1] [api_client.py : __call__()] : LINE 134 - http://at.fuzionradio.fm:80/api/media-monitor-setup/format/json/api_ke


    2013-10-03 10:48:04,384 DEBUG - [Thread-1] [api_client.py : __call__()] : LINE 134 - http://at.fuzionradio.fm:80/api/list-all-watched-dirs/format/json/api_


    2013-10-03 10:48:04,571 ERROR - [Thread-1] [log.py : fatal_exception()] : LINE 33 - Exception bootstrapping: (dir,id)=(/home/airtime/music,2)


    2013-10-03 10:48:04,571 ERROR - [Thread-1] [log.py : fatal_exception()] : LINE 34 - 'utf8' codec can't decode byte 0xc2 in position 36: invalid continuatio


    2013-10-03 10:48:04,572 ERROR - [Thread-1] [log.py : fatal_exception()] : LINE 35 - Traceback (most recent call last):


      File "/usr/lib/airtime/media-monitor/mm2/media/monitor/airtime.py", line 116, in __request_now_bootstrap


        bs.flush_watch( directory=directory, last_ran=self.cfg.last_ran() )


      File "/usr/lib/airtime/media-monitor/mm2/media/monitor/bootstrap.py", line 37, in flush_watch


        for f in mmp.walk_supported(directory, clean_empties=False):


      File "/usr/lib/airtime/media-monitor/mm2/media/monitor/pure.py", line 161, in walk_supported


        for root, dirs, files in os.walk(directory):


      File "/usr/lib/airtime/airtime_virtualenv/lib/python2.7/os.py", line 294, in walk


        for x in walk(new_path, topdown, onerror, followlinks):


      File "/usr/lib/airtime/airtime_virtualenv/lib/python2.7/os.py", line 294, in walk


        for x in walk(new_path, topdown, onerror, followlinks):


      File "/usr/lib/airtime/airtime_virtualenv/lib/python2.7/os.py", line 284, in walk


        if isdir(join(top, name)):


      File "/usr/lib/airtime/airtime_virtualenv/lib/python2.7/posixpath.py", line 71, in join


        path += '/' + b


      File "/usr/lib/airtime/airtime_virtualenv/lib/python2.7/encodings/utf_8.py", line 16, in decode


        return codecs.utf_8_decode(input, errors, True)


    UnicodeDecodeError: 'utf8' codec can't decode byte 0xc2 in position 36: invalid continuation byte

    Post edited by Michiel Beenen at 2013-10-03 04:48:37