The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/showthread.php 26 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/showthread.php 26 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/showthread.php 26 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 909 errorHandler->error
/showthread.php 26 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/showthread.php 26 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/showthread.php 26 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/showthread.php 137 forum_permissions
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
Warning [2] Undefined array key "mybb" - Line: 1952 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1952 errorHandler->error
/inc/functions_indicators.php 41 my_set_array_cookie
/showthread.php 629 mark_thread_read
Warning [2] Undefined property: MyLanguage::$ratings_update_error - Line: 5 - File: showthread.php(732) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/showthread.php(732) : eval()'d code 5 errorHandler->error
/showthread.php 732 eval
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions_user.php 844 is_member
/inc/functions_post.php 406 purgespammer_show
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(474) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php(474) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 474 eval
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 660 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 660 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showimages" - Line: 741 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 741 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 746 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 746 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions_user.php 844 is_member
/inc/functions_post.php 406 purgespammer_show
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(474) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php(474) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 474 eval
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 660 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 660 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showimages" - Line: 741 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 741 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 746 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 746 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions_user.php 844 is_member
/inc/functions_post.php 406 purgespammer_show
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(474) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php(474) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 474 eval
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 660 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 660 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showimages" - Line: 741 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 741 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 746 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 746 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "invisible" - Line: 1506 - File: showthread.php PHP 8.1.27 (Linux)
File Line Function
/showthread.php 1506 errorHandler->error
Warning [2] Undefined variable $threadnotesbox - Line: 30 - File: showthread.php(1533) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/showthread.php(1533) : eval()'d code 30 errorHandler->error
/showthread.php 1533 eval
Warning [2] Undefined variable $addremovesubscription - Line: 79 - File: showthread.php(1533) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/showthread.php(1533) : eval()'d code 79 errorHandler->error
/showthread.php 1533 eval



FORUMS


The Form Tools forums are no longer active, but the old posts have been archived here. Please see the Help page on how to get help / report issues.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Form page completely blank
#1
I have not been able to send a test submission because my form page does not load. I can't even see my source code in my browser. same thing for my thankyou.php page. Take a look for yourself.

this page has my form:
http://www.vancouver.wsu.edu/programs/sc...esheet.php

this is my code:

Code:
<?php
require_once("http://www.vancouver.wsu.edu/marcomm/form_tools/global/api/api.php");
$fields = ft_api_init_form_page("", "test");
$params = array(
  "submit_button" => "submit",
  "next_page" => "thankyou.php",
  "form_data" => $_POST,
  "finalize" => true
    );
ft_api_process_form($params);
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en">
<head>
<title>Project Contacts - Partners In Discovery GK12 Project - WSU Vancouver</title>


<link href="../style/screen_v2.css" rel="stylesheet" type="text/css" media="all" />
<link href="../style/colors/pantone390.css" rel="stylesheet" type="text/css" media="all" />
<link href="../style/photo.css" rel="stylesheet" type="text/css" media="all" />
<link href="../style/gk12_contents_v2.css" rel="stylesheet" type="text/css" media="all" />
<link href="../style/print.css" rel="stylesheet" type="text/css" media="print"/>
<link rel="icon" href="../images/favicon.gif" type="image/gif" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
<!--
.style1 {font-style: italic}
.style2 {
    font-size: 14
}
-->
</style>
</head>
<body>

<a name="top"></a>
<a class="skiplink" title="Skip Links" href="#main">Skip Links</a>

<img id="printlogo" width="278" height="50" alt="WSU Vancouver" src="../images/print_logo.gif" />

<!--Beginning of the WSU Vancouver page header -->
<noscript>
<div id="pagewrapper"><div id="header"><div id="logo"><a title="Back to WSU Vancouver homepage" href="http://www.vancouver.wsu.edu/"><img alt="Washington State University Vancouver" src="../images/2nd_logo.gif" width="246" height="44" /></a></div><div id="masthead_links"><div id="masthead_1">&nbsp;</div><div id="masthead_2">&nbsp;</div></div></div></div>
</noscript>
<script language="Javascript"
src="http://www.vancouver.wsu.edu/style/vancouver_header.js" type="text/javascript"></script>
<!--End of the WSU Vancouver page header -->

<div id="wrap">
<div id="navbar">
<div id="sitephoto" style="background-image: url(../images/gk12_nav_photo010.jpg)"></div>

<!-- BEGIN LEFT NAVIGATION -->

    <div id="navbar_links">
        <ul>
        <li><a href="GK12_home.html" >GK12 Home</a></li>
        <li><a href="GK12_Participants.html" >Participants</a></li>
          <li><a href="GK12_project_goals.html" >Project Goals</a></li>
        <li><a href="GK12_Resource_Matls.html">Resource Materials</a></li>
         <li><a href="GK12_applicant_information.html">Apply to GK12 Project</a></li>  
        <li><a href="GK12_For_Participants.html" >Information For Participants</a></li>
        <li><a href="GK12_Contact.html"  class="selected">Project Contacts</a></li>
        <li> &nbsp; </li>
        <li> &nbsp; </li>
        <li><a href="http://www.vancouver.wsu.edu/programs/sci/">WSUV Science Programs</a></li>
        </ul>
    </div>

<!-- END LEFT NAVIGATION -->
    
<!-- BEGIN SEARCH AREA -->
  
<div id="search">
<form action="http://www.vancouver.wsu.edu/dirs/search.php">

<p>
  <label for="q">Search Site:</label>
</p>
<input type="hidden" name="cx" value="004893227505474119990:i8g2kvh3uow" />
    <input type="hidden" name="cof" value="FORID:11" />
    <input style="padding: 2px; border: 1px solid #333;" type="text" name="q" size="14" />
    <input style="font-weight: bold; border: 1px solid #333; background: #ccc url(images/search_bg.gif) 0 0 repeat-x; padding: 1px;" type="submit" name="sa" value="Go" />
</form>
</div>

<!-- END SEARCH AREA -->
    
</div>

<div id="main">

<a name="top"></a>

<!-- BEGIN PAGE TITLE AREA -->

    <div id="pagetitle" >
        <h1><a title="Partners in Discovery Fellow - Teacher Partnerships" href="index.html">Partners in Discovery of the Columbia River Watershed</a> - GK-12 Project
        </h1>
        
    </div>
        
<!-- END PAGE TITLE AREA -->

<!-- BEGIN MAIN CONTENT AREA -->
<div id="main_info" class="address_blocks">
<form action="<?php echo $_SERVER["PHP_SELF"]?>" method="POST">


<p>Name:&nbsp;<select name="name"></p>

<option>Sarah Bayer</option>
<option>Kassi Dallavis</option>
<option>Bridget Deemer</option>
<option>Kara Goodwin</option>

<option>Andy Harwood</option>


<option>Erica Henry</option>

<option>Sean Rooney</option>
</select>

<p>Month:
<select name="month">
  <p>
  </p>
  <option>September</option>
  <option>October</option>
  <option>November</option>

  <option>December</option>
  <option>January</option>
  <option>February</option>
  <option>March</option>
  <option>April</option>
  <option>May</option>

  <option>June</option>
</select>
<p>Please enter your time for the selected weeks in hours:</p>
<table width="100%">
<tr>
<td width="25%"> <strong>Travel Time</strong></td>
<td width="25%" > <strong>Prep. time with teacher</strong></td>
<td width="25%" >  <strong>Time in Class</strong></td>

<td width="25%" > <strong>Prep. time</strong></td>
</tr>


<tr>
<td width="25%" > <input name="travel_time" type=text value="" size="20" maxlength="6" /></td>
<td width="25%" > <input name="prep_time_with_teacher" type=text value="" size="20" maxlength="6" /></td>
<td width="25%" >  <input name="in_class_time" type=text value="" size="20" maxlength="6" /></td>
<td width="25%" > <input name="prep_time" type=text value="" size="20" maxlength="6" /></td>
</tr>
</table>


<p>Enter comments about your times below (if any):</p>

<p><textarea name="time_comments" rows="3" cols="88">

</textarea></p>

<p>What have been this month's successes and issues? What is working in the classroom and what is not working?:</p>

<p>
  <textarea name="gnrl_comments" rows="10" cols="88">

  </textarea>
</p>
<p><input type="submit" value="Submit Timesheet" /></p>


<p><input type="reset" value="Reset Form" /></p>

</form>
</div>
</div>  

    
<!-- END MAIN CONTENT AREA -->


<!-- DO NOT REMOVE! -->
    
    <div class="break">
    </div>
    
    
<!-- BEGIN FOOTER -->
        
        <div id="footer">
        <p>Contact us:<a href="mailto:rollboll@vancouver.wsu.edu"> Gretchen Rollwagen Bollens, Principal Investigator, </a> 360-546-9115  or <a href="mailto:trothwell@vancouver.wsu.edu">Tracy Rothwell, Program Coordinator</a> 360-546-9345  
        <p><a href="http://www.vancouver.wsu.edu">Washington State University Vancouver</a>,&nbsp;<a href="http://www.vancouver.wsu.edu/programs/sci/">Science Programs</a>, 14204 NE Salmon Creek Avenue, Vancouver, WA, 98686-9600 USA </p> <p align="right" class="small-font"><a  href="http://www.scs.wsu.edu/atc/">Accessibility</a> | <a href="http://www.wsu.edu/copyright.html">Copyright</a> | <a href="http://www.wsu.edu/policies.html">Policies</a></p>
    </div>



<!-- END FOOTER -->
    
</div>

<!-- BEGIN GOOGLE ANALYTICS CODE - DO NOT REMOVE -->

<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script><script type="text/javascript">_uacct = "UA-362434-1"; urchinTracker(); </script>

<!-- END GOOGLE ANALYTICS CODE - DO NOT REMOVE -->

</body>
</html>
Reply
#2
Hey Jimmy,

Yeah, it'll appear blank because your require_once() line uses a URL rather than a path. It should use a path - otherwise it'll just throw an error and stop loading the rest of the page. You can use a relative or absolute path.

Good luck!

- Ben
Reply
#3
(Nov 14th, 2009, 12:23 PM)Ben Wrote: Hey Jimmy,

Yeah, it'll appear blank because your require_once() line uses a URL rather than a path. It should use a path - otherwise it'll just throw an error and stop loading the rest of the page. You can use a relative or absolute path.

Good luck!

- Ben

Thanks! I love easy fixes.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)