Originally Posted by Chuck S
The code is not returning an INTERNAL SERVER ERROR. Your server is doing this that I see. Your host is even telling you its something to do with htaccess or mod rewrite.
My test I showed you is most definately an auction feel free to login with Test and password testing. You will see it works fine. test bidding - PhotoPost Classifieds
Its not strange the code is no different between first or second bids. Your entering a bid into the bids table your not deleting old bids. They are still there. There are checks and balances to bump the highbidder and bid amounts on a product. The bidding aspects of this script have not changed since the script was released many years ago version 1.0.
Since the default code seems to be working you really need your host to answer directly what specifically on your server is causing your issue. Like I asked before he is saying there is some htaccess or mod rewrite thing going on what leads him to say this? Have you tried removing any htaccess files on your server?
There is nothing I can tell you here thats going to help since this issue seems related to a server issue on your end. A generic server 500 error is the most general of server responses so you always need to dive into your server error logs to point to what is the true issue. What is it that your server is balking at.
I am not sure where you are getting the server 500 error, as there is no error number or code whatsoever that I am seeing.
I understand that this seems to be a server error, but I am not making any progress with them in that regard and they keep pointing me back to you folks. I get the feeling that my host is not understanding my problem and is randomly picking the htaccess or mod rewrite issue when it is really none of them.
What I am trying to understand though, is there MUST be something different between the 1st bidder and any consecutive bidders in the code itself otherwise if it was the exact same code then it would return the error on both the 1st bid and consecutive bids.
What/where do I need to look to see what exactly is happening when the submit bid button is clicked? Once that button is clicked something has got to be happening to pass something onto the server that it is not liking for the FIRST BID only. Again, 2nd, 3rd and additional bids on the item have no issues, only the very 1st bid. So somewhere in the code something must be doing something different in checking to see if it is the 1st bid as opposed to a bid that must add the additional amount to make the item higher.
I know the server is returing the INTERNAL SERVER ERROR, but something in the code has got to be kicking that off, some routine somewhere.
Not trying to be a pain in the neck my friend, just trying to find some resolve.
I really do appreciate your help, you are pretty amazing at this stuff