Coder Social home page Coder Social logo

Comments (12)

tyrant88 avatar tyrant88 commented on June 25, 2024

Das erste was mich stutzig macht ist, bei mir ist der Funktionsaufruf von rex_sql->rollback() in Zeile 462...
https://github.com/yakamara/redaxo_yform/blob/master/plugins/manager/lib/yform/manager.php#L462

from search_it.

tyrant88 avatar tyrant88 commented on June 25, 2024

Du könntest in der Zeile davor mal den Kommentar entfernen und damit die Exception dumpen.

from search_it.

dpf-dd avatar dpf-dd commented on June 25, 2024

Das hatte ich im Zuge der Fehleranalyse gemacht. Der Dump sagt, dass das SQL-Objekt leer ist bzw. nicht existiert.
Außerdem hatte ich das gestern auch mit yForm 3.4.2 als auch mit 4.x probiert - das Problem passiert in beiden Versionen, nur die Zeilennummer ändert sich.
bildschirmfoto_2022-04-29_um_14 56 18

from search_it.

dpf-dd avatar dpf-dd commented on June 25, 2024

OK, oben im Screenshot ist der Dump auf das sql-Object. Hier folgt jetzt der dump auf das auskommentierte $e-Object
Bildschirmfoto 2022-05-03 um 12 21 43

from search_it.

tyrant88 avatar tyrant88 commented on June 25, 2024

Da kann ich so schnell jetzt nix sagen. Dazu muss es ja noch an deiner Config/Tabelle liegen, da die Meldung bei uns anderen nicht auftaucht.

from search_it.

dpf-dd avatar dpf-dd commented on June 25, 2024

Ich versuche das Problem heute Abend mal in einem jungfräulichen Redaxo nachzustellen. Allerdings wüsste ich nicht, was ich da jetzt anders mache als der Standard... Es gibt eine yForm-Tabelle mit dem Feld "headline" - woraus sich das URL-AddOn die Url generiert. Die Tabelle erscheint dann yForm-bedingt automatisch unter "Tabellen" und ich kann Datensätze anschauen, editieren und hinzufügen. Ich habe da auch keine Skripte, die sich per EP iwo einklinken - alles "nativ" verbunden (yForm - search_it - url). Ich wüsste auch gar nicht, was ich da jetzt manuell noch "abstöpseln" könnte um das möglichst "roh" zu testen...

Aber danke erstmal für dein schnelles Feedback. Hab ja erstmal eine "Lösung" gefunden und der Kunde kann erstmal weiter damit arbeiten... :)

from search_it.

fietstouring avatar fietstouring commented on June 25, 2024

Habe ein ähnliches Setup und bekomme bei jedem Seitenaufruf diesen Fehler im Systemlog:
Dazu muss nur "URLs aus dem URL Addon (Version >=2) indexieren" angehakt sein.

rex_sql_exception | Error while executing statement "SELECT search_it.id FROM `rex_tmp_search_it_index` AS search_it LEFT JOIN `rex_url_generator_url` as url ON search_it.fid = url.url_hash WHERE texttype = 'url' AND url.id IS NULL;": SQLSTATE[HY000]: General error: 1267 Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation '='
-- | --

from search_it.

tyrant88 avatar tyrant88 commented on June 25, 2024

Dann pass doch die collations mal an.

from search_it.

tyrant88 avatar tyrant88 commented on June 25, 2024

utf8mb4_unicode_ci ist die von REDAXO empfohlene Collation.

from search_it.

fietstouring avatar fietstouring commented on June 25, 2024

Ich musste die Spalte "fid" der Tabelle [rex_tmp_search_it_index](auf VARCHAR(191) umstellen, da die Konvertierung sonst nicht klappt, siehe hier https://stackoverflow.com/questions/1814532/mysql-error-1071-specified-key-was-too-long-max-key-length-is-767-bytes

from search_it.

tyrant88 avatar tyrant88 commented on June 25, 2024

Cool, danke. Das hatte ich übersehen.

from search_it.

xong avatar xong commented on June 25, 2024

Keine Ahnung, ob es damit zusammenhängt, aber seit YForm 4 hat sich auch der EP geändert: https://github.com/yakamara/redaxo_yform/blob/master/lib/yform/action/db.php#L91

from search_it.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.