Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 16 Apr 2014, 14:59
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
Puzzling CGI effect
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
taylor


Joined: 22 Feb 2008
Posts: 10
Location: Manjimup, Western Australia

PostPosted: Mon 04 Feb 2013, 04:06    Post subject:  Puzzling CGI effect
Subject description: Perl script does its job but Seamonkey then complains
 

attempting to set up an interactive Club Clothing order page for my cycle club I have a series of 5 perl scripts all tagged cgi.

They all are valid perl
They all write valid html
The last two post emails perfectly
All have 755 permissions

but after the 5th one has finished doing its stuff on the hosting server a dialogue box pops up in Seamonkey

"You have chosen to open orderform5.cgi which is a cgi file.
What should Seamonkey do with this file?"

I am baffled. What should I be looking for?
Back to top
View user's profile Send private message Visit poster's website 
GustavoYz


Joined: 07 Jul 2010
Posts: 886
Location: .ar

PostPosted: Mon 04 Feb 2013, 19:27    Post subject:  

Scripts are working? can you see their results?
What does web server transfers to the browser if accept it?
What server is?

_________________

Back to top
View user's profile Send private message 
taylor


Joined: 22 Feb 2008
Posts: 10
Location: Manjimup, Western Australia

PostPosted: Mon 04 Feb 2013, 23:52    Post subject: Puzzling CGI effect
Subject description: problem solved
 

It is amazing what a night's sleep can do.

This morning after setting the group write bit on a couple of files that I wanted to write to and cleaning up the
Code:

print "Content-type:text/html\n\n";

line everything is wonderful

thank you Gustavo
Back to top
View user's profile Send private message Visit poster's website 
GustavoYz


Joined: 07 Jul 2010
Posts: 886
Location: .ar

PostPosted: Tue 05 Feb 2013, 11:10    Post subject:  

Sometimes is better get some distance...
Very Happy

_________________

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0426s ][ Queries: 11 (0.0107s) ][ GZIP on ]