Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Warning/error email for unpublished pages


Reply


8 Posts   1978 Views

Avatar
Decisive Flow

Community Member, 73 Posts

10 July 2007 at 12:15pm

Edited: 10/07/2007 12:15pm

I'm getting a bunch of warning and error messages from pages that are unpublished. The emails says:

Warning: No form ({Session::get('CMSMain.currentPage')}) returned by ErrorPage_Controller->PageComments.PostCommentForm
At line 90 in /sites/planhq/www/sapphire/core/control/Controller.php

and

Error: Object::__call() Method 'postcomment' not found in class 'ErrorPage_Controller'
At line 104 in /sites/planhq/www/sapphire/core/Object.php

Obviously it's something to do with commenting, but I have no idea why it is happening - we're getting hundreds of emails

Help! :)

Avatar
Andy

230 Posts

11 July 2007 at 11:54am

We had the same problem on our site a while back, it's due to spam bots trying to post comments on pages without page comments. This has been fixed for 2.0.2, upgrading to the rc (or waiting for a few days till 2.0.2 is out) should fix the problem.

Avatar
Decisive Flow

Community Member, 73 Posts

11 July 2007 at 12:26pm

awesome! thanks!

Avatar
Decisive Flow

Community Member, 73 Posts

11 July 2007 at 2:14pm

I have just deleted all these items and they are still getting warnings. Is there any way to stop this? Shouldn't they be gone?

Avatar
Sigurd

Forum Moderator, 628 Posts

11 July 2007 at 3:40pm

Have you removed the page from both draft and live site?

Avatar
Andy

230 Posts

11 July 2007 at 4:08pm

Removing the pages probably won't help, as the error is caused by bots posting comments on nonexistant pages. The only way to solve the problem is to update.

Avatar
Decisive Flow

Community Member, 73 Posts

12 July 2007 at 11:45am

i just updated the dev site but i cant seem to upload these folders to the live site. It days 'ignored'.

I think we're almost there... I just had 1000 messages in my inbox this morning.... ;)

Avatar
Sigurd

Forum Moderator, 628 Posts

12 July 2007 at 12:37pm

This is a warning only applicable to you as you're using our development server without using version control.

Just press enter when you see that...