Lunarpages Web Hosting Forum

Author Topic: Problems with forms, pls help !  (Read 6758 times)

Offline flavor76

  • Pong! (the videogame) Master
  • *****
  • Posts: 23
Problems with forms, pls help !
« Reply #15 on: October 27, 2004, 10:10:58 AM »
no problem.....be my guest...it was not working anyway......trying to make it work is a top priority.....

thanx for the help....really appreciate it..........

Offline talloth_endill

  • Galactic Royalty
  • *****
  • Posts: 220
Problems with forms, pls help !
« Reply #16 on: October 27, 2004, 10:12:50 AM »
errr.... parsing the code give me a little doubt indeed.

Can you please try the following :
In your form, from where you took this information :
Quote
<form action="http://www.aycez.com/cgi-bin/FormMail.cgi" method="POST" onSubmit="return CheckMsgFrm(this);">
<input type="hidden" name="recipient" value="sales.enquiry@aycez.com">
<input type="hidden" name="subject" value="Enquiry/Biz Opportunity">
<input type="hidden" name="redirect" value="http://www.aycez.com/thankyou.html">


Make it look like this :
Quote
<form action="http://www.aycez.com/cgi-bin/aycez.pl" method="POST" onSubmit="return CheckMsgFrm(this);">

<input type="hidden" name="subject" value="Enquiry/Biz Opportunity">
<input type="hidden" name="redirect" value="http://www.aycez.com/thankyou.html">


Then, give your form a try... It is possible that the script handles every field you send to him...
Please, test this and let me know about how's the mail you receive looks like...
Luck is my middle name. Mind you, my first name is Bad.

Offline flavor76

  • Pong! (the videogame) Master
  • *****
  • Posts: 23
Problems with forms, pls help !
« Reply #17 on: October 27, 2004, 10:14:21 AM »
okie.........give me a moment

Offline flavor76

  • Pong! (the videogame) Master
  • *****
  • Posts: 23
Problems with forms, pls help !
« Reply #18 on: October 27, 2004, 10:19:44 AM »
just changed the html file and uploaded it but......

the form cannot work

Error:
"The page cannot be displayed
There is a problem with the page you are trying to reach and it cannot be displayed. "

pls advise....

Offline talloth_endill

  • Galactic Royalty
  • *****
  • Posts: 220
Problems with forms, pls help !
« Reply #19 on: October 27, 2004, 10:38:03 AM »
???
Allright... when I go to your form and try to send it, I do receive a 500 error... which means there is a problem with the script itself...

Please, just try and take the aycez.pl file you have modified in the first place, and re try uploading it into your cgi-bin directory, giving it the 755 chmod setting...
Then let me know !

For the good news part, i tested your form and your script here at home... all is working as expected !
This means we're gonna get it  :thumb:
Luck is my middle name. Mind you, my first name is Bad.

Offline flavor76

  • Pong! (the videogame) Master
  • *****
  • Posts: 23
Problems with forms, pls help !
« Reply #20 on: October 27, 2004, 10:40:09 AM »
okie......let me try

Offline flavor76

  • Pong! (the videogame) Master
  • *****
  • Posts: 23
Problems with forms, pls help !
« Reply #21 on: October 27, 2004, 10:44:11 AM »
err.....i still get the http 500 internal server error......

shit !

Offline talloth_endill

  • Galactic Royalty
  • *****
  • Posts: 220
Problems with forms, pls help !
« Reply #22 on: October 27, 2004, 10:47:30 AM »
I'll PM you
Luck is my middle name. Mind you, my first name is Bad.

Offline talloth_endill

  • Galactic Royalty
  • *****
  • Posts: 220
Problems with forms, pls help !
« Reply #23 on: October 27, 2004, 11:04:09 AM »
Allright, what I'll do is making a zip file for you containing both the form HTML page and the aycez.pl files.
As soon as you'll have this downloaded, i'll delete it from the server.

Anyway, donwload the file and uncompress it to get your hand on the two files I mentioned...
then upload the .pl file to cgi-bin and chmod it 755
and upload the form file to replace your ancient one.

then give it a try okay ?

In a few minutes, the URL will be the following. Just follow it to download the files...
http://www.sws-web.net/aycez-form.zip
Luck is my middle name. Mind you, my first name is Bad.

Offline flavor76

  • Pong! (the videogame) Master
  • *****
  • Posts: 23
Problems with forms, pls help !
« Reply #24 on: October 27, 2004, 11:05:58 AM »
okie..........will let you know once i have downloaded the file

Offline talloth_endill

  • Galactic Royalty
  • *****
  • Posts: 220
Problems with forms, pls help !
« Reply #25 on: October 27, 2004, 11:08:13 AM »
OH ! btw, i need to know if both forms are to be sent to sales.inquiry@aycez.com ?
Luck is my middle name. Mind you, my first name is Bad.

Offline flavor76

  • Pong! (the videogame) Master
  • *****
  • Posts: 23
Problems with forms, pls help !
« Reply #26 on: October 27, 2004, 11:09:22 AM »
yes....both forms will be sent to sales.enquiry@aycez.com "not"
sales.inquiry@aycez.com

Offline talloth_endill

  • Galactic Royalty
  • *****
  • Posts: 220
Problems with forms, pls help !
« Reply #27 on: October 27, 2004, 11:14:49 AM »
allright, you can download it...

I think all this is kind of my fault... I think I know where the error is

You can upload both files but be sure to upload the aycez.pl file into you cgi-bin directory in ascii mode !
then chmod it 755. the normal chmod for the html file is 644, if you wonder.

It should work then
Luck is my middle name. Mind you, my first name is Bad.

Offline flavor76

  • Pong! (the videogame) Master
  • *****
  • Posts: 23
Problems with forms, pls help !
« Reply #28 on: October 27, 2004, 11:18:44 AM »
btw.....the new contactus.html file seems to be different in terms of fonts and layout when i preview it.......should i go ahead and upload it ?

pls advise....

Offline talloth_endill

  • Galactic Royalty
  • *****
  • Posts: 220
Problems with forms, pls help !
« Reply #29 on: October 27, 2004, 11:24:53 AM »
I think it's only related to the stylesheet not being included when you look at it locally... anyway, if you want to be sure, just rename the file to contactus2.html then upload it.

BTW, please, edit aycez.pl for a change I forgot and change this :
Quote
 $style             = '/css/nms.css';

to
Quote
 $style             = 'http://www.aycez.com/styles/styles3.css';


Then again, just upload it, be sure to upload it in ascii mode and to set the chmod.
Luck is my middle name. Mind you, my first name is Bad.