|
|
Contact Details E-mail: support@webgenie.com Phone: +61 8 8339 1206, 9am-5pm; GMT+9:30hrs Fax: +61 8 8339 1206 Further Help: E-mail Box |
|
A: This is most commonly caused when the extension, .cgi, is not 'associated' with the perl program. Under system privilege you can associate any file extension with any program (Control Panel|System) and then re-boot the machine to take effect. It should solve the problem. topQ: I can't get CGI to send mail. I have created a form with a method of post. I gave it the correct email address and selected postmail as the mail program. It gives me an error sending mail message when I submit the program. I have replaced 'local($filename) = "/tmp/cspro_$$.tmp";' with 'local($filename) = "/yourdir/cspro_$$.tmp";', and it still doesn't work.
A: Try 'local($filename) = "cspro_$$.tmp";' If it still doesn't work, the problem could be with the NT version. Are you using NT 3.51 or 4.0? topQ: What can the admin CGI file be called? I want to call it "admin.cgi" or does it have to be some other name?
A: It can be called any name, but you must make a manual change in the 'salesadm.html' to reflect it. topA: If using your own server, then the CGI should reside in a directory that has CGI execution privilege. Usually ISPs grant this privilege to all user directories, but sometimes only a particular dir, termed 'cgi-bin' will have the privilege. Once the CGI is placed on the server you must make it executable, by the UNIX command, 'chmod 755 *.cgi'. Then, your HTML form must be edited to denote this location in a line similar to the following: <FORM METHOD=POST ACTION=http://www.yourmachine.com/cgifilename.cgi Then the form will be executed. If using 'Auto CGI' you can ignore all of the above, and the form will be executed by a CGI residing on our server. You can use your custom forms with either of the methods. topQ: The web master at my doesn't understand what I need for your software to work. Apparently I need access to a cgi directory. Could you give me any tips to pass on ?
A: You need to have a directory with permission to run CGIs. Usually most ISPs provide this privilege to their customers in a special directory called cgi-bin. You must place the CGI in that dir and, if UNIX, set its protection by the command, 'chmod 755 *.cgi'. Then, when making the form, the line that says, '<FORM METHOD=POST ACTION=' must be something like, <FORM METHOD=POST Action=http://www...com/cgi-bin/cgifilename.cgi I need to get the data and put it in MS Access can your software do this. This is because the form that is in my homepage is getting a large response and I need to analyse the data. A. CGI*StarPro can collect the information in a cumulative text file. You can opt this as comma-delimited (under UNIX CGI|Options). Then this text file can be imported into the Access database. topQ: I get an error message that says "format unsupported." I just downloaded the CGI Star Pro software and am trying to set up a form on a website for the first time. I used the "auto CGI" button in the software to generate an instant reply, but just got the "format unsupported" page.
A: Please edit your HTML and remove all instances of the following lines: <form method="POST"> </form> and insert, </form> after the line, <pre><input type="RESET" value="CLEAR"> topQ: Is it possible to make a script with CGI Star that can send a file that is given in a form with it's full path and name? Let say I want to have some kind of an order form where the sender/form filler can send my a file.
A: It can be done, but the CGI will have to be manually edited to do that. Those created by CGI*StarPro will not read or write files on your server (for security reasons). topQ: We still get the 501 error, unsupported. We have your CGI Star program and are attempting to run it on an NT4 server with service pack 3. We are running IIS 3, and have per your suggestion, downloaded the Post Mail program to use with CGI Star. We have enabled CGI script on the server.
A: The error 501 indicates that your server is not configured to execute CGIs. The following is what is required to set it right on UNIX servers and hopefully will be the same on NT4: 1. Edit the access.conf file and add: Options Indexes FollowSymLinks ExecCGI IncludesNoExec 2. Edit srm.conf and add: AddType application/x-httpd-cgi .cgi AddType application/x-httpd-cgi .pl 3. Associate the extension .cgi with perl program. 4. Put the perl and postmail programs' directories in the PATH variable. topQ: I would like to find out about running CGI scripts on your server. The only thing I don't understand is how can I run the CGI I have designed on your server if I do not know where to send it. I will be e-mailing the html file and would like it if you could re-generate the CGI optimised for your server. I would appreciate it if you could then notify me as to where I can address where I can call the CGI.
A: The way to get our server to run the CGI for your form is listed below: (it is also available in the online help file) 1. Start CGI*StarPro 2. Click on 'AutoCGI' on the left tool bar. This will ask for a file name. 3. Find and open your HTML containing the form. 4. Type in your E_mail address and one-line acknowledgment. 5. Click 'Save' 6. Upload the HTML file onto your server. Note: There is NO CGI file created on your PC. You are probably confused about how you upload the CGI to our server. There is NO need to upload anything to our server. When you choose 'AutoCGI' the program puts in the necessary code within your HTML file to run a pre-existing CGI on our system. topQ: The script is not a "valid NT script" when I run it on the NT server. I have just set up a website with a Frontpage provider and made a form in FP-97 and then I created the script in CGI Star Pro and uploaded it correctly( Yes, as an NT CGI). I have tried several times and
A: The most common cause of this error is that the server is not configured to execute CGIs. Your sysadmin should configure it and give permission to your directory to house and execute CGIs. topQ: I am using your shareware program CGI*Star pro and I get errors when it runs. I generated a feedback cgi script. When I run it from the UNIX prompt I get the following message. feedback.cgi: sub: not found feedback.cgi: syntax error at line 52: local' unexpected
A: It appears that your server has an older version of perl. Please do the following: 1. Login to the server. 2. Type '/usr/bin/perl -v' The correct version should display: "This is perl, version 5.004_01 " topQ: I want to reply automatically to emails. Is there a way to configure the script to place the senders email address in the senders column so I can just hit reply and it will automatically go back to the sender.
A: All you have to do is include a text input field with the name, ' User_email' where the sender puts in his address. e.g. <Input name=User_email type=text topQ: I would just like to know if each form has to have it's own email address. Or if I can direct more than one form to the same email address.
A: Yes, you can have the same address in more than one form, and all will be directed there. The CGI, however, has a limit that only up to 5 DIFFERENT addresses are accepted. topQ: Is there something missing on our NT server that is keeping this from running? Do we need to install a 'Perl interpreter' and a BLAT or Postmail on our NT server? Neither are now on our NT server.
A: You need one of the above to send mail. Both are freeware. Links can be found on our support pages. topQ: What do I put as my windows NT mail program to get the NT CGI scripts to work correctly? I am using a Windows NT server for my web pages, and a UNIX server for my mail.
A: Postmail or blat should work well on an NT server. However, you must ensure that one of these is properly installed on the machine, and their directories are specified in the PATH variable. topQ: When a customer makes an order, the response letter does not get sent. It is called "thanks.txt" and is in the cgi folder and is the same name as what I called it in the CGIPRO script maker. What should I be looking for to fix this?
A: This appears to be a problem with reading the file. Some ISPs give only execute (not read) permission to the cgi-bin. The solution is to move the thanks.txt to another dir and then give its full path (e.g. /usr/home/people/htdocs/thanks.txt) when making the CGI. topQ: I got an error message saying there was no form in the HTML file. I know there is a form in there, so I am wondering what might be the problem.
A: This usually happens when making a form with Frontpage, and is a quirk of Frontpage in not putting in all the necessary fields. e.g. The following line must be changed: <FORM method="POST" to <FORM method="POST" Action=http://www.yourcompany.com/cgi-bin/yourcgi.cgi topQ: The error is : " %1 is not a valid Windows NT application." I have Win NT 4.0 Server, I made a form and I used Cgi Star Pro 3.1 for Cgi... I put my .cgi in a directory cgi-bin under the site I'm constructing, but it doesn't work!
A: The problem here is that you have not associated the program, perl.exe, with the file extensions, '*.pl' or ".cgi'. Under Windows NT you can do this via the File Managaer|Associate command. topQ: I get a premature end of script headers error message. I am using version 3.2 of your program. I did not directly modify the perl script file. This generally means that the file extension, .pl or .cgi, is not associated with the perl.exe program. Hence the browser attempts to execute the file as a script and gets confused. Please try.1. Install perl.exe if not already there. 2. Open File Manager and choose File|Associate... to associate the extensions. 3. Restart the machine. Q: Can we use CGI StarPro to make CGI´s for our clients ?
A: Certainly! In fact we are about to announce a program, "WebDesigner" that is specifically aimed at working together with web page designers like yourself. toptopA: Calling a secure CGI is simple. Just use 'https' instead of 'http' in the Action field. e.g. <Form method=post Action="https://www.../cgi-bin/cgifile.cgi Before that you should have applied for a digital ID and installed it on your server. Your ISP can help. topQ: Is it possible to change the output file directory to something other than that of the cgi-bin. I mean without editing the perl script manually? (I do not know perl.)
A: Certainly! Just type the full pathname of the file into the edit box under 'Options". e.g. /usr/home/people/forminput.txt or ../somedir/forminp.txt topQ: I read that this product has the "option to store the form input in a cumulative file". I have a need to take input from multiple forms (read multiple pages) and submit it as one. Is this something that CGI*StarPro can handle?
A: Certainly! If you create one CGI and call it from all forms, it will add to the same file. Please keep in mind that unless the number and order of items in the pages are the same, the resulting file will have non-uniform record format. i.e. when trying to import into a database program you will have to be careful with the columns. topQ: How can I set the email function to only mail notification. I don't want credit card info to the company selling the product, relying on the checking of a single delineated file with each order on a new line for order processing.
A: This can be done by...changing (two occurrences) if ($Item !~ /delivery/) { $buffer .= "$Item\n"; } to if ($Item !~ /delivery/ && $Item !~ /CardNo/ ) { $buffer .= "$Item\n"; } topA: Best to specify the full URL of CGI as https://www... when making the catalogs. Otherwise change in the following lines: print "<Form Method=Post Action=\"shopcart.cgi\"\n"; print "<INPUT TYPE=hidden NAME=sc_action VALUE=prep_order\n"; print "<Form Method=Post Action=\"shopcart.cgi\"\n"; print "<INPUT TYPE=hidden NAME=sc_action VALUE=send_order\n"; topA: Inactivating/deleting the following line will stop the mail. if ($Owner_email !~ / /) { `echo \"$buffer\" | $mailprogram $Owner_email`; } topQ: Can CGI Star Pro send a completed form to my e-mail address and redirect the viewer to a Thank You Page when the viewer clicks the Send button?
A: Yes, all you have to do is specify the page URL in the 'Page refresh to this' box and leave out the Acknowledgment message. topQ: I would like to know, if it is possible for your organisation to store our forms and send them back to our email address. How do I do it?
A: There are two options for you: (1) make a CGI, using our CGI*StarPro, and reside it on your server to process the form and send the data back to you. (2) Use the 'AutoCGI' option within CGI*StarPro to use a master CGI on our server. In both the above cases, all you have to do is present your form to the program (via the 'AutoCGI' module or the UNIX/NT CGI modules) topQ: The cgi script generated with Web Genie CGI Star Pro does not return mail my POP Mail. No errors are returned from the script.
A: The most probable cause is that your server does not have the /tmp dir. This is unusual for a UNIX server, but can be overcome by... 1. Create a dir, tmp, in the parent dir of where the CGI resides. e.g. create htdocs/tmp if the cgi-bin is htdocs/cgi-bin 2. set its protection to world write. e.g. 'chmod 777 tmp' 3. Change the following line(s) in the CGI local($filename) = "/tmp/cspro_$$.tmp"; to local($filename) = "../tmp/cspro_$$.tmp"; topQ:
E-mail Address to send the form input is missing. Aborting the CGI...I get the error message when I try to send something with my form:
A: This error means that you have not specified an E_mail address when Configuring your catalog to use the CGI on our server. Please put the form through the 'AutoCGI' again and it will work. topQ: I was informed yesterday of the need to upgrade to Perl5. Mindspring tells me that the Perl scripts I'm using are Perl4 and that they won't be able to support them in the future. Can you help?
A: Our CGIs are capable of working under perl 4 or 5 without any Modification topQ: Is there a way to have the cgi script reply to more than one person via email as the form is processed?
A: Yes, just specify both addresses as e.g. 'user1@machine.com,user2@machine.com'. Please note the absence of any space char between the two addresses. The alternative is to create an alias on your mailserver that forwards the mail to more than one address. topQ: Can I use this software to create survey and questionnaires forms? I am evaluating CGI*StarPro3.5. By now, the forms template only support two types.
A: Yes, any kind of form will be supported by the CGIs created with the program. Only the two template forms are auto-generated, but you can create a form using any HTML editor. e.g. FP98 topQ: How do you get the thanks you letter to be sent out? are there clear instructions on this part of it?
A: If you check the button, 'Mail a thank you note' and keep the text file in the same dir as the CGI, it should be mailed by the CGI. topQ: I get unauthorised user in the from field when it is emailed to me. I have purchased your
CGI*Star Pro program and got it working to almost they way I would like it to work. How do I get it to look at the email address that the person puts in the form?
A: This is simple. Please edit your HTML file and include (or replace) a field that has the following IDs:User_name User_email Then the CGI will use the inputs in those fields instead of 'unauthorised user' top
|
|