Aug 13th, 2011, 1:18 PM
I am not trying to be impatient here as I truly do understand and appreciate the nature of this software, but I am right in the middle of moving a bunch of sites to a new server and after the upgrade, all my sites are producing errors as in the previous post as well as the one below:
which is sort of similar to the previous error.
This is the block of code I have at the top of the page:
If I comment out the $criteria array, it reduces the error to:
I really need to see if I can repair this otherwise I will be faced with reinstalling and perhaps even putting separate instances of Formtools up ... one for each site. I think that would defeat the purpose though.
If anyone has any ideas about this I would certainly like to hear them.
Dave
Code:
Notice: Undefined index: email in /home/thirdv/public_html/index.php on line 5
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/thirdv/public_html/index.php:5) in /home/zuka/public_html/test.support/formtools/global/api/api.php on line 1585
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/thirdv/public_html/index.php:5) in /home/zuka/public_html/test.support/formtools/global/api/api.php on line 1585
Warning: Cannot modify header information - headers already sent by (output started at /home/thirdv/public_html/index.php:5) in /home/zuka/public_html/test.support/formtools/global/api/api.php on line 1586
Warning: Cannot modify header information - headers already sent by (output started at /home/thirdv/public_html/index.php:5) in /home/zuka/public_html/test.support/formtools/global/api/api.php on line 1587
Notice: A session had already been started - ignoring session_start() in /home/zuka/public_html/test.support/formtools/global/api/api.php on line 1585
Warning: Cannot modify header information - headers already sent by (output started at /home/thirdv/public_html/index.php:5) in /home/zuka/public_html/test.support/formtools/global/api/api.php on line 1586
Warning: Cannot modify header information - headers already sent by (output started at /home/thirdv/public_html/index.php:5) in /home/zuka/public_html/test.support/formtools/global/api/api.php on line 1587
which is sort of similar to the previous error.
This is the block of code I have at the top of the page:
Code:
<?php
require_once("/home/zuka/public_html/test.support/formtools/global/api/api.php");
ft_api_delete_unfinalized_submissions(15, false);
$criteria = array("email" => $_POST["email"]);
$fields = ft_api_init_form_page(15);
ft_api_start_sessions();
$fields = isset($_SESSION["form_tools_form_data"]) ?
ft_strip_tags($_SESSION["form_tools_form_data"]) : array();
$params = array(
"submit_button" => "submit",
"next_page" => "subscribe-thanks.php",
"form_data" => $_POST,
"finalize" => true
);
ft_api_process_form($params);
?>
If I comment out the $criteria array, it reduces the error to:
Code:
Notice: A session had already been started - ignoring session_start() in /home/zuka/public_html/test.support/formtools/global/api/api.php on line 1585
Warning: Cannot modify header information - headers already sent by (output started at /home/zuka/public_html/test.support/formtools/global/api/api.php:1585) in /home/zuka/public_html/test.support/formtools/global/api/api.php on line 1586
Warning: Cannot modify header information - headers already sent by (output started at /home/zuka/public_html/test.support/formtools/global/api/api.php:1585) in /home/zuka/public_html/test.support/formtools/global/api/api.php on line 1587
I really need to see if I can repair this otherwise I will be faced with reinstalling and perhaps even putting separate instances of Formtools up ... one for each site. I think that would defeat the purpose though.
If anyone has any ideas about this I would certainly like to hear them.
Dave