17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 804 Views |
-
many-to-many problem

30 September 2008 at 3:55am Last edited: 30 September 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.2thank you in advance
-
Re: many-to-many problem

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
| 804 Views | ||
|
Page:
1
|
Go to Top |


