Error after update to 3.0.4.3: BUG?

Discussion in 'General' started by PlanetMaster, Feb 15, 2012.

  1. PlanetMaster

    PlanetMaster New Member

    After I upgraded to the latest stable release my server stopped updating its logs and services. I removed the .ispconfig_lock file and commented out the cron job for server.sh and ran the following in debug mode:

    Code:
    /usr/local/ispconfig/server/server.sh
    Heres the error having to do with backups:
    Code:
    PHP Fatal error:  Call to undefined method plugins::registerAction() in /usr/local/ispconfig/server/plugins-available/backup_plugin.inc.php on line 54
    Oddly enough this file isnt included in the latest releases plugins list.
    http://fossies.org/dox/ISPConfig-3.0.4.3/software__update__plugin_8inc_8php_source.html

    Did you guys miss this and it hasnt been updated for the new release? I usually do my own error fixing but not knowing the way this file is being used off hand will make it a bit tougher. Plus could be reported as a bug possibly?

    Just for reference here is the line(s) in question:
    PHP:
                    //* Register for actions
                    
    $app->plugins->registerAction('backup_download',$this->plugin_name,'backup_action');
                    
    $app->plugins->registerAction('backup_restore',$this->plugin_name,'backup_action');
    Thanks for any assistance...
     
    Last edited: Feb 15, 2012
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats no bug. The code you posted is not in ispconfig 3.0.4.3 and was never a part of the 3.0.4.x release series, the file /usr/local/ispconfig/server/plugins-available/backup_plugin.inc.php is from svn trunk (ISPConfig 3.0.5).

    Seems as if you copied code from trunk on your server, maybe as you tried to fix something? Or you updated your server to svn trunk and now downgraded to stable. Delete the file /usr/local/ispconfig/server/plugins-available/backup_plugin.inc.php as its not required for 3.0.4.3 and can not work in 3.0.4.3 as it is for and reguires svn trunk version.
     
    Last edited: Feb 15, 2012
  3. PlanetMaster

    PlanetMaster New Member

    Yeah just figured that out and made the corrections. Thanks.

    I was adding my SSL email ports in the monitor services and made an error in one of my edits. Got it all working now.
     

    Attached Files:

    Last edited: Feb 15, 2012

Share This Page