Page 1 of 1

Fatal Error in News Module

Posted: Sun May 28, 2006 9:52 am
by Shana
I haven't been working on our site, I've made no changes other that post a news item.  I have a 'news archive' page that was working ok when I last checked. My install is 0.12.1 "Savusavu"

Now I can't access the page, http://shadowweb.info/newagecms/index.p ... ws_archive all I get is:

{nocache:4d160b24637d877808aeb8d00e139ef4#0}
Fatal error: Call to a member function on a non-object in /home/shadoww/public_html/newagecms/modules/News/action.default.php on line 104

In Firefox, and in IE:

{nocache:fb2a92086da328c19847fb4766f93c3f#1} {/nocache:fb2a92086da328c19847fb4766f93c3f#1} {nocache:fb2a92086da328c19847fb4766f93c3f#2} {/nocache:fb2a92086da328c19847fb4766f93c3f#2} {nocache:fb2a92086da328c19847fb4766f93c3f#3}{/nocache:fb2a92086da328c19847fb4766f93c3f#3} {nocache:fb2a92086da328c19847fb4766f93c3f#4}{/nocache:fb2a92086da328c19847fb4766f93c3f#4} {nocache:fb2a92086da328c19847fb4766f93c3f#5}{/nocache:fb2a92086da328c19847fb4766f93c3f#5} {nocache:fb2a92086da328c19847fb4766f93c3f#6} {/nocache:fb2a92086da328c19847fb4766f93c3f#6} {nocache:fb2a92086da328c19847fb4766f93c3f#7}{/nocache:fb2a92086da328c19847fb4766f93c3f#7}

and more!

Any suggestions would be welcomed, I need more caffeine now!

Shana

Re: Fatal Error in News Module

Posted: Sun May 28, 2006 10:33 am
by tsw
First of all you should upgrade to at least 0.12.2 (there is a diff package 0.12.1 -> 0.12.2) 0.12.1 has security issue

and for your nocache problem go to site admin -> global settings -> and press clear cache

hope this helps

Re: Fatal Error in News Module

Posted: Sun May 28, 2006 10:54 am
by Shana
Thanks for the prompt reply  :)

I cleared the cache, the page is back but still with 'nocache' warnings and no archives.

As for the upgrade, will it change anything radically?  I'm a little bit wary because I used to use Wordpress and I was advised to do an upgrade and it screwed everything up.

Shana

*It's just reverted back to the original error message and I installed the diff package  :'(

Re: Fatal Error in News Module

Posted: Thu Jun 01, 2006 10:19 am
by Shana
I guess there was no solution for this, so I dis-abled the news archives.

Is there any other way to show a list of previous news postings?

Shana

Re: Fatal Error in News Module

Posted: Thu Jun 01, 2006 11:07 am
by cyberman
Shana wrote: {nocache:fb2a92086da328c19847fb4766f93c3f#7}{/nocache:fb2a92086da328c19847fb4766f93c3f#7}
Where do you call the news module?

If you call the news module in a content block please try to deactivate the option "cachable" for this page in tab options on editing page. If you call the module in template try to upgrade to v0.13.

Btw. If I'm right the nocache error comes from smarty cache. If there's no smarty cache you can't get a nocache error  ;). On current version smarty cache is deactivated per default.

Another option can be to set the debug mode in config.php to true  ::) ...