Buy Now
Sign in

I have an erro in my form

solopedro , July 29 2013, 12:14
S
solopedro 2
July 29 2013, 12:14 #314254
HEllo

I am running Joomla! 1.0.13 Stable [ Sunglow ] 21 July 2007 16:00 UTC  . IS an old website and there is an error in the chronoform.

the chronoform version is CHRONOFORMS version 2.0 stable (as per the chronocontact.html.php)

the website url where the prblem arises is:

http://www.geminismarbella.com/contactar/index.html

I can give you acecss to the back end and also to the ftp or cp if needed. I do not know what to do... (i have tried many things)

Tahnks
GreyHead 64
July 29 2013, 13:50 #314256
Hi soloppedro,

That is a very very old version of ChronoForms running on a very out of date version of Joomla!!!

I found a similar version in my archive and line 74 of chronocontact.html.php ie evaluating the form HTML.

What do you have on and around line 26 of your Form HTML on the form code tab?

Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
S
solopedro 2
July 29 2013, 17:30 #314271
Hi Bob

i have this in the code


/* ensuring that this file is called up from another file */
defined( '_VALID_MOS' ) or die( 'Direct access to this file is prohibited.' );
class HTML_ChronoContact {
// Procedure for building the table
function showform( $rows , $imver ) {
global $database, $mosConfig_absolute_path;
$paramsvalues = mosParseParams( $rows[0]->paramsall );
if(!empty($rows[0]->name)){
    ?>
    <?php if(!empty($rows[0]->scriptcode)){
    echo "<script type='text/javascript'>\n";
echo "//<![CDATA[\n";
    echo $rows[0]->scriptcode;
    echo "//]]>\n";
echo "</script>\n";      <-----(THIS HERE IS LINE 26)  
    }    
    ?>
    <?php if(!empty($rows[0]->submiturl)){
    $actionurl = $rows[0]->submiturl;      
    } else {
    $actionurl = 'index.php?option=com_chronocontact;task=send;chronoformname='.$rows[0]->name;
    }    
    ?>
    <?php if( trim($paramsvalues->validate) == 'Yes'){ ?>
      <?php if( trim($paramsvalues->validatetype) == 'prototype'){ ?>
        <script src="components/com_chronocontact/js/prototype.js" type="text/javascript"></script>
        <script src="components/com_chronocontact/js/effects.js" type="text/javascript"></script>
        <script src="components/com_chronocontact/js/validation.js" type="text/javascript"></script>
      <?php } ?>

Thanks, I know is a very old and out of date but client does not want to upgrade, and now will be quite difficult

Thanks
GreyHead 64
July 30 2013, 10:15 #314290
Hi solopedro,

That looks like code from the On Submit Before/After Email boxes. The error is from the Form HTML box I think.


Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much