No remote login post update 2.0.1
  • johngoughjohngough
    Posts: 90Member
    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
  • James MoonJames Moon
    Posts: 73Member
    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
  • johngoughjohngough
    Posts: 90Member
    Hi James, I just upgraded using synaptic. How do I confirm dependencies?
  • Martin KonecnyMartin Konecny
    Posts: 809Member
    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

    ?
  • johngoughjohngough
    Posts: 90Member
    hi Martin,

    ii zendframework   1.10.0-1
       powerful PHP framework
  • Martin KonecnyMartin Konecny
    Posts: 809Member
    Please post the output of 

    lsb_release -a
  • NaomiNaomi
    Posts: 125Member
    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.
  • johngoughjohngough
    Posts: 90Member
    No lsb modules are available.
    Distributor ID:Ubuntu
    Description: Ubuntu 10.04.3 LTS
    Release:      10:04
    Codename:  lucid
  • Martin KonecnyMartin Konecny
    Posts: 809Member
    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 :)

  • johngoughjohngough
    Posts: 90Member
    Thanks Naomi, can you clarify do I change -

     APPLICATION_ENV == "development"

    to

    APPLICATION_ENV == "production"

    Thanks for the help


  • johngoughjohngough
    Posts: 90Member
    Thanks Naomi, can you clarify do I change -

     APPLICATION_ENV == "development"

    to

    APPLICATION_ENV == "production"

    Thanks for the help


  • NaomiNaomi
    Posts: 125Member
    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.
  • johngoughjohngough
    Posts: 90Member
    Fixed

    thanks very much folks. Your support is awesome as always

    J

  • NaomiNaomi
    Posts: 125Member
    Great! :D