Hello,
I am really frustrated with a multi-form session bug. I have used the following code that I found from another solution on my Mother Form.
Basically my posted array keeps showing me the old file names! Oh yeah, I also did a hack provided by GreyHead in my cf_multi_page.php:
Here is a link to my page http://www.capturingtrueemotion.com/index.php?option=com_chronocontact&chronoformname=masterForm
it just keeps showing me the file names from the last session which means I can't finish up the form.
I am going to PM my user/pass, thank you as always!
GreyHead is the best!
I am really frustrated with a multi-form session bug. I have used the following code that I found from another solution on my Mother Form.
<?php
$formname = 'masterForm';
$session =& JFactory::getSession();
if ( $session->has('chrono_formpages_data_'.$formname, md5('chrono')) ) {
$session->clear('chrono_formpages_data_'.$formname, md5('chrono'));
}
if ( $session->has('chrono_formpages_files_'.$formname, md5('chrono')) ) {
$session->clear('chrono_formpages_files_'.$formname, md5('chrono'));
}
?>
Basically my posted array keeps showing me the old file names! Oh yeah, I also did a hack provided by GreyHead in my cf_multi_page.php:
// insert the following three lines
if ( count($MyUploads->attachments) ) {
$newposted = array_merge($newposted, $MyUploads->attachments);
}
// end insert
Here is a link to my page http://www.capturingtrueemotion.com/index.php?option=com_chronocontact&chronoformname=masterForm
it just keeps showing me the file names from the last session which means I can't finish up the form.
I am going to PM my user/pass, thank you as always!
GreyHead is the best!