Jump to content
xt:Commerce Community Forum

Fehler bei Installation und Plugin-Update "Undefined constant"


mjuergens
 Share

Recommended Posts

Hallo,

ich habe auf einem ganz frischen Webspace mit php 8.1 versucht einen neuen Shop zu installieren mit Version 6.5.1.

Zuerst gab es bei der Installation jede Menge Fehlermeldungen mit "Undefined constant TEXT_IRGENDWAS". Die Installation ist dann aber trotzdem irgendwie durchgelaufen und der Shop funktioniert auch.

Was allerdings nicht funktioniert ist das Updaten der Plugins. Das scheint aber wohl an einem ähnlichen Fehler wie bei der Installation zu liegen. In "proxy_error_log" steht folgendes:

2023/03/07 08:45:41 [error] 677705#0: *289168 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Undefined constant "TEXT_UPDATE_INFO" in /var/www/vhosts/bootsmotoren-teile.de/httpdocs/xtFramework/classes/class.plugin.php:2201
Stack trace:
#0 /var/www/vhosts/bootsmotoren-teile.de/httpdocs/xtAdmin/plugin_install.php(44): plugin->getPage()
#1 {main}
  thrown in /var/www/vhosts/bootsmotoren-teile.de/httpdocs/xtFramework/classes/class.plugin.php on line 2201" while reading response header from upstream, client: 82.198.66.69, server: www.bootsmotoren-teile.de, request: "GET /xtAdmin/plugin_install.php?save=true&plugin_id=51&sec=504d79cf95c00f7e6c978b789f77077a&_dc=1678175141424&parentNode=RemoteWindow HTTP/2.0", upstream: "fastcgi://unix:/var/www/vhosts/system/bootsmotoren-teile.de/php-fpm.sock:", host: "www.bootsmotoren-teile.de", referrer: "https://www.bootsmotoren-teile.de/xtAdmin/ejsadmin.php?language=de"

Anscheinend ist da wohl bei der Installation doch irgendwas schief gegangen und die yml-Files werden nicht richtig eingelesen und daher fehlt dann die Konstante an der Stelle?

Ein anderen Shop läuft mit der Version 6.5.1 läuft unter php 8.1 in der gleichen Konfiguration aber problemlos.

Kennt jemand das Problem?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
  • Create New...