Topic: Failure in testing admin functions
ljspop
avatar
Registered User
Registered User
Posts: 1

Posted:
5.Mar 2004 - 02:51

Hi All,

I am attempting to write a simple module. I am using the Template files and following the instructions in the Module Developer's Guide. I am coming to problems in step 7.7 - test your admin functions. All prior steps went pretty well (initialized module, tables created correctly).

I have modified the following files:

pninit.php
pntables.php
pnadmin.php
pnadminapi.php
pnversion.php
pnlang/eng/admin.php
pnblocks/first/php

The problem is when I go to:

.../index.php?module=My_Mod&type=admin

I am redirected to the home page. Would syntax errors do that? Seems almost like a permissions problem. Any tips would be greatly appreciated. I'm new to post-nuke (which is why this is going to be a simple module), but do have some programming background.

Thanks very much in advance!

Bob