hi , no actually, the problem is i am unable to print the post variables atleast ie., the question title and the description in the action file
public function executeAdd() { if ($this->getRequest()->getMethod() == sfRequest::POST) { print $this->getRequestParameter('title'); // This part isn't working print $this->getRequestParameter('body'); // This part isn't working exit(); // This part isn't working i am getting an empty page if i give like this with a text size of more then 20kb if it is less i get the values so the inserting in database is far from here ... // create question $user = $this->getUser()->getSubscriber(); $question = new Question(); $question->setTitle($this->getRequestParameter('title')); $question->setBody($this->getRequestParameter('body')); $question->setUser($user); $question->save(); $user->isInterestedIn($question); $question->addTagsForUser($this->getRequestParameter('tag'), $user->getId()); return $this->redirect('@question?stripped_title='.$question->getStrippedTitle().'&id='.$question->getId()); } } the versions i am using are apache: 2.2.3 php: 5.2.0 so plz tell me if there is any problem with these versions or else any other solution for this regards, rahul On 6/26/07, Luciano A. Andrade <[EMAIL PROTECTED]> wrote: > > > Did the question get to the database? what is the PHP/APACHE > (Mysql/...etc) you are using? Did you try with a diferente version > convination (PHP/APACHE specially)? ¿Did you try activate the logs for > the producction or did you look to the dev logs? ¿Are dev and prod > working exactly the same? > > On 6/25/07, rajpunjal <[EMAIL PROTECTED]> wrote: > > > > hi all, > > > > i have a peculiar problem i dont know if any one had this problem or > > not but.. > > > > while posting the question in my askeet my question description takes > > only 20k of text not more than tht if i give some extra text as 30k or > > more it gives me a blank page with the same url. > > > > first i thought it might be the problem with the wuestion search table > > as it takes all the words and puts it int the table (time comsuming) > > so i comented the code for this but problem still pertains and i dont > > get any error to rectify also. and one more thing askeet.com i am > > able to post question upto 63k text . > > i would really appreciate if any one could tell me the solution or > > else the problem .. > > > > thank you, > > > > raj > > > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---