Unerwarteter Fehler bei Bestellung: lieferantartikelpreise fehlt.

  • Unerwarteter Fehler bei Bestellung: lieferantartikelpreise fehlt.
    Auch nach Upgrade von Programm und Datenbank:


    Artikel wurde bei dem Lieferanten auch nicht direkt angezeigt, erst unter "Artikel manuell suchen / neu anlegen" wurde er dann gefunden (Preis wird korrekt angezeigt) beim hinzufügen der entsprechenden Menge kommt dann der Fehler. Es sind Mengengestaffelte Preise hinterlegt.



    Heute Mittag ist eine Preisanfrage über das Bestellungsmodul noch ohne Probleme raus gegangen.

    1 OpenXE: Es ist ein unerwarteter Fehler aufgetreten!

    2 Table 'xxsql2.lieferantartikelpreise' doesn't exist

    2.1 mysqli_sql_exception

    6→mysqli_query() /srv/customers/webs/K142767/openxe.xx.de/phpwf/plugins/class.mysql.php:239
    5DB→Select() /srv/customers/webs/xx/openxe.xx.de/www/pages/artikel.php:3197
    4Artikel→ArtikelProfisuche() /srv/customers/webs/xx/openxe.xx.de/phpwf/class.application.php:234
    3Application→ActionHandlerListen() /srv/customers/webs/xx/openxe.xx.de/www/pages/artikel.php:2032
    2Artikel→__construct() /srv/customers/webs/xx/openxe.xx.de/phpwf/class.player.php:178
    1Player→Run() /srv/customers/webs/XX/openxe.xx.de/www/index.php:62


    Ausgabe --------------- OpenXE upgrade ---------------


    --------------- 2026-09-29 16:14:33 ---------------


    Fetched additional remotes.


    --------------- Available upgrade branches ---------------


    -> 1.13

    OpenXE Version 1.13, requires PHP 8.3 or higher


    --------------- Checking git ---------------


    git log HEAD --


    git ls-files -m /srv/customers/webs/K142767/openxe.indure.sale


    --------------- Upgrade history ---------------


    git log --date=short-local --pretty="%cd (%h): %s" HEAD --not HEAD~5 --


    2026-09-26 (9a2da197ca): lager lager_wert some fixes


    2026-09-23 (d8ffcaf295): woocommerce categories api format


    2026-09-23 (2840f65a72): woocommerce replace categories instead of just adding, fixed categories of new product


    2026-09-23 (058c7d1b7b): shopexport added description freifelder


    2026-09-21 (f5d02a64b4): lieerantengutschrift added export belastungsanzeige


    --------------- Dry run, use -do to upgrade ---------------


    --------------- Fetching files... ---------------


    git fetch https://github.com/openxe-org/openxe.git 1.13


    --------------- Pending upgrades: ---------------


    git log --date=short-local --pretty="%cd (%h): %s" FETCH_HEAD --not HEAD


    No upgrades pending.


    --------------- Loading from database 'xxsql2@localhost'... ---------------


    --------------- Loading from JSON... ---------------


    Table count database 622 vs. JSON 602


    --------------- Comparing JSON 'openxe@localhost' vs. database 'xxsql2@localhost' ---------------


    type => [Column existence], table => [amazoninvoice_position], in DB => [created_at]


    type => [Key existence], table => [gutschrift], in DB => [rechnungid]


    type => [Key existence], table => [lieferschein], in DB => [rechnungid]


    type => [Table existence], in DB => [logfile]


    type => [Key existence], table => [mitarbeiterzeiterfassung_einstellungen], in DB => [erstellt]


    type => [Table existence], in DB => [pma__bookmark]


    type => [Table existence], in DB => [pma__central_columns]


    type => [Table existence], in DB => [pma__column_info]


    type => [Table existence], in DB => [pma__designer_settings]


    type => [Table existence], in DB => [pma__export_templates]


    type => [Table existence], in DB => [pma__favorite]


    type => [Table existence], in DB => [pma__history]


    type => [Table existence], in DB => [pma__navigationhiding]


    type => [Table existence], in DB => [pma__pdf_pages]


    type => [Table existence], in DB => [pma__recent]


    type => [Table existence], in DB => [pma__relation]


    type => [Table existence], in DB => [pma__savedsearches]


    type => [Table existence], in DB => [pma__table_coords]


    type => [Table existence], in DB => [pma__table_info]


    type => [Table existence], in DB => [pma__table_uiprefs]


    type => [Table existence], in DB => [pma__tracking]


    type => [Table existence], in DB => [pma__userconfig]


    type => [Table existence], in DB => [pma__usergroups]


    type => [Table existence], in DB => [pma__users]


    type => [Column existence], table => [seriennummern], in DB => [adresse]


    type => [Column existence], table => [seriennummern], in DB => [lieferung]


    type => [Column existence], table => [seriennummern], in DB => [lieferschein]


    type => [Column existence], table => [seriennummern], in DB => [lieferscheinpos]


    type => [Key existence], table => [systemhealth_notification_item], in DB => [systemhealth_id]


    type => [Key existence], table => [verbindlichkeit], in DB => [auftrag]


    30 differences.


    --------------- Comparing database 'xxsql2@localhost' vs. JSON 'openxe@localhost' ---------------


    type => [Column definition], table => [importvorlage], column => [format], property => [Type], in JSON => [int], in DB => [int(11)]


    type => [Column definition], table => [shopexport], column => [artikelexportbatchsize], property => [Type], in JSON => [int], in DB => [int(11)]


    2 differences.


    --------------- Calculating database upgrade for 'xxsql2@localhost'... ---------------


    SET SESSION innodb_strict_mode=OFF;


    SET SQL_MODE='ALLOW_INVALID_DATES';


    ALTER TABLE `importvorlage` MODIFY COLUMN `format` int NULL;


    ALTER TABLE `shopexport` MODIFY COLUMN `artikelexportbatchsize` int NOT NULL DEFAULT '10';


    4 upgrade statements


    --------------- Done! ---------------


    --------------- 2026-09-29 16:14:35 ---------------



    Ausgabe --------------- OpenXE upgrade --------------- Datenbank


    --------------- 2026-09-29 16:18:33 ---------------


    --------------- Loading from database 'xxsql2@localhost'... ---------------


    --------------- Loading from JSON... ---------------


    Table count database 622 vs. JSON 602


    --------------- Comparing JSON 'openxe@localhost' vs. database 'K142767sql2@localhost' ---------------


    type => [Column existence], table => [amazoninvoice_position], in DB => [created_at]


    type => [Key existence], table => [gutschrift], in DB => [rechnungid]


    type => [Key existence], table => [lieferschein], in DB => [rechnungid]


    type => [Table existence], in DB => [logfile]


    type => [Key existence], table => [mitarbeiterzeiterfassung_einstellungen], in DB => [erstellt]


    type => [Table existence], in DB => [pma__bookmark]


    type => [Table existence], in DB => [pma__central_columns]


    type => [Table existence], in DB => [pma__column_info]


    type => [Table existence], in DB => [pma__designer_settings]


    type => [Table existence], in DB => [pma__export_templates]


    type => [Table existence], in DB => [pma__favorite]


    type => [Table existence], in DB => [pma__history]


    type => [Table existence], in DB => [pma__navigationhiding]


    type => [Table existence], in DB => [pma__pdf_pages]


    type => [Table existence], in DB => [pma__recent]


    type => [Table existence], in DB => [pma__relation]


    type => [Table existence], in DB => [pma__savedsearches]


    type => [Table existence], in DB => [pma__table_coords]


    type => [Table existence], in DB => [pma__table_info]


    type => [Table existence], in DB => [pma__table_uiprefs]


    type => [Table existence], in DB => [pma__tracking]


    type => [Table existence], in DB => [pma__userconfig]


    type => [Table existence], in DB => [pma__usergroups]


    type => [Table existence], in DB => [pma__users]


    type => [Column existence], table => [seriennummern], in DB => [adresse]


    type => [Column existence], table => [seriennummern], in DB => [lieferung]


    type => [Column existence], table => [seriennummern], in DB => [lieferschein]


    type => [Column existence], table => [seriennummern], in DB => [lieferscheinpos]


    type => [Key existence], table => [systemhealth_notification_item], in DB => [systemhealth_id]


    type => [Key existence], table => [verbindlichkeit], in DB => [auftrag]


    30 differences.


    --------------- Comparing database 'xxsql2@localhost' vs. JSON 'openxe@localhost' ---------------


    type => [Column definition], table => [importvorlage], column => [format], property => [Type], in JSON => [int], in DB => [int(11)]


    type => [Column definition], table => [shopexport], column => [artikelexportbatchsize], property => [Type], in JSON => [int], in DB => [int(11)]


    2 differences.


    --------------- Calculating database upgrade for 'xsql2@localhost'... ---------------


    SET SESSION innodb_strict_mode=OFF;


    SET SQL_MODE='ALLOW_INVALID_DATES';


    ALTER TABLE `importvorlage` MODIFY COLUMN `format` int NULL;


    ALTER TABLE `shopexport` MODIFY COLUMN `artikelexportbatchsize` int NOT NULL DEFAULT '10';


    4 upgrade statements


    --------------- Done! ---------------


    --------------- 2026-09-29 16:18:34 ---------------

Share

Comments 2

  • Du hast auf den Plus-Knopf rechts gedrückt oder? Ich habe keine Ahnung was der Code dort machen soll. Mit dem Knopf "Ausgewählte Artikel übernehmen" funktioniert es, bitte das mal testen.

    • Ja, mit dem Plusknopf.


      Oder hat der eine andere Funktion (die in meinem Fall nicht funktioniert) ?


      Mit ausgewählte Artikel übernehmen funktioniert es. DANKE