Jump to content

DeanWhitehouse

Members
  • Posts

    2,527
  • Joined

  • Last visited

Everything posted by DeanWhitehouse

  1. Any one had a problem like this , it only started recently
  2. erm not really , as this is not exactly a long script so execution time shouldnt effect it , as it only happens when i add session start.
  3. Any one know how to stop this or get arround this, this is urgent , so thanks for any reply's
  4. This is my error FastCGI Error The FastCGI Handler was unable to process the request. Error Details: * The FastCGI process exceeded configured activity timeout * Error Number: 258 (0x80070102). * Error Description: The wait operation timed out. HTTP Error 500 - Server Error. Internet Information Services (IIS) When i remove session_start(); it runs fine, but when i added it i get the error any ideas? This is my code , it is short for a test <?php session_start(); echo "test"; ?> Any ideas, as this didnt happen a few days ago?
  5. check this out http://www.w3schools.com/PHP/php_secure_mail.asp
  6. this means there is no row called id in the table, make sure it is called id not ID Unknown column 'id' in 'where clause'
  7. change this or die ("Error Retrieving Records (9993SQLGET)"); to or die (mysql_error());
  8. why not do this <?php session_start(); $mail = new PHPMailer(); // defaults to using php "mail()" $body = "<style> #orderTitle{ font-weight:bold; font-size:14px; color:#006000; border-bottom:#000080 solid 2px; font-family:verdana; } #orderLable{ font-size:12px; padding:3px; font-family:verdana; } </style> <table border=0 width=100%> <tr> <td><b><font face=verdana>APPRAISAL ORDER REQUEST FORM</font></b></td> <td id=orderLable align=right></td> </tr> </table> <br><br> <div id=orderRequestForm style='width:678px; margin-bottom:10px;'> <table border=0 width=100%> <tr> <td colspan=2><div id=orderTitle>Company / Contact information</div></td> </tr> <tr> <td width=25%> </td> <td width=75%> </td> </tr> <tr> <td id='orderLable' width=25%>Business:</td> <td width=75% id='orderLable'>$yourBusiness</td> </tr> <tr> <td id='orderLable' width=25%>Company:</td> <td width=75% id='orderLable'>$companyName</td> </tr> <tr> <td id='orderLable' width=25%>Contact Person:</td> <td width=75% id='orderLable'>$contactPersonFirst $contactPersonLast</td> </tr> <tr> <td id='orderLable' width=25%>Phone:</td> <td width=75% id='orderLable'>($phone1) $phone2 $phone3</td> </tr> <tr> <td id='orderLable' width=25%>Alternate Phone:</td> <td width=75% id='orderLable'>($altphone1) $altphone2-$altphone3</td> </tr> <tr> <td id='orderLable' width=25%>Fax Number:</td> <td width=75% id='orderLable'>($fax1) $fax2-$fax3</td> </tr> <tr> <td id='orderLable' width=25%>Email:</td> <td width=75% id='orderLable'>$email</td> </tr> <tr> <td id='orderLable' width=25% valign=top>Address:</td> <td width=75% id='orderLable'>$contactaddress<br>$contactcity, $contactstate $contactzip</td> </tr> <tr> <td width=25%> </td> <td width=75%> </td> </tr> <tr> <td width=25%> </td> <td width=75%> </td> </tr> <tr> <td colspan=2><div id=orderTitle>Inspection And Property Access Information</div></td> </tr> <tr> <td width=25%> </td> <td width=75%> </td> </tr> <tr> <td id='orderLable' width=25%>Property Type:</td> <td width=75% id='orderLable'>$service</td> </tr> <tr> <td id='orderLable' width=25%>Property Address:</td> <td width=75% id='orderLable'>$prop_address<br>$prop_city, $prop_state $prop_zip</td> </tr> <tr> <td id='orderLable' width=25%>Contact:</td> <td width=75% id='orderLable'>$contactForInspection</td> </tr> <tr> <td id='orderLable' width=25%>Contact Name:</td> <td width=75% id='orderLable'>$inspContactPersonFirst $inspContactPersonLast</td> </tr> <tr> <td id='orderLable' width=25%>Contact Phone Number:</td> <td width=75% id='orderLable'>($inspPhone1) $inspPhone2-$inspPhone3</td> </tr> <tr> <td width=25%> </td> <td width=75%> </td> </tr> <tr> <td width=25%> </td> <td width=75%> </td> </tr> <tr> <td colspan=2><div id=orderTitle>Appraisal Detials</div></td> </tr> <tr> <td width=25%> </td> <td width=75%> </td> </tr> <tr> <td id='orderLable' width=25%>Purpose:</td> <td width=75% id='orderLable'>$purpose</td> </tr> <tr> <td id='orderLable' width=25%>Sale Price:</td> <td width=75% id='orderLable'>$salePrice</td> </tr> <tr> <td id='orderLable' width=25%>Report Type:</td> <td width=75% id='orderLable'>$reportType</td> </tr> <tr> <td id='orderLable' width=25%>FHA:</td> <td width=75% id='orderLable'>$fha</td> </tr> <tr> <td id='orderLable' width=25%>Occupancy:</td> <td width=75% id='orderLable'>$occupancy</td> </tr> <tr> <td id='orderLable' width=25% valign=top>Comments:</td> <td width=75% id='orderLable'>$explainPurpose</td> </tr> <tr> <td width=25%> </td> <td width=75%> </td> </tr> <tr> <td width=25%> </td> <td width=75%> </td> </tr> <tr> <td id='orderLable' colspan=2 align=right>Brought to you by: <img border=0 src='logoSMALL.gif' border=0></td> </tr> </table> </div>"; $mail->From = "email@email.com"; $mail->FromName = "Me"; $mail->Subject = "Report"; $mail->AltBody = "To view the message, please use an HTML compatible email viewer!"; // optional, comment out and test $mail->MsgHTML($body); $mail->AddAddress($_SESSION['email'], "Anthony"); // IT ISN"T PICKIN UP THIS SESSION EITHER $mail->AddAttachment("images/phpmailer.gif"); // attachment if(!$mail->Send()) { echo "Mailer Error: " . $mail->ErrorInfo; } else { echo "<pre>". print_r($_SESSION,true) ."</pre>"; //// I ADDED THIS JUST TO SEE IF THE SESSION WERE THERE AND THEY ARE } ?>
  9. unexpected end means you are missing a closing bracket }
  10. Is this all your code
  11. can't make it simpler
  12. there cant be any ouput before the header ,no echos , or HTML
  13. yer, there are no posts from him except that one.
  14. dezkit, ?? how did you help
  15. they read the source code ,so if it is outputted correctly , then it will be read.
  16. google mod-rewrite
  17. Im not sure, only one way to find out
  18. i think you will need cron jobs to check for new mails every so often , then if there is a new mail run a certain script.
  19. what?? is this got anything to do with pagination , or is this mod-rewrite
  20. thanks ken, didnt see that
  21. if ($_POST['fb_page_id'] == '') ( $profile_id = $_POST['fb_page_id']; $page_url_link = fb_page_id="' . $profile_id . '"; )
  22. Ok, then you havent defiend a message , as far as i can tell.
  23. if(mail($to, $subject, $body)) { echo "Success";//this only says that it is sent, not that it is recieved }
  24. ok, can you show orderSendEmail.php and the page that sends the mail.
  25. u could have a seperate query
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.