הרשם שאלות ותשובות רשימת חברים לוח שנה הודעות מהיום

חזור   הוסטס - פורום אחסון האתרים הגדול בישראל > עיצוב גראפי, תכנות על כל שפותיו וקידום ושיווק אתרים > פורום תיכנות

   
|!|

השב
 
כלים לאשכול תצורת הצגה
ישן 07-10-06, 14:29   # 1
ditale
חבר על
 
ditale's Avatar
 
מיני פרופיל
תאריך הצטרפות: Nov 2005
הודעות: 898
שלח הודעה באמצעות ICO אל ditale שלח הודעה באמצעות MSN אל ditale

ditale לא מחובר  

עזרה בטופס תמיכה בASP.

טוב אז ככה:
אחרי שאני ממלא את כל הפרטים ועושה SUMBIT הוא עושה לי דף שגיאה, אולי זה כי לא מלאתי את הפרטים איפו שצריך או חסר איזה דף, אשמח לקבל עזרה:
הנה הדף הראשון [ MailForm.asp ] :


קוד:
<html>
<head>
<title>emailform</title>
</head>
<body>
<form method="post" action="SendMail.asp">
   Complete this form and click the submit-button. We will answer your
   questions as soon as possible.
   <br><br>
   Your name <br>
   <input type="text" size="25" name="name"><br>   
   Your email<br>
   <input type="text" size="25" name="email"><br>
   Recipient email <br>
   <input type="text" size="25" name="recipient"><br>
   State your business <br>
   <select name="subject" size="1">
    <option value="help">help
       <option value="tips">tips
       <option value="other">other
   </select>
   <br>
   Enter your question <br>
   <textarea name="body" cols="40" rows="15"   Wrap="PHYSICAL"></textarea>
   <br>
   <input type="submit" value="  Submit ">
</form>
</body>
</html>
והנה הדף של הקוד [ SendMail ] :

קוד:
<html>
<head>
<title>Dimac</title>
</head>
<body>
<p align="center"><font face="Arial, geneva" size="5">Email Form<br>
eMail sent</font></p>
<%
Name   = Request.Form("name")
SenderEmail  = Request.Form("email")
Subject   = "Regarding " & Request.Form("subject")
Recipient  = Request.Form("recipient")
Body   = Request.Form("body")
Set JMail = Server.CreateObject("JMail.SMTPMail")
' Below you should enter your own SMTP-server
JMail.ServerAddress = "xxx.zzz.yyy"
JMail.Sender = Senderemail JMail.Subject = Subject
JMail.AddRecipient Recipient
JMail.Body = Body
JMail.Priority = 3
JMail.AddHeader "Originating-IP", Request.ServerVariables("REMOTE_ADDR") 
JMail.Execute
%>
<center>
<font face="Arial, geneva" size="3">
Your email has been sent to <%= Recipient %><br>
</font>
</center>
</body>
</html>
ואשמח להסבר מקיף על כל המשתנים בקוד.
אני מזכיר שמה שאני בעצם צריך זה תשובה איך אני פותר את הבעיה ששולחים את הטופס וזה רושם שגיאה:
The page cannot be displayed

  Reply With Quote
ישן 07-10-06, 14:43   # 2
Balrog
חבר בקהילה
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
הודעות: 121

Balrog לא מחובר  

טוב קודם כל בדף SendMail
יש לך שורה - JMail.Sender = Senderemail JMail.Subject = Subject

וזה אמור להיות בשתי שורות, לא?

לגבי הודעת השגיאה - אפשר לעשות שזה יציג את השגיאה המלאה
הולך ל:
tools -> internet options -> advanced
ומוריד את ה-V מ Show Friendly http errors או משהו בסגנון.

ואז תוכל לראות שגיאה מפורטת.
  Reply With Quote
ישן 07-10-06, 14:59   # 3
ditale
חבר על
 
ditale's Avatar
 
מיני פרופיל
תאריך הצטרפות: Nov 2005
הודעות: 898
שלח הודעה באמצעות ICO אל ditale שלח הודעה באמצעות MSN אל ditale

ditale לא מחובר  

תודה רבה אבל אשמח לפתרון לבעיה .
  Reply With Quote
ישן 07-10-06, 15:06   # 4
eLad
Fatal Error
 
eLad's Avatar
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
מיקום: localhost
גיל: 38
הודעות: 1,968

eLad לא מחובר  

ציטוט:
נכתב במקור על ידי ditale
תודה רבה אבל אשמח לפתרון לבעיה .
תן את השגיאה

ציטוט:
tools -> internet options -> advanced
ומוריד את ה-V מ Show Friendly http errors או משהו בסגנון.
__________________
eLad
  Reply With Quote
ישן 07-10-06, 15:06   # 5
Balrog
חבר בקהילה
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
הודעות: 121

Balrog לא מחובר  

ditale - עשית מה שהצעתי?
אם תתן את השגיאה המדוייקת יהיה יותר קל לעזור לך.

אני מניח שהתותחים ב-ASP יוכלו לפתור את הבעיה גם ככה, אבל לי כרגע ההבעיה לא בדיוק קופצת לעיניים - ככה שהשגיאה עצמה תוכל לתת יופי של כיוון.
  Reply With Quote
ישן 07-10-06, 15:40   # 6
ditale
חבר על
 
ditale's Avatar
 
מיני פרופיל
תאריך הצטרפות: Nov 2005
הודעות: 898
שלח הודעה באמצעות ICO אל ditale שלח הודעה באמצעות MSN אל ditale

ditale לא מחובר  

ציטוט:
The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
--------------------------------------------------------------------------------

Please try the following:

Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.
If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted.
Click the Back button to try another link.
HTTP Error 404 - File or directory not found.
Internet Information Services (IIS)

--------------------------------------------------------------------------------

Technical Information (for support personnel)

Go to Microsoft Product Support Services and perform a title search for the words HTTP and 404.
Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Web Site Setup, Common Administrative Tasks, and About Custom Error Messages.
...
  Reply With Quote
ישן 07-10-06, 15:54   # 7
ditale
חבר על
 
ditale's Avatar
 
מיני פרופיל
תאריך הצטרפות: Nov 2005
הודעות: 898
שלח הודעה באמצעות ICO אל ditale שלח הודעה באמצעות MSN אל ditale

ditale לא מחובר  

מצטער על הדאבל:
הנה עוד שגיאה שהוא כותב, לא הבנתי ממש איפו הבעיה פה:

Microsoft VBScript compilation error '800a0401'

Expected end of statement

/SendMail.asp, line 17

JMail.Sender = Senderemail JMail.Subject = Subject
  Reply With Quote
ישן 07-10-06, 16:02   # 8
Balrog
חבר בקהילה
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
הודעות: 121

Balrog לא מחובר  

יפה - עכשיו רואים שגיאה
ועל השגיאה הזאת כבר אמרתי לך בהודעה הראשונה שלי

זה אמור להיות ב-2 שורות
JMail.Sender = Senderemail JMail.Subject = Subject

אמור להיות:

JMail.Sender = Senderemail
JMail.Subject = Subject
  Reply With Quote
ישן 07-10-06, 17:20   # 9
ditale
חבר על
 
ditale's Avatar
 
מיני פרופיל
תאריך הצטרפות: Nov 2005
הודעות: 898
שלח הודעה באמצעות ICO אל ditale שלח הודעה באמצעות MSN אל ditale

ditale לא מחובר  

תודה רבה זה שולח והכל טוב עכשיו יש בעיה אחרת מתחת לשורה שהוא רושם שהאימל נשלח יש שגיאה נוספת:

Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

/SendMail.asp, line 14

800401f3


זה קשור לשורה הזאת נראה לי:
קוד:
Set JMail = Server.CreateObject("JMail.SMTPMail")

...?
  Reply With Quote
ישן 07-10-06, 17:55   # 10
eLad
Fatal Error
 
eLad's Avatar
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
מיקום: localhost
גיל: 38
הודעות: 1,968

eLad לא מחובר  

אם זה מצביע לשורה 14 וזו שורה 14 אז מן הסתם זה קשור

בכל מקרה השגיאה אומרת שאין לך את האובייקט הזה מותקן על השרת
__________________
eLad
  Reply With Quote
השב

חברים פעילים הצופים באשכול זה: 1 (0 חברים ו- 1 אורחים)
 


חוקי פירסום
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 מופעל
סמיילים הם מופעל
[IMG] קוד מופעל
קוד HTML מכובה

קפיצה לפורום


כל הזמנים הם GMT +2. הזמן כעת הוא 12:55.

מופעל באמצעות VBulletin גרסה 3.8.6
כל הזכויות שמורות ©
כל הזכויות שמורות לסולל יבוא ורשתות (1997) בע"מ