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

Weird problems


Go to End


999 Views

Avatar
OzziNL

Community Member, 37 Posts

8 December 2007 at 4:50am

Edited: 08/12/2007 4:59am

I installed the latest SS via svn and get a lot of errors while creating pagetypes as desribed in tutorial-2:

When I save a page type I get:


Error in Ajax evaluator on line 974: invalid flag after regular expression
Notice: Undefined variable: currentAddAction in /usr/home/inventheon/www/sapphire/core/model/SiteTree.php on line 1232

Notice: Undefined variable: currentClass in /usr/home/inventheon/www/sapphire/core/model/SiteTree.php on line 1232
var node = $('sitetree').getTreeNodeByIdx(5); if(node && node.parentTreeNode) node.parentTreeNode.removeTreeNode(node); $('Form_EditForm').closeIfSetTo(5); var node = $('sitetree').getTreeNodeByIdx(5); if(node && node.parentTreeNode) node.parentTreeNode.removeTreeNode(node); $('Form_EditForm').closeIfSetTo(5); statusMessage('Deleted \'New InventHome\' and 0 descendants from live site', 'good');

Found the problem..my fault. Can't delete this topic I think?