Fehler bei Migration
- QUIQQER Installation (+ Datenbank) wurde komplett auf anderen Server kopiert
- PathMigration Skript wurde ausgeführt
- Cache wurde gelöscht
- Ich bin dann in den Admin gegangen und es kam folgende Exception:
[2017-03-03 13:10:38] - ERROR - 0 ::
Warning: file_exists(): open_basedir restriction in effect. File(/var/www/pw.rico.pcsg/packages/quiqqer/gitlab/settings.xml) is not within the allowed path(s): (/var/www/vhosts/pwm.pcsg-server.de/:/tmp/)
#0 [internal function]: exception_error_handler(2, 'file_exists(): ...', '/var/www/vhosts...', 325, Array)
#1 /var/www/vhosts/pwm.pcsg-server.de/httpdocs/packages/quiqqer/utils/src/QUI/Utils/Text/XML.php(325): file_exists('/var/www/pw.ric...')
#2 /var/www/vhosts/pwm.pcsg-server.de/httpdocs/packages/quiqqer/utils/src/QUI/Utils/XML/Settings.php(90): QUI\Utils\Text\XML::getDomFromXml('/var/www/pw.ric...')
#3 /var/www/vhosts/pwm.pcsg-server.de/httpdocs/packages/quiqqer/quiqqer/admin/ajax/settings/window.php(24): QUI\Utils\XML\Settings->getPanel(Array)
#4 [internal function]: {closure}('"/var/www/pw.ri...')
#5 /var/www/vhosts/pwm.pcsg-server.de/httpdocs/packages/quiqqer/quiqqer/lib/QUI/Ajax.php(336): call_user_func_array(Object(Closure), Array)
#6 /var/www/vhosts/pwm.pcsg-server.de/httpdocs/packages/quiqqer/quiqqer/lib/QUI/Ajax.php(204): QUI\Ajax->callRequestFunction('ajax_settings_w...')
#7 /var/www/vhosts/pwm.pcsg-server.de/httpdocs/packages/quiqqer/quiqqer/admin/ajax.php(117): QUI\Ajax->call()
#8 {main}
{
"request": "pwm.pcsg-server.de\/admin\/ajax.php?file=%22%2Fvar%2Fwww%2Fpw.rico.pcsg%2Fpackages%2Fquiqqer%2Fgitlab%2Fsettings.xml%22&preventCache=izts3ak0&_rf=%5B%22ajax_settings_window%22%2C%22ajax_settings_get%22%5D&_FRONTEND=0&lang=de&method=get&url=%2Fadmin%2Fajax.php",
"errorFilename": false,
"userId": "587586510",
"username": "peat"
}
Vermutung: Im Admin waren Panels geöffnet, als die Kopie der Installation erstellt wurde. Als er den Admin dann unter der neuen Installations-Location laden wollte, hatte er aus irgendeinem Grund noch den Pfad der alten Installation in den Panels.
Bitte mit @mor_dark durchgehen!