|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
It can never be too quiet
Join Date: May 2004
Location: Burlington, Ontario
Posts: 1,090
|
.asp post not working... server issue?
Hi all,
Take a deep breath... this is a long one! I am a little confused (even more than usual) ![]() I am finishing of a site and it would appear that the web space provider I'm using does not support "asp post" methods (posting to page that generates e-mail using CDONTS). The reason I say this is, I have copied the site to two different locations (seperate providers), one through work and the other is the provider the site will actually be hosted on. The version hosted from work functions fine, but the exact same pages through the provider do not function. Here are the issues (with the permanent host, not through work): Internet Explorer - I can see the .asp form page and complete the info. the page seems to work fine but as soon as I try submitting, it gives the following error and the page does not generate the e-mail... HTML Code:
Method Not Allowed The requested method POST is not allowed for the URL /SendOrder.asp. -------------------------------------------------------------------------------- Apache/1.3.33 Server at www.c2imaging.com Port 80 Again, this only happens through the host. With the pages through a work server, it functioned perfectly. I have included links below if you would like to see for yourself. Feel free to make use of the order page to see the issue. The e-mail only comes to me right now anyway. Click the links below and select "order" from the banner to get to the .asp. • Host (problem pages) - http://www.c2imaging.com • Work (functioning ok) - http://staging.curomax.com/graphics/c2imaging/index.htm If you need more info, feel free to ask. I'm stumped and I'll take whatever help I can get. Thanks very much, Stryker
__________________
Athlon XP 2800+ • Asus A7N8X (nVidia Nforce2) • Radeon 9600 Pro 256MB • 2x512MB KVR DDR PC3200 Dual Channel • 120GB Seagate 7200RPM 8MB • 160GB WD 7200RPM 8MB • Liteon DVD±RW DL • AOpen DVD±RW DL • Vantec Ion2 350W PSUSend me your picture for the Member Photo Gallery |
|
|
|
|
|
#2 |
|
Come in Ray...
Join Date: Sep 2004
Posts: 1,668
|
Looks like a hosting provider issue.
Have you tried just making a page which is hard coded to send an email as soon as it loads? If that fails it could be your mail server (if it something other than the local machine) is not set up to relay from the hosting server's IP address. It may also be the hosting provider is disabled the emailing function from asp (maybe as a preventative spam measure). Give it a shot and see what happens. |
|
|
|
|
|
#3 |
|
PCMech: Saving Lives
Join Date: Apr 2004
Location: England, the United Kingdom
Posts: 1,839
|
Thats strange - I get
HTML Code:
An error has occurred: Error 403 No variable substitutions in template /home/dlcechet/public_html/orderconfirm.htm The second one works. Have you tryed using get instead of post? This would rule out if it is a problem with post. |
|
|
|
|
|
#4 |
|
It can never be too quiet
Join Date: May 2004
Location: Burlington, Ontario
Posts: 1,090
|
Hi guys,
Sorry, you beat me to it. I just finished having a talk with my provider and as it turns out they don't support .asp right now. I figured as much but now I know for sure. What you are seeing now is me replacing the .asp with cgimail, which isn't as fancy or cool as asp, but it's working (almost) ![]() Another question though... is it possible to have the cgimail .txt file that builds the message to deliver the e-mail in HTML format? It's working with plain text, but the message doesn't look all pretty and stuff. I know, not a big deal, but I'm just curious. Thanks again guys, Stryker
|
|
|
|
|
|
#5 |
|
PCMech: Saving Lives
Join Date: Apr 2004
Location: England, the United Kingdom
Posts: 1,839
|
I could be wrong, but to make it a HTML message I am guessing you just include HTML tags. Whether this is right or not, you might want to look into giving an option for text/html when replying to customers since not everyones service supports HTML, and not everyone wants it.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|