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
    130
    • 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

    • 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
    203
    • 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
    130
    • 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

    • Previous Official Post
    • Quote

Latest Posts

  • [Info] Meldung von JoomPlu Plugin PRO

    reni February 15, 2026 at 12:32 PM
  • Frontend Upload Category Permission

    kingscastle February 13, 2026 at 3:01 PM
  • Anpassung für Anzeige der Anzahl von Bildern im Frontend

    MrMusic February 12, 2026 at 3:14 PM
  • Funktionen der Version Gallery v4.3 zur v3.7x

    woopin February 11, 2026 at 8:33 AM
  • JG3 → JG4 Migration: EXIF/IPTC Meta-Descriptions von Bestandsbildern werden nicht übernommen

    eumel1602 February 2, 2026 at 9:51 PM
  • JoomGallery Migration JG3 → JG4 – Bilder schlagen fehl

    Elfangor93 January 30, 2026 at 3:11 PM
  • Server Error bei Bilder Upload in Testumgebung (localhost)

    MrMusic January 28, 2026 at 2:43 PM
  • JoomGallery 4.3 (RC1) Test Version is here!

    Elfangor93 January 21, 2026 at 8:08 AM
  • Catagories Migration Fail

    Elfangor93 January 18, 2026 at 9:21 AM
  • Fehler beim Testen des PRs 329

    eumel1602 January 12, 2026 at 5:06 PM
  1. Privacy Policy
  2. Legal Notice
Powered by WoltLab Suite™