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.

All other Modules

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Forms Module


Reply

6 Posts   743 Views

Avatar
gbart

23 March 2010 at 8:26am Community Member, 8 Posts

I have just installed the latest version of SS and would like to install the forms module. I followed the installation steps and after I complete the "http:/mysite/dev/build" I get a web server not responding error. Is this an issue with the current version of SS or could there be a step that I'm missing?

Please advise if you have thoughts on this quandary!

Avatar
Hamish

23 March 2010 at 9:34am Community Member, 712 Posts

[url=http://doc.silverstripe.org/doku.php?id=debugging&s=devmode#dev_mode]Turn on dev mode[/url] to get more detailed error messages - post the result here.

Avatar
gbart

23 March 2010 at 10:22am Community Member, 8 Posts

this is what I received in the error.

Source

111          @file_get_contents('php://input')
112       );
113       
114       // @todo find better way to extract HTTP headers
115       if(isset($_SERVER['HTTP_ACCEPT'])) $req->addHeader("Accept", $_SERVER['HTTP_ACCEPT']);
116       if(isset($_SERVER['CONTENT_TYPE'])) $req->addHeader("Content-Type", $_SERVER['CONTENT_TYPE']);
117       if(isset($_SERVER['HTTP_REFERER'])) $req->addHeader("Referer", $_SERVER['HTTP_REFERER']);
118
119       // Load the session into the controller
120       $session = new Session($_SESSION);
121       $result = Director::handleRequest($req, $session);
122       $session->inst_save();
123
124       // Return code for a redirection request
125       if(is_string($result) && substr($result,0,9) == 'redirect:') {
126          $response = new HTTPResponse();

Trace

* Director::direct(/dev/build)
Line 118 of main.php

Avatar
UncleCheese

23 March 2010 at 10:24am (Last edited: 23 March 2010 10:24am), 4085 Posts

There's no error? Just the backtrace?

Avatar
gbart

23 March 2010 at 10:27am Community Member, 8 Posts

I will try that again.

Avatar
gbart

23 March 2010 at 2:23pm (Last edited: 23 March 2010 3:13pm), Community Member, 8 Posts

"Newbie question"

Ok.... I have edited my config.php and I know I am doing this incorrectly! Do you have a edited config file that I could see as an example.

thanks