1. Forum
    1. Themen Übersicht
  2. Hilfe
  3. Forenregeln
  4. Mitglieder
    1. Team
    2. Mitgliedersuche
  5. Webseite
  6. Archiv
  • Anmelden
  • Registrieren
  • Suche

Neuigkeiten

Dieses Thema
  • Alles
  • Dieses Thema
  • Dieses Forum
  • Artikel
  • Seiten
  • Forum
  • Erweiterte Suche

Neuigkeiten

Letzte Beiträge
  1. JoomGallery 3.x JUX für Joomla! 3
  2. Alle Beiträge zur JoomGallery 3.x JUX
  3. Installation / Update / Migration - JG 3.x

Error Installing Component

  • saralo
  • 6. Februar 2022 18:41
  • Erledigt
1. offizieller Beitrag
  • saralo
    Neumitglied
    • 6. Februar 2022 18:41
    • #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

    • Zitieren
  • Elfangor93 6. Februar 2022 19:36

    Hat das Thema freigeschaltet.
  • MrMusic
    Moderator
    Reaktionen
    110
    • 7. Februar 2022 10:42
    • Offizieller Beitrag
    • #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 - die neue Webseite für die JoomGallery

    • Nächster offizieller Beitrag
    • Zitieren
  • saralo
    Neumitglied
    • 7. Februar 2022 16:36
    • #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:

    • Zitieren
  • Jennycasino
    Neumitglied
    • 30. Mai 2022 06:59
    • #4

    Thanks!

    • Zitieren
  • Dfaucette
    Neumitglied
    • 14. Februar 2023 04:45
    • #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);
    • Zitieren
  • Elfangor93
    Moderator
    Reaktionen
    191
    • 14. Februar 2023 06:48
    • Offizieller Beitrag
    • #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

    Wir sind auf der Suche nach Helfern für die JoomGallery 4 Entwicklung!
    Melde dich bei Interesse bei mir (Elfangor93).
    (Verfügbare Jobs: PHP-Entwicklung, Testen, Übersetzen, Dokumentation)

    • Vorheriger offizieller Beitrag
    • Nächster offizieller Beitrag
    • Zitieren
  • MrMusic
    Moderator
    Reaktionen
    110
    • 14. Februar 2023 08:45
    • Offizieller Beitrag
    • #7

    Hi,

    Zitat von 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.

    Zitat von Dfaucette

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

    Exactly, you lose all data when you uninstall JoomGallery.

    Regards

    MrMusic

    JoomGalleryfriends.net - die neue Webseite für die JoomGallery

    • Vorheriger offizieller Beitrag
    • Zitieren

Letzte Beiträge

  • Anpassung für Anzeige der Anzahl von Bildern im Frontend

    MrMusic 18. Juli 2025 13:36
  • Can you do different views / layouts for different catregories?

    MrMusic 16. Juli 2025 17:04
  • JoomGallery 4.1.1 and Joomla! 6.dev

    MrMusic 16. Juli 2025 16:59
  • Is there a way to hide the "Description:" text for Category view?

    MrMusic 13. Juli 2025 18:06
  • JoomGallery 4.1.0 - Fehler nach dem Update

    reni 9. Juli 2025 21:32
  • URLs nach Update auf JoomGallery4 und SH404SEF /4SEF

    Bjoern 9. Juli 2025 18:14
  • JoomGallery für Joomla 4

    soenke 9. Juli 2025 18:11
  • Can you change the parent category of a category?

    GJSchaller 8. Juli 2025 00:32
  • Looking to replicate JG3 Gallery / Category View under JG4

    GJSchaller 1. Juli 2025 20:01
  • What can you do with Tags?

    FriendlyUser 30. Juni 2025 22:40
  1. Datenschutzerklärung
  2. Impressum
Community-Software: WoltLab Suite™