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, Ed, biapar, Willr, Ingo

many-to-many problem

Go to End

2 Posts   1129 Views


Community Member, 52 Posts

30 September 2008 at 3:55am

Edited: 30/09/2008 4:14am

Hi all:

I´m having problems with many-to-many relations.
Initially i was thinking that i was missing something so i decide to use tutorial code directly.
I downloaded tutorial code, copyed Module.php and Project.php to mysite/code.
I run db/build/?flush=1
I go to administration and change the behaviour of a page to Proyect page type.
When i save i have "there has been an error" form javascript.
What i´m doing bad?
I´m using SS 2.2.2

thank you in advance


Forum Moderator, 5523 Posts

30 September 2008 at 5:48pm

Couple things you can do to track down the issue:

* Is the site in dev mode? If not add 'Director::set_environment_type("dev");' to your mysite/_config.php file . This usually outputs a more informative error

* If you have Firebug installed (which every developer should!) after you get the error view the 'Console' tab in firebug, there should be a red entry which is your failed request. Click the arrow next to the title and this should provide you will a more useful error message if its in dev mode