1. Forum
    1. Topics overview
  2. Help
  3. Forum rules
  4. Members
    1. Team
    2. Search Members
  5. Website
  6. Archive
  • Login
  • Register
  • Search

News

This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • More Options

News

Latest Posts
  1. JoomGallery 3.x JUX - for Joomla! 3
  2. All posts about JoomGallery 3.x JUX
  3. Installation / Update / Migration - JG 3.x

Error Installing Component

  • saralo
  • February 6, 2022 at 6:41 PM
  • Thread is Resolved
1st Official Post
  • saralo
    New member
    • February 6, 2022 at 6:41 PM
    • #1

    Hello, I am installed the version 3.5.1 and it gives me the following error:

    JInstaller: :Instalar: Error SQL Column count doesn't match value count at row 1

    Extensión Instalar: SQL error procesando la consulta: Función de la base de datos fallida con el número de error 1136

    Column count doesn't match value count at row 1

    SQL = INSERT INTO `#__joomgallery_catg` VALUES ('1', '0', 'ROOT', 'root', '0', '0', '0', '0', NULL, '1', '1', '0', '0', '', '0', NULL, '0', '', '', '', '', 0, 0, -1, -1, -1, -1, -1);

    My joomla version is: 3.10.5

    and version php: 8.0.11

    thanks for your help

    • Quote
  • Elfangor93 February 6, 2022 at 7:36 PM

    Approved the thread.
  • MrMusic
    Moderator
    Reactions Received
    106
    • February 7, 2022 at 10:42 AM
    • Official Post
    • #2

    Hi,

    I can't reproduce the problem :/

    Which 'database version' are you using?

    You can find it under System -> System Information

    Are there possibly leftovers from a previous installation in the database?

    Check with phpMyAdmin if there is still a table #__joomgallery_catg in your database. You have to replace the '#_' with your Database Tables Prefix.

    Regards

    MrMusic

    JoomGalleryfriends.net - the new website for JoomGallery

    Demo-Shop for JoomGallery images

    • Next Official Post
    • Quote
  • saralo
    New member
    • February 7, 2022 at 4:36 PM
    • #3

    Hi Mrm, thank you very much for your help.

    I was able to fix it with your instructions.

    I have deleted all the joomgallery tables, and after the installation has gone perfect

    Thanks, again:thumbup:

    • Quote
  • Jennycasino
    New member
    • May 30, 2022 at 6:59 AM
    • #4

    Thanks!

    • Quote
  • Dfaucette
    New member
    • February 14, 2023 at 4:45 AM
    • #5

    I am getting this same error when trying to update JoomGallery from 3.3.x to 3.6.1. We need to update to work with Joomla 3.10.11. We would like to keep existing data in Joomla if possible. Wouldn't dropping a table cause us to loose data?

    What is the suggested resolution to update an existing site, when encountering the SQL error :
    JInstaller: :Install: Error SQL Column count doesn't match value count at row 1
    Extension Install: SQL error processing query: DB function failed with error number 1136

    Column count doesn't match value count at row 1

    SQL
    INSERT INTO `#__joomgallery_catg` VALUES ('1', '0', 'ROOT', 'root', '0', '0', '0', '0', NULL, '1', '1', '0', '0', '', '0', NULL, '0', '', '', '', '', 0, 0, -1, -1, -1, -1, -1);
    • Quote
  • Elfangor93
    Moderator
    Reactions Received
    183
    • February 14, 2023 at 6:48 AM
    • Official Post
    • #6

    Try to update stepwise:

    3.3.x -> 3.4.0 -> 3.5.0 -> 3.6.0 -> 3.6.1

    Maybe this way the DB tables are adjusted correctly to the new version...

    Releases · JoomGalleryfriends/JoomGallery
    A native image gallery component for Joomla! Contribute to JoomGalleryfriends/JoomGallery development by creating an account on GitHub.
    github.com

    We are looking for volunteers for the JoomGallery 4 development!
    Contact me (Elfangor93) if you are interested.
    (Available jobs: PHP development, GitHub testing, Translating the component, Writing documentation)

    • Previous Official Post
    • Next Official Post
    • Quote
  • MrMusic
    Moderator
    Reactions Received
    106
    • February 14, 2023 at 8:45 AM
    • Official Post
    • #7

    Hi,

    Quote from Dfaucette

    INSERT INTO `#__joomgallery_catg` VALUES ('1', '0', 'ROOT', 'root', '0', '0', '0', '0', NULL, '1', '1', '0', '0', '', '0', NULL, '0', '', '', '', '', 0, 0, -1, -1, -1, -1, -1);

    This command is only executed during a 'new installation', not during an 'update'. You have probably already deleted some things... :(

    You should now restore a backup of a functioning installation and then try to carry out the updates properly.

    Quote from Dfaucette

    ...Wouldn't dropping a table cause us to loose data?

    Exactly, you lose all data when you uninstall JoomGallery.

    Regards

    MrMusic

    JoomGalleryfriends.net - the new website for JoomGallery

    Demo-Shop for JoomGallery images

    • Previous Official Post
    • Quote

Latest Posts

  • JoomGallery 3.7.1 Wartungsrelease veröffentlicht

    Tazzios May 13, 2025 at 8:38 PM
  • JoomGallery 4.0.1 and JoomTreeview module

    David May 13, 2025 at 7:29 PM
  • Vorbereitung Migration von Version 3.7.x - Waisen die keine Waisen sind

    eumel1602 May 7, 2025 at 4:27 PM
  • Bildverarbeitung (dynamische Bilder) funktioniert nicht mit .png-Dateien

    Andreas04 May 7, 2025 at 9:12 AM
  • Unverbindliche Roadmap

    Elfangor93 May 7, 2025 at 8:48 AM
  • Ich möchte die (sehr wenigen) Kategorie-Pfade MANUELL anpassen!

    EVGV May 5, 2025 at 7:09 PM
  • Nächstes Online Treffen der JoomGallery Friends - 06.05.2025

    eumel1602 May 4, 2025 at 12:16 PM
  • Can you delete "Details" folders

    Elfangor93 May 3, 2025 at 8:35 AM
  • Image Hits not displaying

    MrMusic May 2, 2025 at 3:01 PM
  • Probleme/Fehlermeldung nach Migration in Verbindung mit JoomPlu Pro Plugin

    eumel1602 April 28, 2025 at 7:14 PM
  1. Privacy Policy
  2. Legal Notice
Powered by WoltLab Suite™