Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-02-2008, 03:57 PM
Junior Member
 
Join Date: Jul 2008
Posts: 1
Default POST method not working

Hi,

Just starting out using Zend but have immediately hit a brick wall I have created a bunch of websites over the years so my HTML/PHP knowledge is okay.

I have a strange problem when trying to use forms in Zend. I have a /user/register action that displays a form which POSTs to /user/create. I can GET /user/register and view the form and also as a test I can GET /user/create, however when I submit the form I get a 401 authentication required error. Submitting a form when not using Zend works fine, the problem only occurs with Zend. This shows in the Apache log as:

... GET /user/create 200 ... ......
... POST /user/create 401 ... ......

I have Zend version 1.5 and the latest version of Apache.

The form is a basic form. I dont have access to the exact code just now but it's basically something like this:

Code:
<FORM action="/user/create" method="post">
    <INPUT type="text" id="firstname"><BR>
    <INPUT type="text" id="lastname"><BR>
    <INPUT type="submit" value="Send">
 </FORM>
I have tried using empty controller methods and also outputting test text from the create action so dont think the problem lies within the controller.

There must be some setup issue but I cant figure it out at all

Anyone got any ideas?

P
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 01:38 PM.