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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

Warning/error email for unpublished pages


Go to End


6 Posts   2436 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
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
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...