Fatal Error in News Module

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
Shana

Fatal Error in News Module

Post 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
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Fatal Error in News Module

Post 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
Shana

Re: Fatal Error in News Module

Post 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  :'(
Last edited by Shana on Sun May 28, 2006 11:17 am, edited 1 time in total.
Shana

Re: Fatal Error in News Module

Post 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
cyberman

Re: Fatal Error in News Module

Post 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  ::) ...
Last edited by cyberman on Thu Jun 01, 2006 11:08 am, edited 1 time in total.
Locked

Return to “CMSMS Core”