FriendsOfREDAXO / redactor2

Integriert den Redactor WYSIWYG-Editor in Version 2
Other
54 stars 11 forks source link

Fehler beim Update von 3 auf 4 #154

Closed Geri2017 closed 5 years ago

Geri2017 commented 5 years ago

Folgende Fehlermeldung erschien gerade beim update auf Vers.4:

Warning: include(/xxxxxxx/webseiten/xxxxxxx/redaxo/src/addons/redactor2/install.php) [function.include]: failed to open stream: Datei oder Verzeichnis nicht gefunden in /xxxxxxx/webseiten/xxxxxxx/redaxo/src/addons/.new.redactor2/update.php on line 3 Warning: include(/xxxxxxx/webseiten/xxxxxxx/redaxo/src/addons/redactor2/install.php) [function.include]: failed to open stream: Datei oder Verzeichnis nicht gefunden in /xxxxxxx/webseiten/xxxxxxx/redaxo/src/addons/.new.redactor2/update.php on line 3 Warning: include() [function.include]: Failed opening '/xxxxxxx/webseiten/xxxxxxx/redaxo/src/addons/redactor2/install.php' for inclusion (include_path='.:/usr/local/lib/php') in /xxxxxxx/webseiten/xxxxxxx/redaxo/src/addons/.new.redactor2/update.php on line 3

???? Danke :-)

staabm commented 5 years ago

@dergel ich vermute dass das das problem ist, was ich hier angesprochen hatte:

https://github.com/FriendsOfREDAXO/redactor2/pull/148#discussion_r242284787

Oder eine variante davon.

update.php läuft im context der vorgängerversion

skerbis commented 5 years ago

Kann das Problem bestätigen.

alxndr-w commented 5 years ago

bestätigt

christophboecker commented 5 years ago

Der Include müsste also als Referenz auf DIR gehen: include ( __DIR__ . 'install.php' ); War nen Tip von @gharlan, eingesetzt bei install/update von focuspoint.

madiko commented 5 years ago

Kann ebenso das Problem bestätigen.

Mein Serverlog gibt noch folgende Info aus:

include(/ /redaxo/src/addons/redactor2/install.php) [function.include]: failed to open stream: Datei oder Verzeichnis nicht gefunden

include() [function.include]: Failed opening '/ /redaxo/src/addons/redactor2/install.php' for inclusion (include_path='.:/usr/local/lib/php')

Danke & Gruß, Franziska

dergel commented 5 years ago

sollte nun passen.. ist auch schon als 4.0.1 Release drin

madiko commented 5 years ago

Prima, hat alles wunderbar geklappt. Vielen Dank Jan, @dergel :-)