Autore Topic: Problema con joom gallery [RISOLTO]  (Letto 274 volte)

Offline arteebotanica

  • Appassionato
  • ***
  • Post: 228
  • Sesso: Maschio
  • un grazie a tutti per l'impegno
    • Mostra profilo
    • sito dedicato alle succulente africane
Problema con joom gallery [RISOLTO]
« il: 20 Nov 2018, 22:56:27 »
era un po di tempo che non andavo a pubblicare o modificare immagini, mi ero accorto di alcuni errori nei titoli cosi sono andato a modificare, ma non mi salva le modifiche e mi esce questo errore:
Citazione
Errore


exception 'RuntimeException' with message 'Campo non valido: cid' in /web/htdocs/www.arteebotanica.org/home/libraries/src/Form/Form.php:2076 Stack trace: #0 /web/htdocs/www.arteebotanica.org/home/libraries/src/Form/Form.php(1226): Joomla\CMS\Form\Form->validateField(Object(SimpleXMLElement), '', '2837', Object(Joomla\Registry\Registry)) #1 /web/htdocs/www.arteebotanica.org/home/administrator/components/com_joomgallery/models/image.php(1010): Joomla\CMS\Form\Form->validate(Array) #2 /web/htdocs/www.arteebotanica.org/home/administrator/components/com_joomgallery/models/image.php(247): JoomGalleryModelImage->_validate(Object(Joomla\CMS\Form\Form), Array) #3 /web/htdocs/www.arteebotanica.org/home/administrator/components/com_joomgallery/controllers/images.php(462): JoomGalleryModelImage->store() #4 /web/htdocs/www.arteebotanica.org/home/libraries/src/MVC/Controller/BaseController.php(710): JoomGalleryControllerImages->save() #5 /web/htdocs/www.arteebotanica.org/home/administrator/components/com_joomgallery/joomgallery.php(68): Joomla\CMS\MVC\Controller\BaseController->execute('save') #6 /web/htdocs/www.arteebotanica.org/home/libraries/src/Component/ComponentHelper.php(382): require_once('/web/htdocs/www...') #7 /web/htdocs/www.arteebotanica.org/home/libraries/src/Component/ComponentHelper.php(357): Joomla\CMS\Component\ComponentHelper::executeComponent('/web/htdocs/www...') #8 /web/htdocs/www.arteebotanica.org/home/libraries/src/Application/AdministratorApplication.php(101): Joomla\CMS\Component\ComponentHelper::renderComponent('com_joomgallery') #9 /web/htdocs/www.arteebotanica.org/home/libraries/src/Application/AdministratorApplication.php(159): Joomla\CMS\Application\AdministratorApplication->dispatch() #10 /web/htdocs/www.arteebotanica.org/home/libraries/src/Application/CMSApplication.php(204): Joomla\CMS\Application\AdministratorApplication->doExecute() #11 /web/htdocs/www.arteebotanica.org/home/administrator/index.php(51): Joomla\CMS\Application\CMSApplication->execute() #12 {main}


sto usando joomla 3.8.6 e joomgalleri 3.3.4
« Ultima modifica: 21 Nov 2018, 13:53:17 da arteebotanica »
ciao
Lorenzo stocco
www.arteebotanica.org

Offline arteebotanica

  • Appassionato
  • ***
  • Post: 228
  • Sesso: Maschio
  • un grazie a tutti per l'impegno
    • Mostra profilo
    • sito dedicato alle succulente africane
Re:Problema con joom gallery [RISOLTO]
« Risposta #1 il: 21 Nov 2018, 13:56:17 »
Ho trovato nel forum di joomgallery altri che avevano questo problema ed è stata rilasciata una correzione al file:/administrator/components/com_joomgallery/models/forms/image.xml
questo il codice da sostituire completamente all'esistente:
Codice: [Seleziona]
<?xml version="1.0" encoding="utf-8"?><form>  <fieldset>    <field      name="id"      type="text"      class="readonly"      label="COM_JOOMGALLERY_IMGMAN_IMAGE_ID"      size="20"      readonly="true"      disabled="true"    />    <field      name="cid"      type="text"      class="readonly"      label="COM_JOOMGALLERY_IMGMAN_IMAGE_ID"      size="20"      readonly="true"    />    <field      name="asset_id"      type="hidden"      filter="unset"    />    <field      name="imgtitle"      type="text"      class="inputbox"      id="jform_title"      label="COM_JOOMGALLERY_COMMON_TITLE"      maxLength="255"      required="true"      message="COM_JOOMGALLERY_COMMON_ALERT_IMAGE_MUST _HAVE_TITLE"    />    <field      id="alias"      name="alias"      type="text"      class="inputbox"      label="COM_JOOMGALLERY_COMMON_ALIAS"      description="COM_JOOMGALLERY_IMGMAN_ALIAS_TIP"      maxLength="255"    />    <field       name="catid"      id="catid"      type="joomcategory"      label="COM_JOOMGALLERY_COMMON_CATEGORY"      validate="joompositivenumeric"      message="COM_JOOMGALLERY_COMMON_ALERT_YOU_MUST_S ELECT_CATEGORY"      required="true"      action="joom.upload"    />      <field      id="published"      name="published"      type="radio"      class="btn-group"      label="COM_JOOMGALLERY_COMMON_PUBLISHED"      size="1"    >      <option value="0">        JNO</option>      <option value="1">        JYES</option>    </field>    <field      name="access"      class="inputbox"      type="accesslevel"      label="COM_JOOMGALLERY_COMMON_ACCESS"      description="COM_JOOMGALLERY_IMGMAN_ACCESS_TIP"      size="1"    />    <field      name="imgtext"      type="editor"      class="inputbox"      label="COM_JOOMGALLERY_COMMON_DESCRIPTION"      filter="JComponentHelper::filterText"      buttons="true"      hide="readmore,pagebreak"    />    <field       id="detail_catid"      name="detail_catid"      type="joomcategory"      label="COM_JOOMGALLERY_IMGMAN_IMAGE_CATEGORY"      message="COM_JOOMGALLERY_COMMON_ALERT_YOU_MUST_S ELECT_CATEGORY"      size="1"      onchange="javascript:document.adminForm.submit()"    />    <field      id="imgfilename"      name="imgfilename"      class="inputbox"      type="imagelist"      label="COM_JOOMGALLERY_COMMON_IMAGE"      message="COM_JOOMGALLERY_IMGMAN_ALERT_SELECT_IMA GE_FILENAME"      hide_default="true"      hide_none="true"      size="1"      onchange="javascript:document.adminForm.submit()"    >      <option value="">        COM_JOOMGALLERY_COMMON_PLEASE_SELECT_IM AGE</option>         </field>    <field      id="original_exists"      name="original_exists"      type="text"      class="readonly"      label="COM_JOOMGALLERY_IMGMAN_DOES_ORIGINAL_EX IST"      description="COM_JOOMGALLERY_IMGMAN_ASSIGN_ORIGINAL_ LONG"      readonly="true"      disabled="true"      size="40"          />    <field      id="copy_original"      name="copy_original"      type="radio"      class="btn-group"      label="COM_JOOMGALLERY_IMGMAN_ASSIGN_ORIGINAL"      default="0"    >      <option value="0">        JNO</option>      <option value="1">        JYES</option>    </field>    <field       id="thumb_catid"      name="thumb_catid"      type="joomcategory"      label="COM_JOOMGALLERY_IMGMAN_THUMBNAIL_CATEGO RY"      message="COM_JOOMGALLERY_COMMON_ALERT_YOU_MUST_S ELECT_CATEGORY"      size="1"      onchange="javascript:document.adminForm.submit()"    />    <field      id="imgthumbname"      name="imgthumbname"      class="inputbox"      type="imagelist"      label="COM_JOOMGALLERY_COMMON_THUMBNAIL"      message="COM_JOOMGALLERY_IMGMAN_ALERT_SELECT_THU MBNAIL_FILENAME"      hide_default="true"      hide_none="true"      size="1"      onchange="javascript:document.adminForm.submit()"    >      <option value="">        COM_JOOMGALLERY_IMGMAN_PLEASE_SELECT_TH UMBNAIL</option>         </field>    <field      name="imagelib"      class="img-polaroid"      type="thumbnailpreview"      label="COM_JOOMGALLERY_COMMON_THUMBNAIL_PREVIE W"    />    <field      name="imagelib2"      type="imagepreview"      class="img-polaroid"            label="COM_JOOMGALLERY_IMGMAN_IMAGE_PREVIEW"    />    <field      id="jform_rules"      name="rules"      type="rules"      label="JFIELD_RULES_LABEL"      translate_label="false"      filter="rules"      validate="rules"      class="inputbox"      component="com_joomgallery"      section="image"    >    </field>    <field      name="publishhiddenstate"      type="text"      class="readonly"      label="COM_JOOMGALLERY_COMMON_STATE"      readonly="true"      disabled="true"        />    <field      name="hits"      type="text"      class="readonly"      label="COM_JOOMGALLERY_IMGMAN_HITS"      readonly="true"      disabled="true"        />    <field      name="downloads"      type="text"      class="readonly"      label="COM_JOOMGALLERY_COMMON_DOWNLOADS"      readonly="true"      disabled="true"    />    <field      name="rating"      type="text"      class="readonly"      label="COM_JOOMGALLERY_IMGMAN_IMAGE_RATING"      readonly="true"      disabled="true"        />    <field      name="date"      type="text"      class="readonly"      label="COM_JOOMGALLERY_COMMON_DATE"      readonly="true"      disabled="true"      size="40"    />    <field      name="owner"      type="joomuser"      label="COM_JOOMGALLERY_COMMON_OWNER"      description="COM_JOOMGALLERY_COMMON_OWNER_DESC"    />    <field      name="imgauthor"      type="text"      label="COM_JOOMGALLERY_COMMON_AUTHOR"      description="COM_JOOMGALLERY_IMGMAN_AUTHOR_TIP"      size="30"      default=""    />    <field      name="hidden"      type="radio"      default="0"      class="btn-group"      label="COM_JOOMGALLERY_IMGMAN_HIDDEN"      description="COM_JOOMGALLERY_IMGMAN_HIDDEN_TIP"    >      <option value="0">        JNO</option>      <option value="1">        JYES</option>    </field>    <field      name="featured"      type="radio"      default="0"      class="btn-group"      label="COM_JOOMGALLERY_COMMON_FEATURED"      description="COM_JOOMGALLERY_IMGMAN_FEATURED_TIP"    >      <option value="0">        JNO</option>      <option value="1">        JYES</option>    </field>    <field       name="metadesc"      type="textarea"      rows="5"      cols="40"      default=""      label="COM_JOOMGALLERY_COMMON_METADESC"      description="COM_JOOMGALLERY_COMMON_METADESC_TIP"    />    <field      name="metakey"      type="textarea"      rows="5"      cols="40"      default=""      label="COM_JOOMGALLERY_COMMON_METAKEYS"      description="COM_JOOMGALLERY_COMMON_METAKEYS_TIP"    />  </fieldset>  <fields name="files">    <fieldset>      <field         name="spacer"        type="spacer"        label="COM_JOOMGALLERY_IMGMAN_REPLACE_FILES_DE SCRIPTION"      />      <field        name="thumb"        type="file"        default=""        label="COM_JOOMGALLERY_IMGMAN_REPLACE_THUMB"        description="COM_JOOMGALLERY_IMGMAN_REPLACE_THUMB_TI P"        size="20"      />      <field        name="img"        type="file"        default=""        label="COM_JOOMGALLERY_IMGMAN_REPLACE_IMG"        description="COM_JOOMGALLERY_IMGMAN_REPLACE_IMG_TIP"        size="20"      />      <field        name="orig"        type="file"        default=""        label="COM_JOOMGALLERY_IMGMAN_REPLACE_ORIG"        description="COM_JOOMGALLERY_IMGMAN_REPLACE_ORIG_TIP"        size="20"      />    </fieldset>  </fields></form>
« Ultima modifica: 21 Nov 2018, 13:58:18 da arteebotanica »
ciao
Lorenzo stocco
www.arteebotanica.org

 

Torna su