Main version.php was not readable or specified

Main version.php was not readable or specified

A B - මගින්
Number of replies: 3
I have installed Moodle 1.9.8 and downloaded game-module

Download latest version http://moodle.org/mod/data/view.php?d=13&rid=1196

Unzip game.zip to apache/htdoc/moodle/mod/ and klicked notifications

version.php is located in apache/htdoc/moodle/mod/game/

<?php // $Id: version.php,v 1.29 2010/03/11 21:51:48 bdaloukas Exp $
/**
* Code fragment to define the version of game
* This fragment is called by moodle_needs_upgrading() and /admin/index.php
*
* @author
* @version $Id: version.php,v 1.30 2010/03/11 21:51:48 bdaloukas Exp $
* @package game
**/

$module->version = 2010031101; // The current module version (Date: YYYYMMDDXX)
$module->release = 'v2'.substr( $module->version, 4);
$module->cron = 0; // Period for cron to check this module (secs)

?>

ශ්‍රේණිගත කිරීම්වල සාමාන්යය: -
In reply to A B

Re: Main version.php was not readable or specified

Vasilis Daloukas - මගින්
Plugin developers ගේ පින්තුරය
Try to set the permissions to all files to 775 or 777. May be is not readable.
ශ්‍රේණිගත කිරීම්වල සාමාන්යය: -
In reply to Vasilis Daloukas

Re: Main version.php was not readable or specified

Panagiotis Kar - මගින්

I have the same problem but as i noticed modules must have a verion.php file. I didnt find one in analog_clock for ex. Any help ?

ශ්‍රේණිගත කිරීම්වල සාමාන්යය: -
In reply to Panagiotis Kar

Re: Re: Main version.php was not readable or specified

Vasilis Daloukas - මගින්
Plugin developers ගේ පින්තුරය

Support for analog_clock is available at http://3mro.wordpress.com/amr-hourani-moodle-support/

For Game module try to set permissions to all files to 775 or 777.

Also check that you use the correct version. There is one version for Moodle 1.9 and one for  Moodle 2.0

ශ්‍රේණිගත කිරීම්වල සාමාන්යය: -