Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 03-09-2005, 09:10 AM   #1
It can never be too quiet
 
Stryker's Avatar
 
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
Firefox - the .asp form page will not even render in the browser, but the .asp code itself is displayed. I get no errors of any kind, just a browser full of .asp code.

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
Stryker is offline   Reply With Quote
Old 03-09-2005, 10:19 AM   #2
Come in Ray...
 
faulkner132's Avatar
 
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.
faulkner132 is offline   Reply With Quote
Old 03-10-2005, 02:17 PM   #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
On internet explorer for the first link, and I can't try firefox since I am away from home at the moment.

The second one works.

Have you tryed using get instead of post? This would rule out if it is a problem with post.
__________________
WhatsThisBoxFor? is offline   Reply With Quote
Old 03-10-2005, 03:17 PM   #4
It can never be too quiet
 
Stryker's Avatar
 
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
Stryker is offline   Reply With Quote
Old 03-11-2005, 12:39 PM   #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.
WhatsThisBoxFor? is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:18 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2