- Moderated by:
- Support Team
-
- rank:
-
Professional
- registered:
- September 2003
- Status:
- offline
- last visit:
- 11.04.08
- Posts:
- 3055
I get a "member non object" error when trying to call blocks from a "blank" module I created. It works fine when I call the module directly, but when I set that module as the home page, I get the error. The pnBlocks seems like it's not getting the table names...
Module is an "index.php" style module with no "main" function that just includes "header.php" then some output, then "footer.php". Any tips on to why this is "breaking" when it is called as the homepage (in settings) vs calling it directly?
--
Get PhotoGallery, PayPalCart, Dynamenu, Enhanced Blocks & other mods
Cape Cod Travel Info... -
- rank:
-
Professional
- registered:
- September 2003
- Status:
- offline
- last visit:
- 11.04.08
- Posts:
- 3055
Thanks 0 I guess I should mention, I should mention I'm using "classic" themes (non-Xanthia) and it's on a slightly older version of PN (.75)...
I've tries both the pnuser.php and index.php style of "blank" themes which work if I call via index.php?module=Blank or module.php?name=Blank&file=index, but not if I set that Blank module as the homepage under settings. It's having a problem getting the blocks. An echo of the query it's getting hung up on reveals it's not finding the table names in pnBlocks.php.
(I have my enhanced blocks mod installed, but that does not make significant changes to the query - only adds an extra field, etc..)
--
Get PhotoGallery, PayPalCart, Dynamenu, Enhanced Blocks & other mods
Cape Cod Travel Info...
