Main version.php was not readable or specified

Main version.php was not readable or specified

by 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)

?>

Average of ratings: -
In reply to A B

Re: Main version.php was not readable or specified

by Vasilis Daloukas -
Picture of Particularly helpful Moodlers Picture of 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

by 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 ?