Forum

Fehlerfreies Modul kann nicht installiert werden  Bottom

rallek / Nov 13, 2011 / 06:31 Link to this post


Ich habe mir ein einfaches Modul mit einer Tabelle erzeugt. Das Modul konnte generiert werden. Nach dem Versuch es auf einer frischen Zikula-Version (1.3.1 von ci.zikula.org) zu installieren bekomme ich folgende Fehlermeldung:

QuoteAn error was encountered while creating the tables for the Cronicler Module.

Das mitgelieferte "Profile" lässt sich hingegen problemlos installieren.

Wopran kann das liegen? Ich weiß auch nicht, wo ich noch mehr Infos herbekommen kann.

Gruß,
Ralf


Options

Rating

Replies

  • Axel / Nov 13, 2011 / 07:48 Link to this post

    Axel

    Am besten in der Datei config/config.php den Entwicklungs-Modus anschalten, dann sollten mehr Details zum Fehler erscheinen.


  • rallek / Nov 14, 2011 / 06:58 Link to this post


    hab ich gemacht. Hier das Ergebnis:

    QuoteDoctrine Exception: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'index (eventDate), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_gene' at line 1


    was sagt mir das?


  • Axel / Nov 20, 2011 / 10:35 Link to this post

    Axel

    Das Problem hängt mit dem Index der Tabelle zusammen. Ohne den Index installiert das Modul problemlos. Die konkrete Fehlerursache habe ich noch nicht herausbekommen.


  • rallek / Nov 20, 2011 / 06:23 Link to this post


    hab es nun ohne Index installiert (das was Du mir geschickt hast). Das installiert jetzt. Doch will ich einen Datensatz eingeben, bekomme ich immer eine Fehlermeldung:

    QuoteEvent date: Error! Input text must be no longer than characters.

    Und dazu gibt es eine Warnung (Dev-Mode = on):
    QuoteMissing argument 2 for __f(), called in /www/htdocs/w00ada58/zikula/131/lib/Zikula/Form/Plugin/TextInput.php on line 413 and defined

    in
    Quote /www/htdocs/w00ada58/zikula/131/lib/i18n/ZGettextFunctions.php:39

    sowie eine Notice:
    Quote Undefined variable: params

    in
    Quote /www/htdocs/w00ada58/zikula/131/lib/i18n/ZGettextFunctions.php:45


  • rallek / Nov 20, 2011 / 07:04 Link to this post


    mmh, wenn ich versuche im Modell ein Deafault-Datum einzugeben, z.B. 2011-11-20, bekomme ich eine Fehlermeldung, dass das Datum YYYY-MM-DD heißen soll. Das tut es doch. Liegt das an der deutschen Version, die in den Fehlermeldungen noch nicht passt?


  • rallek / Nov 20, 2011 / 07:34 Link to this post


    Nun wird es richtig ungemütlich:

    QuoteFatal error: Cannot redeclare DoctrineProxy\Zikula_Doctrine2_Entity_CategoryProxy::offsetUnset() in /www/htdocs/w00ada58/zikula/131/ztemp/doctrinemodels/Zikula_Doctrine2_Entity_CategoryProxy.php on line 237

    Fatal error: Class 'DateUtil' not found in /www/htdocs/w00ada58/zikula/131/lib/util/ObjectUtil.php on line 152

    Ich habe aus dem Modell alles mit Date entfernt und nun dass. Installiert habe ich zk 1.3.1. Reicht das nicht für MOST 0.5.3?


  • Axel / Nov 21, 2011 / 08:08 Link to this post

    Axel

    rallekbekomme ich eine Fehlermeldung, dass das Datum YYYY-MM-DD heißen soll

    In MOST oder in Zikula?


  • rallek / Nov 21, 2011 / 08:59 Link to this post


    in MOST


  • Axel / Nov 22, 2011 / 08:04 Link to this post

    Axel

    Der andere Fehler (cannot redeclare...) scheint ein Problem im Core mit PHP 5.3.8 zu sein. Siehe dieses Ticket.


  • Axel / Nov 25, 2011 / 05:08 Link to this post

    Axel

    Die Validierung der Datumswerte in MOST ist in der kommenden Version 0.5.4 behoben - hier waren alle 10. und 20. Kalendertage betroffen.


How to set up relations

8 Replies
Axel on May 15, 2012 - 06:04



Neue Umfragen

You have not voted in the poll:
What should be improved in future?
 
 
 

ModuleStudio Honey

Close

You don't have permission to e-mail this story - please login