Cgi not recognized

7 views
Skip to first unread message

KathyS

unread,
Nov 21, 2008, 4:08:51 PM11/21/08
to JustHumans
OK. So now the images are appearing. And I have now scrapped form
mail and gone back to a previous script that I actually like better of
my own. Nothing fancy, but it does the job. Even though I've
indicated it's location, it seems to be ignored. This is what
verifies that all the required fields are filled in. Does this take
time to be recognized? I am assuming that you just need the root
reference /cgi-bin/... but I also tried it with the full domain name
with no luck. What am I missing here?
Thanks,
Kathy

Anders Brownworth

unread,
Nov 21, 2008, 4:32:55 PM11/21/08
to justh...@googlegroups.com
Hey Kathy,

Glad to hear that images are showing up for you.

I assume you're talking about the re-post URL. Changes are instantaneous and you will need the entire URL including the "http://" part.

When you get that all set and you still aren't getting anything, try enabling posts in the JustHumans.com database. (if you hadn't already) When you click on "view" to view the posts, you will get a "post results" link next to each post with the results of what happened when JustHumans tried to post to your "secret" re-post URL. You'll probably see some sort of issue there.

If all of that fails, send the URL and name of the form you are working on directly to me (not this list so your re-post URL isn't public) and I'll see what I can turn up for you.

Best,

-Anders
--
-Anders
-----------------------------------------------------------
Anders Brownworth
http://www.anders.com/
ande...@gmail.com
Message has been deleted
Message has been deleted

Anders Brownworth

unread,
Nov 21, 2008, 6:40:03 PM11/21/08
to justh...@googlegroups.com
Kathy,

I'm sorry about all the problems you've had. You uncovered a bug in JustHumans.com which I have just fixed. Thanks for helping me find this and again, I'm very sorry for the frustration this must have caused you.

Give it a try now. You should have one post from me at this point and it looks like the re-post URL worked as well. Let me know if things aren't working as you expect and I'll be happy to take a look.

Thanks again for sticking with me on this one. It was my fault! :)

Best,

-Anders

On Fri, Nov 21, 2008 at 5:25 PM, Kathy Smith <lotio...@gmail.com> wrote:
Oops:  http://www.harmonyscents.com/cgi-bin/mail/sendmail.cgi


On Fri, Nov 21, 2008 at 5:23 PM, Kathy Smith <lotio...@gmail.com> wrote:
First let's look at the fact that even though I have enabled posting to the db, nothing shows up there even though I've posted two messages.  I do get the re-direct page as well as the email being delivered to the correct address.  Just no indication that the cgi is being executed.  The cgi is located at http://www/harmonyscents.com/cgi-bin/mail/sendmail.cgi

But it seems to me that even if there's a problem with the perl, there should be some indication in the post log (empty).  Could this be connected to using the cname?

Thanks,
Kathy
--
Walk Softly, Live Gently, Breathe Deeply
Creating Harmony LLC
www.CreateMoreHarmony.com



--
Walk Softly, Live Gently, Breathe Deeply
Creating Harmony LLC
www.CreateMoreHarmony.com


Kathy Smith

unread,
Nov 21, 2008, 8:11:12 PM11/21/08
to justh...@googlegroups.com
I'm a software engineer so I appreciate your dilemma.  No apology is necessary.  :)   I'll give it a try and let you know. 
Kathy

Kathy Smith

unread,
Nov 21, 2008, 10:30:05 PM11/21/08
to justh...@googlegroups.com
Well, I must need to do something different because this just isn't getting my form parameters.  When you call my cgi, how do you pass my parameters back tgo me?  By name?  I haven't worked in perl in a looong time and it may be that the mechanism I'm using just isn't going to work in this new paradigm.  Have you got any suggestion or example of checking for required fields coming out of the justhuman verification.  Sorry to be such a pita.
Kathy

Anders Brownworth

unread,
Nov 21, 2008, 10:38:25 PM11/21/08
to justh...@googlegroups.com
Hey Kathy,

JustHumans.com will post all fields submitted to the URL you put in the Re-post URL field. One way to check might be to print all fields that you get in your perl just to make sure field names line up. You might also check your server logs to make sure you are seeing the JustHumans.com post attempt happen. Also take a look at the post results in the JustHumans.com database for more hints.

Out of curiosity, what capability does your CGI have that you are interested in?

-Anders

Kathy Smith

unread,
Nov 21, 2008, 11:08:34 PM11/21/08
to justh...@googlegroups.com
First, how can I see the entire post results?  I get a popup that doesn't really contain much of what I want to see.

All I need is to require fields and do some general character stripping and length control to prevent someone from dumping a novel into one of my text fields.   Nothing much really.   I'm using the param function which doesn't really care about order.  I verify case/spelling but God am I rusty in perl :(  

K

Anders Brownworth

unread,
Nov 21, 2008, 11:21:27 PM11/21/08
to justh...@googlegroups.com
Kathy,

I don't save more than just the first 200 or so characters of the post result. That was an early design decision. I figured you could tell what the problem was in the first few characters. If others have issues with this, I can up that to the entire contents of the post result page. That said, I can give you a one-off complete dump if need be.

The pure JustHumans.com way to constrain field lengths would be via JavaScript but as you know, JavaScript can be turned off. If your CGI is going to be the "database of record" rather than JustHumans.com, then we need to get this working. Are you seeing hits from JustHumans.com in your server logs when you attempt a post?

-Anders

Kathy Smith

unread,
Nov 22, 2008, 12:59:02 AM11/22/08
to justh...@googlegroups.com
I'm getting some orders out for tomorrow so I'll have to look at this in the morning.  Will you be around or do you have a life :)
K
Reply all
Reply to author
Forward
0 new messages