Thu Aug 21, 2014, 2:02 pm
 Locked  5  2061
Showing 1 to 6 of 6 entries.
Mon Dec 28, 2009, 1:38 pm

Hi,
on my site I have many tables linked to ChronoConnectivity and everything works perfectly, with only one table gives me an error when I try to change the fates by frontend using the link Edit_Record:
May depend on what if everything is set like the others that work well?
This is the error text that appears in the page instead of the form for editing
Parse error: syntax error, unexpected T_STRING in /web/htdocs/www.geocaibassano.it/home/components/com_chronocontact/chronocontact.html.php(180) : eval()'d code on line 45

Thanks for some help.
Regards
Mirko

9 0
Fri Sep 4, 2009, 10:18 am
Sun Jan 10, 2010, 8:55 pm

Someone can help me with this problem?
Thanks!

9 0
Fri Sep 4, 2009, 10:18 am
Sun Jan 10, 2010, 10:55 pm

Hi mirkogeo,

Either the front end or the admin edit rcecords don't work correctly with the current CC release. You'll find several threads here about that.

However the immediate problem is that there is some kind of PHP error being caused by line 45 of your Form HTML. Fix that and see if the form shows correctly.

Bob


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

Moderator
36981 39201
Tue May 29, 2007, 6:15 pm
Mon Jan 11, 2010, 3:00 pm

Hi Grey Head
this is the autogenerated code in Form Code->Form HTML but is not PHP.
Where need to see for the code you mean?

Code: Select all
<div class="cf_item"> <h1 class="cf_text">Attività di campagna</h1> </div>

<div class="cf_item">
  <h3 class="cf_title" style="width: 150px;">Il tuo nome</h3>
  <div class="cf_fields">
    <input name="nome" type="text" value="" title="Questo campo deve essere compilato." class="cf_inputtext cf_inputbox required validate-alpha" maxlength="150" size="30" id="text_13" />
    <br />
    <label class="cf_botLabel">Inserisci il tuo nome e cognome</label>
  </div>
</div>

<div class="cf_item">
  <h3 class="cf_title" style="width: 150px;">e mail</h3>
  <div class="cf_fields">
    <input name="email" type="text" value="" title="Questo campo deve essere compilato." class="cf_inputtext cf_inputbox required validate-email" maxlength="150" size="30" id="text_14" />
    <br />
    <label class="cf_botLabel">Inserisci la tua e mail</label>
  </div>
</div>

<div class="cf_item">
  <h3 class="cf_title" style="width: 150px;">Data dell'uscita</h3>
  <div class="cf_fields">
    <input name="data_uscita" type="text" value="" title="Questo campo deve essere compilato." class="cf_inputtext cf_datetime required" size="20" id="data_uscita" />
    <br />
    <label class="cf_botLabel">Seleziona la data dell'uscita.</label>
  </div>
</div>

<div class="cf_item">
  <h3 class="cf_title" style="width: 150px;">Grotta</h3>
  <div class="cf_fields">
    <input name="grotta" type="text" value="" title="Questo campo deve essere compilato." class="cf_inputtext cf_inputbox required" maxlength="150" size="30" id="text_0" />
    <br />
    <label class="cf_botLabel">Inserire il nome della grotta o palestra.</label>
  </div>
</div>

<div class="cf_item">
  <h3 class="cf_title" style="width: 150px;">Area carsica</h3>
  <div class="cf_fields">
    <select class="cf_select cf_inputbox validate-selection" id="select_2" title="Questo campo deve essere compilato." size="1"  name="area_carsica">
      <option value="">Seleziona l'area carsica</option>
      
        <option value="Massiccio del Grappa">Massiccio del Grappa</option>
      

        <option value="Altopiano di Asiago">Altopiano di Asiago</option>
      

        <option value="Canàl di Brenta">Canàl di Brenta</option>
      

        <option value="Monti Lessini">Monti Lessini</option>
      

        <option value="Dolomiti">Dolomiti</option>
      

        <option value="Altopiano di Tonezza">Altopiano di Tonezza</option>
      

        <option value="Colli Berici">Colli Berici</option>
      

        <option value="Colli Asolani">Colli Asolani</option>
      

        <option value="Altopiano del Cansiglio">Altopiano del Cansiglio</option>
      

        <option value="Montello">Montello</option>
      

        <option value="Altre in regione">Altre in regione</option>
      

        <option value="Altre fuori regione">Altre fuori regione</option>
      

        <option value="Estero">Estero</option>
      

    </select>
    <br />
    <label class="cf_botLabel">Seleziona l'area carsica.</label>
  </div>
</div>

<div class="cf_item">
  <h3 class="cf_title" style="width: 150px;">Località</h3>
  <div class="cf_fields">
    <input name="localita" type="text" value="" title="Questo campo deve essere compilato." class="cf_inputtext cf_inputbox required" maxlength="150" size="30" id="text_13" />
    <br />
    <label class="cf_botLabel">Inserisci la località dove si apre la grotta</label>
  </div>
</div>

<div class="cf_item">
  <h3 class="cf_title" style="width: 150px;">Provincia</h3>
  <div class="cf_fields">
    <select class="cf_select cf_inputbox validate-selection" id="select_15" title="Questo campo deve essere compilato." size="1"  name="provincia">
      <option value="">Seleziona la provincia</option>
      
        <option value="Agrigento">Agrigento</option>
      

        <option value="Alessandria">Alessandria</option>
      

        <option value="Ancona">Ancona</option>
      

        <option value="Aosta">Aosta</option>
      

        <option value="l'Aquila">l'Aquila</option>
      

        <option value="Arezzo">Arezzo</option>
      

        <option value="Ascoli Piceno">Ascoli Piceno</option>
      

        <option value="Asti">Asti</option>
      

        <option value="Avellino">Avellino</option>
      

        <option value="Bari">Bari</option>
      

        <option value="Barletta Andria Trani">Barletta Andria Trani</option>
      

        <option value="Belluno">Belluno</option>
      

        <option value="Benevento">Benevento</option>
      

        <option value="Bergamo">Bergamo</option>
      

        <option value="Biella">Biella</option>
      

        <option value="Bologna">Bologna</option>
      

        <option value="Bolzano">Bolzano</option>
      

        <option value="Brescia">Brescia</option>
      

        <option value="Brindisi">Brindisi</option>
      

        <option value="Cagliari">Cagliari</option>
      

        <option value="Caltanissetta">Caltanissetta</option>
      

        <option value="Campobasso">Campobasso</option>
      

        <option value="Carbonia Iglesias">Carbonia Iglesias</option>
      

        <option value="Caserta">Caserta</option>
      

        <option value="Catania">Catania</option>
      

        <option value="Catanzaro">Catanzaro</option>
      

        <option value="Chieti">Chieti</option>
      

        <option value="Como">Como</option>
      

        <option value="Cosenza">Cosenza</option>
      

        <option value="Cremona">Cremona</option>
      

        <option value="Crotone">Crotone</option>
      

        <option value="Cuneo">Cuneo</option>
      

        <option value="Enna">Enna</option>
      

        <option value="Fermo">Fermo</option>
      

        <option value="Ferrara">Ferrara</option>
      

        <option value="Firenze">Firenze</option>
      

        <option value="Foggia">Foggia</option>
      

        <option value="Forlì Cesena">Forlì Cesena</option>
      

        <option value="Frosinone">Frosinone</option>
      

        <option value="Genova">Genova</option>
      

        <option value="Gorizia">Gorizia</option>
      

        <option value="Grosseto">Grosseto</option>
      

        <option value="Imperia">Imperia</option>
      

        <option value="Isernia">Isernia</option>
      

        <option value="Latina">Latina</option>
      

        <option value="Lecce">Lecce</option>
      

        <option value="Lecco">Lecco</option>
      

        <option value="Livorno">Livorno</option>
      

        <option value="Lodi">Lodi</option>
      

        <option value="Lucca">Lucca</option>
      

        <option value="Macerata">Macerata</option>
      

        <option value="Mantova">Mantova</option>
      

        <option value="Massa Carrara">Massa Carrara</option>
      

        <option value="Matera">Matera</option>
      

        <option value="Medio Campidano">Medio Campidano</option>
      

        <option value="Messina">Messina</option>
      

        <option value="Milano">Milano</option>
      

        <option value="Modena">Modena</option>
      

        <option value="Monza e Brianza">Monza e Brianza</option>
      

        <option value="Napoli">Napoli</option>
      

        <option value="Novara">Novara</option>
      

        <option value="Nuoro">Nuoro</option>
      

        <option value="Olbia Tempio">Olbia Tempio</option>
      

        <option value="Oristano">Oristano</option>
      

        <option value="Padova">Padova</option>
      

        <option value="Palermo">Palermo</option>
      

        <option value="Parma">Parma</option>
      

        <option value="Pavia">Pavia</option>
      

        <option value="Perugia">Perugia</option>
      

        <option value="Pesaro e Urbino">Pesaro e Urbino</option>
      

        <option value="Pescara">Pescara</option>
      

        <option value="Piacenza">Piacenza</option>
      

        <option value="Pisa">Pisa</option>
      

        <option value="Pistoia">Pistoia</option>
      

        <option value="Pordenone">Pordenone</option>
      

        <option value="Potenza">Potenza</option>
      

        <option value="Prato">Prato</option>
      

        <option value="Ragusa">Ragusa</option>
      

        <option value="Ravenna">Ravenna</option>
      

        <option value="Reggio Calabria">Reggio Calabria</option>
      

        <option value="Reggio Emilia">Reggio Emilia</option>
      

        <option value="Repubblica di San Marino">Repubblica di San Marino</option>
      

        <option value="Rieti">Rieti</option>
      

        <option value="Rimini">Rimini</option>
      

        <option value="Roma">Roma</option>
      

        <option value="Rovigo">Rovigo</option>
      

        <option value="Salerno">Salerno</option>
      

        <option value="Sassari">Sassari</option>
      

        <option value="Savona">Savona</option>
      

        <option value="Siena">Siena</option>
      

        <option value="Siracusa">Siracusa</option>
      

        <option value="Sondrio">Sondrio</option>
      

        <option value="La Spezia">La Spezia</option>
      

        <option value="Taranto">Taranto</option>
      

        <option value="Teramo">Teramo</option>
      

        <option value="Terni">Terni</option>
      

        <option value="Torino">Torino</option>
      

        <option value="Trapani">Trapani</option>
      

        <option value="Trento">Trento</option>
      

        <option value="Treviso">Treviso</option>
      

        <option value="Trieste">Trieste</option>
      

        <option value="Udine">Udine</option>
      

        <option value="Varese">Varese</option>
      

        <option value="Venezia">Venezia</option>
      

        <option value="Verbania Cusio Ossola">Verbania Cusio Ossola</option>
      

        <option value="Vercelli">Vercelli</option>
      

        <option value="Verona">Verona</option>
      

        <option value="Vibo Valentia">Vibo Valentia</option>
      

        <option value="Vicenza">Vicenza</option>
      

        <option value="Viterbo">Viterbo</option>
      

    </select>
    <br />
    <label class="cf_botLabel">Inserisci la provincia</label>
  </div>
</div>

<div class="cf_item">
  <h3 class="cf_title" style="width: 150px;">Regione</h3>
  <div class="cf_fields">
    <select class="cf_select cf_inputbox validate-selection" id="select_16" title="Questo campo deve essere compilato." size="1"  name="regione">
      <option value="">Seleziona la regione</option>
      
        <option value="Abruzzo">Abruzzo</option>
      

        <option value="Basilicata">Basilicata</option>
      

        <option value="Calabria">Calabria</option>
      

        <option value="Campania">Campania</option>
      

        <option value="Emilia Romagna">Emilia Romagna</option>
      

        <option value="Friuli Venezia Giulia">Friuli Venezia Giulia</option>
      

        <option value="Lazio">Lazio</option>
      

        <option value="Liguria">Liguria</option>
      

        <option value="Lombardia">Lombardia</option>
      

        <option value="Marche">Marche</option>
      

        <option value="Molise">Molise</option>
      

        <option value="Piemonte">Piemonte</option>
      

        <option value="Puglia">Puglia</option>
      

        <option value="Sardegna">Sardegna</option>
      

        <option value="Sicilia">Sicilia</option>
      

        <option value="Toscana">Toscana</option>
      

        <option value="Trentino Alto Adige">Trentino Alto Adige</option>
      

        <option value="Umbria">Umbria</option>
      

        <option value="Valle d'Aosta">Valle d'Aosta</option>
      

        <option value="Veneto">Veneto</option>
      

    </select>
    <br />
    <label class="cf_botLabel">Inserisci la regione</label>
  </div>
</div>

<div class="cf_item">
  <h3 class="cf_title" style="width: 150px;">Tipo di attività</h3>
  <div class="cf_fields">
    <select class="cf_select cf_inputbox validate-selection" id="select_3" title="Questo campo deve essere compilato." size="1"  name="tipo_attivita">
      <option value="">Seleziona il tipo di attività</option>
      
        <option value="Attività esplorativa">Attività esplorativa</option>
      

        <option value="Palestra">Palestra</option>
      

        <option value="Battuta di ricerca">Battuta di ricerca</option>
      

        <option value="Attività CNSAS">Attività CNSAS</option>
      

        <option value="Didattica in grotta">Didattica in grotta</option>
      

        <option value="Uscita in grotta con corsi sezionali">Uscita in grotta con corsi sezionali</option>
      

        <option value="Uscita in grotta con corsi nazionali">Uscita in grotta con corsi nazionali</option>
      

        <option value="Campo di ricerca ed esplorazione">Campo di ricerca ed esplorazione</option>
      

        <option value="Visita">Visita</option>
      

        <option value="Lavori di prevenzione">Lavori di prevenzione</option>
      

        <option value="Attività scientifica">Attività scientifica</option>
      

        <option value="Attività paleontologica">Attività paleontologica</option>
      

        <option value="Altro">Altro</option>
      

    </select>
    <br />
    <label class="cf_botLabel">Seleziona il tipo di attività</label>
  </div>
</div>

<div class="cf_item">
  <h3 class="cf_title" style="width: 150px;">Capospedizione</h3>
  <div class="cf_fields">
    <select class="cf_select cf_inputbox validate-selection" id="select_16" title="Questo campo deve essere compilato." size="1"  name="capospedizione">
      <option value="">Seleziona il Capospedizione</option>
      
        <option value="Alessandro Dissegna">Alessandro Dissegna</option>
      

        <option value="Davide Strapazzon">Davide Strapazzon</option>
      

        <option value="Elena Minuzzo">Elena Minuzzo</option>
      

        <option value="Franco Gramola">Franco Gramola</option>
      

        <option value="Giacomo Strapazzon">Giacomo Strapazzon</option>
      

        <option value="Lavinia Giustiniano">Lavinia Giustiniano</option>
      

        <option value="Lorenzo Lessio">Lorenzo Lessio</option>
      

        <option value="Loretta Stefanelli">Loretta Stefanelli</option>
      

        <option value="Luca Sbrissa">Luca Sbrissa</option>
      

        <option value="Mara Contessotto">Mara Contessotto</option>
      

        <option value="Massimo Magnabosco">Massimo Magnabosco</option>
      

        <option value="Maurizio Mottin">Maurizio Mottin</option>
      

        <option value="Michele Andriollo">Michele Andriollo</option>
      

        <option value="Michele Tommasi">Michele Tommasi</option>
      

        <option value="Mirko Fossa">Mirko Fossa</option>
      

        <option value="Remo Lunardon">Remo Lunardon</option>
      

        <option value="Riccardo Panzeri">Riccardo Panzeri</option>
      

        <option value="Valentina Tiberi">Valentina Tiberi</option>
      

    </select>
    <br />
    <label class="cf_botLabel">Seleziona dalla lista il Capospedizione</label>
  </div>
</div>

<div class="cf_item">
  <h3 class="cf_title" style="width: 150px;">Partecipanti</h3>
  <div class="cf_fields">
    <textarea name="partecipanti" cols="30" title="Questo campo deve essere compilato." rows="3" id="text_16" class="cf_textarea cf_inputbox required"></textarea>
    <br />
    <label class="cf_botLabel">Inserisci il nome e cognome di tutti i partecipanti</label>
  </div>
</div>

<div class="cf_item">
  <h3 class="cf_title" style="width: 150px;">Numero di Soci Geo</h3>
  <div class="cf_fields">
    <input name="numero_soci" type="text" value="" title="Questo campo deve essere compilato." class="cf_inputtext cf_inputbox required validate-number" maxlength="150" size="30" id="text_8" />
    <br />
    <label class="cf_botLabel">Inserire il numero dei Soci Geo CAI</label>
  </div>
</div>

<div class="cf_item">
  <h3 class="cf_title" style="width: 150px;">Numero non Soci Geo</h3>
  <div class="cf_fields">
    <input name="numero_no_soci" type="text" value="" title="Questo campo deve essere compilato." class="cf_inputtext cf_inputbox required validate-number" maxlength="150" size="30" id="text_9" />
    <br />
    <label class="cf_botLabel">Inserire il numero dei non Soci Geo</label>
  </div>
</div>

<div class="cf_item">
  <h3 class="cf_title" style="width: 150px;">Relazione dell'uscita</h3>
  <div class="cf_fields">
    <textarea name="relazione" cols="30" title="Questo campo deve essere compilato." rows="3" id="text_10" class="cf_textarea cf_inputbox required"></textarea>
    <br />
    <label class="cf_botLabel">Inserire la relazione dell'uscita</label>
  </div>
</div>

<div class="cf_item">
  <input value="Invia i dati" name="button_11" type="submit" /><input type="reset" name="reset" value="Reset"/>
</div>

Thank for reply.
Regards
Mirko

9 0
Fri Sep 4, 2009, 10:18 am
Mon Jan 11, 2010, 3:52 pm

Hi Mirko,

That looks OK.

But line 180 of chronocontact.html.php is the line that evaluates the Form HTML and it's reporting an error on line 45 of the evaluated code :-(

Bob


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

Moderator
36981 39201
Tue May 29, 2007, 6:15 pm
Mon Jan 11, 2010, 8:09 pm

Hi Grey Head
I dont undestand why only in this CC data the {edit_record} not work. In all hoter CC data working wery well.
For the moment I edit data whit PHPMyAdmin and I hope the next release of CC solving this problem.
Thank so much for your help.
Regards.
Mirko

9 0
Fri Sep 4, 2009, 10:18 am
Showing 1 to 6 of 6 entries.

Powered by ChronoForums - ChronoEngine.com

ChronoForms Book

The ChronoForms Book, written for ChronoForms v3 contains 350 pages of invaluable ChronoForms How-tos hints and tips.

Note: many of the ideas can be used in ChronoForms v4 but the admin interface is very different and code examples may need to be modified.

SSL

Members Login

 

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for
goods and services provided by ChronoEngine.com