Version

Version

by John Andrewartha -
Number of replies: 2

Hi,

I am getting the following error from Notifications when I try to install the hub.

Debug info: Missing version value in version.php
Stack trace:
  • line 418 of /lib/upgradelib.php: plugin_defective_exception thrown
  • line 265 of /lib/upgradelib.php: call to upgrade_plugins_modules()
  • line 1352 of /lib/upgradelib.php: call to upgrade_plugins()
  • line 290 of /admin/index.php: call to upgrade_noncore()

 

My Moodel version is Moodle 2.0.1 (Build: 20101225)

Php version 5.3.5  The hub version is the current in reposatery.

Average of ratings: -
In reply to John Andrewartha

Re: Version

by Anthony Borrow -
Picture of Core developers Picture of Plugin developers Picture of Testers

John - Just a guess but I would be curious if the /loca/hub/version.php file is on your server and if so what are its file permissions? Peace - Anthony

In reply to Anthony Borrow

Re: Version

by John Andrewartha -

Hi Anthony,

File permissions are -rw-r--r--   1 www  www   1388 Feb 16 19:33 version.php

Version Info from file

$plugin->version  = 2010111201;

$plugin->requires = 2010021900;

The OS is FreeBSD 8.2 S.

I assume the version is the earliest it will work with and is not pinned to a particular version.

John