Thursday 08 June 2006 2:09:17 am
Hi there, Fats. I`ve created protx table, and installed extension. I`ve put trigger on shop/chekout -> after. Also, I`ve extended existing user class with the required fields. Then I`ve changed protxtype.php user detail defines to appropriate field indexing. When I test this, form shows up correctly with the correct fields on it but debug output says:
Warning: PHP
Undefined index: StartDateYear in /home/virtual/site14/fst/var/www/html/extension/protx/eventtypes/event/protx/protxtype.php on line 737
This warning is notified for the following code lines:
$tpl->setVariable( "startDate", $_POST['StartDateMonth'] );
$tpl->setVariable( "startYear", $_POST['StartDateYear'] );
$tpl->setVariable( "expiryDateMonth", $_POST['ExpiryDateMonth'] );
$tpl->setVariable( "expiryDateYear", $_POST['ExpiryDateYear'] );
$tpl->setVariable( "clientNumber", $_POST['ClientNumber'] );
$tpl->setVariable( "issueNumber", $_POST['IssueNumber'] ); $tpl->setVariable( "cv2", $_POST['CV2'] ); Also, there is one more warning notification. Undefined index: node_id in /home/virtual/site14/fst/var/www/html/extension/protx/eventtypes/event/protx/protxtype.php on line 760 $node =& eZContentObjectTreeNode::fetch( $processParameters['node_id'] ); When I click on submit order is successfully stored and the mail is sent, but there is no protx communication.
|