The function name is wrong as mentioned in other answers. The hyphen should be replaced with an underscore.
Double check the module location
It should reside in one of the following folders
- /sites/all/modules/your_module
- /sites/domain.com/modules/your_module
- /sites/all/modules/your_module
Info File
Only Name, Description and Core are required in your info file. Start by removing everything except those values.
name = Custom Views
description = Module to allow custom view development
core = 7.x
The PHP version you specified is a minimum PHP version required to run the module. Sounds obvious but have you checked to see if you are running >= 5.2
Check the permissions of the module folder and the .info
file too.
When Drupal looks for modules, it uses file_exists()
on the .info file which will return false if the file does not exist, or it cannot access it due to permissions or incorrect ownership.
The ownership of the file is of key importance too. Check the owner of the info file matches one of a module which works.
Encoding
Some encoding can prevent the .info file being read. UTF8 without BOM should typically be read successfully.