Support Spidean

Do you like our FREE downloads? How about the FREE support for the FREE downloads? Please help us out and donate any amount! It's fast and easy through PayPal.

Spidean Forums

Board Index > Support (1.77) > Custom Module stopped working


 < Last Thread   Next Thread >New Topic  Post Reply
Author: Subject: Custom Module stopped working

Junior Member





Posts: 22
Registered: 1/15/2004
Status: Offline

  posted on 1/21/2006 at 04:15 PM
I can no longer create a Custom Module in my theme. AutoTheme just doesn't recognise the template I'm asking it to.

Here's a page created using Custom Module a while ago which works fine:
http://www.outtherenews.com/index.php?module=ContentExpress &func=display&ceid=5

Here's the page I'm trying to create now:
http://www.outtherenews.com/index.php?module=ContentExpress &func=display&ceid=16

The Custom Module settings on this are in fact identical. But it doesn't work.

In the meantime, my host moved my site to a different physical server. I've uploaded backup versions of the entire modules/AutoTheme folder and the modules/Blocks folder. I've CHMOD'd all the files and folders to 777 that are listed in the installation instructions.

Any clue what might be going wrong? Have to admit I am still running AT1.7 on Pn 0.750 with security patch because it's a complex site with several 3rd party modules and I haven't been able to make the upgrades work on my testbed.

 
Reply With Quote

Junior Member




Posts: 22
Registered: 1/15/2004
Status: Offline

  posted on 1/22/2006 at 03:56 AM
The details of the custom module are being correctly written to themes/{mytheme}/theme.cfg. But AT won't respond to the instruction to use a particular template, and just returns the plain Content Express page which is the subject of the custom module.
 
Reply With Quote

Junior Member




Posts: 22
Registered: 1/15/2004
Status: Offline

  posted on 1/22/2006 at 10:00 AM
I've discovered it's not just the Custom Module function; AT won't render any changes to any templates. Maybe something very simple wrong here?
 
Reply With Quote

Moderator




Posts: 351
Registered: 3/11/2003
Status: Offline

  posted on 1/22/2006 at 10:32 AM
Do you have Caching enabled?

 

____________________
PostNuke Themes
PHPNuke Themes
AutoThemes
Your #1 source for FREE and custom AutoThemes!

 
Reply With Quote

Junior Member




Posts: 22
Registered: 1/15/2004
Status: Offline

  posted on 1/22/2006 at 02:36 PM
I think caching is on because there are recent entries in the _cache directory.

But on my AT admin page I don't see the caching options which ought to be there.

[Edited on 22/1/2006 by pauleedle]

 
Reply With Quote

Administrator




Posts: 4570
Registered: 10/7/2002
Status: Online

  posted on 2/15/2006 at 01:12 PM
If you don't see the caching option in admin then 1 of 2 things: 1. you have an older AutoTheme or AT-Lite (maybe you have a mix of files). Try installing the new AT 1.77.

Thanks!
-Shawn

 
Reply With Quote

Junior Member




Posts: 22
Registered: 1/15/2004
Status: Offline

  posted on 6/13/2006 at 06:01 AM
Thanks Shawn, should have said long ago that upgrading to 1.77 solved the custom module problem.

However, since I upgraded, there seems some incompatibility with the Pn News module. When I try to edit an article, I get a blank page with the error message:

Fatal error :
module = AddStory
op = EditStory

Any idea what could be happening?

 
Reply With Quote

Administrator




Posts: 4570
Registered: 10/7/2002
Status: Online

  posted on 6/14/2006 at 07:07 PM
So you have an older version of PN < .76x. Open modules/AutoTheme/includes/postnuke/atCommands.php and change AddStory to NS-AddStory

-Shawn

 
Reply With Quote

Junior Member




Posts: 22
Registered: 1/15/2004
Status: Offline

  posted on 6/15/2006 at 04:02 AM
Perfect, Shawn, many thanks.

I've had to stick with Pn 0.75 because I use ContentExpress, which as far as I can work out is incompatible with 0.76.

 
Reply With Quote

Junior Member




Posts: 22
Registered: 1/15/2004
Status: Offline

  posted on 6/17/2006 at 06:05 PM
Now that I've upgraded to AT 1.77, I have one baffling problem: if I set the home page of my site to be anything other than the News module, the */user.php page ceases to work. It just comes up blank.

Any suggestions on what might be going wrong?

 
Reply With Quote

Junior Member




Posts: 22
Registered: 1/15/2004
Status: Offline

  posted on 6/18/2006 at 07:32 AM
I realised it's another case of needing to change module names in atCommands.php. Works fine now!
 
Reply With Quote

Junior Member




Posts: 22
Registered: 1/15/2004
Status: Offline

  posted on 6/19/2006 at 06:15 PM
That seemed to crack the problem but now I've lost it again. */user.php returns a blank page unless the home page is set to the News module - even though I've changed User to NS-User and NewUser to NS-NewUser in postnuke/atCommands.php.

Any suggestions on what I might be doing wrong?

 
Reply With Quote

Junior Member




Posts: 22
Registered: 1/15/2004
Status: Offline

  posted on 6/20/2006 at 03:38 AM
It definitely seems to be an AT issue. user.php works fine when the theme is set to ExtraLite but returns a blank page using any AT theme.
 
Reply With Quote
New Topic    Post Reply


Main Menu

Get AutoTheme

Featured Item

Poll

How do you like the new look?

[ Results | Polls ]

Votes: 84
Comments: 0

Powered by the AutoTheme HTML Theme System
Page created in 0.139063 Seconds