[solved] Comments module fatal error Undefined class name 'contentmanager' :(

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
exdi

[solved] Comments module fatal error Undefined class name 'contentmanager' :(

Post by exdi »

Hi,

having small problem, can't edit posted comments it reports this line:
Fatal error: Undefined class name 'contentmanager' in /modules/Comments/action.editcomment.php on line 92

Also is anybody know how to disable html tags in comments messages?

Thanks
Victor
Last edited by exdi on Fri Dec 15, 2006 6:18 pm, edited 1 time in total.
chris..
Forum Members
Forum Members
Posts: 62
Joined: Thu Jun 01, 2006 8:03 pm

Re: Comments module fatal error Undefined class name 'contentmanager' :(

Post by chris.. »

For the first problem, I comented the line 92 of action.editcomment.php :

Code: Select all

		$this->smarty->assign('pageidtext', $this->Lang('pageid'));
		//$this->smarty->assign('inputpageid', ContentManager::GetPageAliasFromID($pageid));
For the second one, well, I don't know.
MayDay
New Member
New Member
Posts: 9
Joined: Thu Jun 22, 2006 4:04 pm

Re: Comments module fatal error Undefined class name 'contentmanager' :(

Post by MayDay »

I am also having this problem. Running 1.0.2 with the latest version on Comments. Comments are working on the page, I just can not edit them. I get this error when clicking on edit this comment:

Fatal error: Undefined class name 'contentmanager' in /var/www/vhosts/spokanerobotics.com/httpdocs/modules/Comments/action.editcomment.php on line 92

Strange...when I ftp to /modules/Comments/ there are no files listed. ??
Any thoughts?

RJ
RJ

Running 1.0.2 Maui | Php 4.3.2 | MySql 3.23
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Comments module fatal error Undefined class name 'contentmanager' :(

Post by Dr.CSS »

The comments are in the data base...
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: Comments module fatal error Undefined class name 'contentmanager' :(

Post by Elijah Lofgren »

Sorry guys. I fixed this a while ago in SVN, but never got around to releasing a new version of Comments.

Thankfully, I'm on Christmas break.

I've released Comments 1.7.2 which includes the fix for this problem.

You can download it here:
http://dev.cmsmadesimple.org/frs/?group ... ase_id=711

If you have any problems please report bugs here:

http://dev.cmsmadesimple.org/tracker/?a ... unc=browse


Have a great Christmas,

Elijah
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: Comments module fatal error Undefined class name 'contentmanager' :(

Post by Elijah Lofgren »

exdi wrote: Also is anybody know how to disable html tags in comments messages?
Good idea. Filed as feature request: http://dev.cmsmadesimple.org/tracker/in ... 3&atid=172
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Comments module fatal error Undefined class name 'contentmanager' :(

Post by Dr.CSS »

Thanks for the fix...
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: Comments module fatal error Undefined class name 'contentmanager' :(

Post by Elijah Lofgren »

Elijah Lofgren wrote:
exdi wrote: Also is anybody know how to disable html tags in comments messages?
Good idea. Filed as feature request: http://dev.cmsmadesimple.org/tracker/in ... 3&atid=172
Fullfilled: http://viewsvn.cmsmadesimple.org/viewsv ... s&view=rev

Will be included with next release of Comments.  :)
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
Locked

Return to “CMSMS Core”