No remote login post update 2.0.1
  • Hi guys after upgrading to 2.0.1 I can no longer login remotly. I get the following when I go to our server -

    Warning: include_once(ZFDebug/Controller/Plugin/Debug.php): failed to open stream: No such file or directory in /usr/share/php/Zend/Loader.php on line 146 Warning: include_once(): Failed opening 'ZFDebug/Controller/Plugin/Debug.php' for inclusion (include_path='/usr/share/airtime/application/controllers/plugins:/usr/share/airtime/application/models:.:/usr/share/php:/usr/share/pear:/usr/share/airtime/library') in /usr/share/php/Zend/Loader.php on line 146 Fatal error: Class 'ZFDebug_Controller_Plugin_Debug' not found in /usr/share/airtime/application/Bootstrap.php on line 126

    So something is obviously missing on some lines of the config files but I don't know what. Can someone help?

    Our stream is working fine still

    thanks so much
    John
  • 13 Comments sorted by
  • I think you are missing some dependencies that were newly introduced in 2.0.1.
    Which install method did you use to upgrade?

    Please confirm you have all the dependencies installed for 2.0.1
    Post edited by James Moon at 2012-02-22 15:01:13
  • Hi James, I just upgraded using synaptic. How do I confirm dependencies?
  • Hi,

    So you installed via a deb package? These dependencies should have automatically been taken care of. What is the output of 

    sudo dpkg -l | grep zend

    ?
    Airtime Pro Hosting: http://airtime.pro
  • hi Martin,

    ii zendframework   1.10.0-1
       powerful PHP framework
  • Please post the output of 

    lsb_release -a
    Airtime Pro Hosting: http://airtime.pro
  • hey do you have this variable set anywhere?

    APPLICATION_ENV == "development"

    it would be either .htaccess or in your apache config of your vhost. If your site is set on "production" instead this should be avoided.
  • No lsb modules are available.
    Distributor ID:Ubuntu
    Description: Ubuntu 10.04.3 LTS
    Release:      10:04
    Codename:  lucid
  • Naomi found the problem. Remove this line from

    /usr/share/airtime/public/.htaccess or
    /etc/apache2/sites-available/airtime

    (or both if it appears in both :)

    Airtime Pro Hosting: http://airtime.pro
  • Thanks Naomi, can you clarify do I change -

     APPLICATION_ENV == "development"

    to

    APPLICATION_ENV == "production"

    Thanks for the help


  • Thanks Naomi, can you clarify do I change -

     APPLICATION_ENV == "development"

    to

    APPLICATION_ENV == "production"

    Thanks for the help


  • you can set it to

    APPLICATION_ENV == "production" 

    or just remove it completely, as production will be the default set by us if you haven't defined it.
  • Fixed

    thanks very much folks. Your support is awesome as always

    J

  • Great! :D