Search the Community
Showing results for tags 'fatal error: require_once'.
-
Hi I need some help please. I am getting some error codes that I have looked for the answer to but cant figure it out, (yet) I have moved this form from one server to another. Its gotta be the directory's but hey, if I knew what I didn't know, I would still be scratching the surface. This is a sample of the working form; http://arduinology.com/DDD2/dev/requestForm2.php I am very new with PHP but the more I learn the more it interests me. The Pain is great Thanks for any help. Warning: require_once(../Scripts/functions.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/d/e/x/dexterpound/html/dovetail/requestForm2.php on line 2 and Fatal error: require_once() [function.require]: Failed opening required '../Scripts/functions.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/d/e/x/dexterpound/html/dovetail/requestForm2.php on line 2 The first part is the form: Bellow The second is the Handler: is a link here http://denverdovetail.com/handler.html The Form: (in all its PHP glory details) <?php require_once('../Scripts/functions.php'); $generic = new generic; ?> <link href="../Scripts/style.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js%22></script> <script type="text/javascript" src="../Scripts/functions.js"></script> <?php if(isset($_POST['quoteRequest']) && sizeof($_POST['quoteRequest']) > 0){ $generic->validateForm(); $generic->sendInformation(); } date_default_timezone_set('MST'); ?> <div id="questBox"> <div id="questBack"></div> <div id="questMenuCont"> <div id="floatMenu"> <div id="questClose"> <span id="close">X</span> </div> <div id="questCont">Something went wrong.</div> </div> </div> </div> <div id="formBodyCont"> <form id="reqFormMain" action="../../requestForm2.php" method="post"> <div style="height: 275px;"> <div style="width: 290px; float: left;"> <img src="http://arduinology.com/DDD/sites/default/files/DDD_logo.png /><br /> 4361 Loveland St<br /> Golden, CO 80403<br /> t: (303)215-9441 | f: (303)215-9445 </div> <div style="float: left; width: 460px;"> <div class="field_container"><div class="field_container_1">Company Name<span id="reqField">*</span></div> <input size="30" type="text" name="company" /> </div> <div class="field_container"><div class="field_container_1">Address<span id="reqField">*</span></div> <input type="text" id="address" size="30" name="address" /></div> <div class="field_container">City<span id="reqField">*</span> <input type="text" id="city" name="city" />State<span id="reqField">*</span> <?php $generic->stateDropdown(0); ?> Zip<span id="reqField">*</span> <input type="text" size="4" id="zip" name="zip" /></div> <div class="field_container">Phone<span id="reqField">*</span> <input size="15" type="text" name="phone" /> Fax <input size="15" type="text" name="fax" /></div> <div class="field_container"><div class="field_container_1">Email</div> <input id="email" type="text" name="email" /></div> <div class="field_container">Contact<span id="reqField">*</span> <input type="text" name="contact" />Cell <input type="text" size="15" name="cell" /></div> <div id="deliverTo">Deliver To*<br />Same as Above <input id="deliverSame" type="radio" name="delivery" value="1"> New Address<input id="deliverNew" type="radio" name="delivery" value="0"><br /> <div id="newAddress"> <div class="field_container_1">Address<span id="reqField">*</span></div> <input type="text" id="address2" size="30" name="address2" /><br />City<span id="reqField">*</span> <input type="text" id="city2" name="city2" />State<span id="reqField">*</span> <?php $generic->stateDropdown(0); ?> Zip<span id="reqField">*</span> <input type="text" size="4" id="zip2" name="zip2" /><br /> </div> Commercial <input type="radio" name="locType" value="Commercial" />Residential <input type="radio" name="locType" value="Residential" /><br /> </div> <div class="field_container"><div class="field_container_1">Need By Date*</div> <input size=6 type="text" name="needBy" /></div> <div class="field_container">Sales Tax License # <input type="text" name="salesTaxLicense" /></div> </div> </div> <div> <div style="float:left;"> <div style="float: right;"> Assembly Type*<br /> <input id="assembled" type="radio" name="assembled" value="Assembled"><lable for="assembled">Assembled</lable><br /> <input id="assembled2" type="radio" name="assembled" value="RTA"><lable for="assembled">RTA</lable> </div> <div> Wood Finish*<br /> <input type="radio" id="finished" name="finish" value="Finished"><lable for="finish">Finished</lable><br /> <input type="radio" id="finished2" name="finish" value="Unfinished"><lable for="finish">Unfinished</lable> </div> <div> <lable for="cornConst" class="field_container_3">Corner Construction* <span id="quest" class="CornConst"><img src="../../questBtn.jpg" border="0"></span></lable> <select id="cornConst" name="cornConst"> <option value="none">--- Select an Option ---</option> <option value="Dovetail">Dovetail</option> <option value="Dowel and Bore">Dowel and Bore</option> </select> <br/> <lable for="sideMatThick" class="field_container_3">Side Material Thickness*</lable> <select id="sideMatThick" name="sideMatThick"> <option value="none">--- Select an Option ---</option> <option value="1/2 inch">1/2 inch</option> <option value="5/8 inch">5/8 inch</option> </select> <br/> <lable for="sideMat" class="field_container_3">Side Material* <span id="quest" class="sideMat"><img src="../../questBtn.jpg" border="0"></span></lable> <select id="sideMat" name="sideMat"> <option value="none">--- Select an Option ---</option> <option value="Hard Maple">Hard Maple</option> <option value="Beech">Beech</option> <option value="other">Other</option> </select> <br/><br/> </div> </div> <div style="float:left; margin-left: 50px"> <lable for="botThick" class="field_container_2">Bottom Thickness*</lable> <select id="botThick" name="botThick"> <option value="none">--- Select an Option ---</option> <option value="1/4 inch">1/4 inch</option> <option value="1/2 inch">1/2 inch</option> </select><br /> <lable for="botMat" class="field_container_2">Bottom Material*<span id="quest" class="botMat"><img src="../../questBtn.jpg" border="0"></span></lable> <select id="botMat" name="botMat"> <option value="none">--- Select an Option ---</option> <option value="Maple">Maple</option> <option value="Beech">Beech</option> <option value="Birch">Birch</option> <option value="White Melamine">White Melamine</option> <option value="other">Other</option> </select> <br /> <lable for="botLoc" class="field_container_2">Bottom Location*</lable> <select id="botLoc" name="botLoc"> <option value="none">--- Select an Option ---</option> <option value="1/4 inch upset">1/4 inch upset</option> <option value="3/8 inch upset">3/8 inch upset</option> <option value="1/2 inch upset">1/2 inch upset</option> <option value="Flush">Flush</option> <option value="Plant On">Plant On</option> </select> </div> <div style="clear: both;"> <div id="drawerSlidesDiv"> <lable for="drawerSlides">Purchase Drawer Slides </lable><span id="quest" class="drawerSlides"><img src="../../questBtn.jpg" border="0"></span> <span id="addDrawerRow"><img src="../../plusBtn.jpg" border="0"></span><br /> <div id="drawerSlideCont"> <div id="dsd_01"> Brand <select id="drawerSlides" class="drawerSlideDD" name="drawerSlides[0][type]"> <option value="none">--- Select an Option ---</option> <option value="Blum 562H (w/ clips)">Blum 562H (w/ clips)</option> <option value="Salice 7555 (w/ clips)">Salice 7555 (w/ clips)</option> <option value="KV 8400">KV 8400</option> </select> Size <select id="drawerSlidesSize" name="drawerSlides[0][size]"> </select> Quantity <input type="text" name="drawerSlides[0][qty]" style="width: 30px;" /> <span><img src="../../minusBtn.jpg" border="0"></span> </div> </div> </div> <br /> Special Requests/Instructions:<br /> <textarea name="comments" id="comments" style="width: 100%; height: 100px;"></textarea> <br /> <table> <tbody id="reqForm"> <tr> <td>#</td> <td>Your Tag. #</td> <td>QTY</td> <td>Width</td> <td>Depth</td> <td>Height</td> <td>Scoops</td> <td>UM Notches</td> <td>File Slots</td> <td><span style="color:#CE0000" id="addRow"><img src="../../plusBtn.jpg" border="0"></span> <span style="color: #CE0000;" id="removeRow"><img src="../../minusBtn.jpg" border="0"></span></td> </tr> <tr id="row_1"> <td>1</td> <td><input size=8 type="text" name="drawer[0][refNum]" /></td> <td><input size=2 type="text" name="drawer[0][qty]" /></td> <td><input size=2 type="text" name="drawer[0][width]" /></td> <td><input size=2 type="text" name="drawer[0][depth]" /></td> <td><input size=2 type="text" name="drawer[0][height]" /></td> <td><input type="checkbox" name="drawer[0][scoops]" value="Yes"></td> <td><input type="checkbox" class="umNotch" name="drawer[0][umnotch]" value="Yes" disabled></td> <td><select name=drawer[0][fileSlots]> <option value="None">None</option> <option value="Sides">Sides</option> <option value=F&B">F&B</option> </select></td> </tr> <tr id="row_1"> <td colspan="10">Comments:<br/><textarea name="drawer[0][comments]" id="comments" style="width: 100%; height: 100px;"></textarea></td> </tr> </tbody> </table> </div> </div> <input type="submit" value="Submit for Quote" name="quoteRequest" /> </form> </div> </div> Me so Crazy been working so hard for long time! Thanks Everyone Dexter
- 2 replies
-
- phpdirectory
- require_once
-
(and 1 more)
Tagged with: