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

25 March 2007 at 3:45pm
I am evaluating SilverStripe as a part of OSCOM case study.
After changing a page into contact form, I can't add fields on the form. It just does not budge. It sayz "Error: There has been an error".
How do you find more meaningful error message? I looked at log/error on apache
2.0/Deb/PHP5.0/Mysql5/Apache2 - Everything works OK.
-
Re: contact form problem

25 March 2007 at 4:55pm
You're probably in "test"/"live"-mode - try to set the following in <yourproject>/_config.php:
Director::set_environment_type("dev");Errors in test-mode are normally piped to you by email, please set
Debug::sendLiveErrorsTo("your@email.com");I've just written up some more info on this: http://doc.silverstripe.com/doku.php?id=debug
-
Re: contact form problem

26 March 2007 at 2:48am Last edited: 26 March 2007 1:34pm
wee
ERROR:Error 512: No form ({Session::get('CMSMain.currentPage')}) returned by CMSMain->EditForm At l90 in /var/www/silver/sapphire/core/control/Controller.php user_error(No form ({Session::get('CMSMain.currentPage')}) returned by CMSMain->EditForm,512) user_error at line 90 of Controller.php Controller->run(Array) run at line 48 of Director.php Director->direct(admin/) direct at line 90 of main.php
Ajax problem? How do you read this?
Director to editform but there is a session problem? Lost
-
Re: contact form problem

26 March 2007 at 2:16pm
hm looks like the db-relations are fried - can you reproduce the problem with a clean new database?
-
Re: contact form problem

27 March 2007 at 2:32am
No, it did the same thing with fresh and new database. There seems to be $form missing somewhere?
Following form tutorial does not work at the moment with 2.0 tar.gz version!
Hmm, next?
-
Re: contact form problem

8 April 2007 at 9:29am
What did you do to fix? Something at your end, or upgrade to more recent version SilverStripe?
-
Re: contact form problem

23 May 2008 at 10:28pm
I get the same error on the CMS Newsletter section... When I want to add a recipient prompts a javascript alert message with the text "Error: There has been an error"
2.1.1 Version.
| 3500 Views | ||
|
Page:
1
|
Go to Top |




