Failed to load module Modules (at function: "initialise") ??

I am writing a new module and I thought I would start by getting my schema in but whenever I initialize my new module my schema is created and then I get the following error. Anyone tell me why this is? I have only changed the pntables and pninit files from the example (besides naming changes). The error is:

Failed to load module Modules (at function: "initialise")

Strangely the example module (which my module copied) doesnt have this difficulty.