Hallo zusammen.
Ich habe folgende Probleme in meinem Piwigo:
1. Diese Meldung taucht beim bearbeiten von Bildern im Einzelmodus und beim verwenden vom Videoimport mit piwigo-videojs auf.
Warning: [mysql error 1264] Out of range value for column 'filesize' at row 1
UPDATE piwigo_images SET `filesize`='214384274', `width`='404', `height`='720', `date_metadata_update`=CURDATE() WHERE `id`=6785; in /Library/Server/Web/Data/Sites/DOMAIN/include/dblayer/functions_mysqli.inc.php on line 834
Call Stack:
0.0008 1053184 1. {main}() /Library/Server/Web/Data/Sites/DOMAIN/admin.php:0
0.0507 8846304 2. include('/Library/Server/Web/Data/Sites/DOMAIN/admin/batch_manager.php') /Library/Server/Web/Data/Sites/DOMAIN/admin.php:280
0.0795 9317888 3. include('/Library/Server/Web/Data/Sites/DOMAIN/admin/batch_manager_unit.php') /Library/Server/Web/Data/Sites/DOMAIN/admin/batch_manager.php:554
0.0796 9317984 4. trigger_action() /Library/Server/Web/Data/Sites/DOMAIN/admin/batch_manager_unit.php:42
0.0796 9319048 5. call_user_func_array() /Library/Server/Web/Data/Sites/DOMAIN/include/functions_plugins.inc.php:161
0.0796 9319080 6. vjs_loc_begin_element_set_unit() /Library/Server/Web/Data/Sites/DOMAIN/include/functions_plugins.inc.php:161
0.9332 14960424 7. include('/Library/Server/Web/Data/Sites/DOMAIN/plugins/piwigo-videojs/include/function_sync.php') /Library/Server/Web/Data/Sites/DOMAIN/plugins/piwigo-videojs/admin/admin_batchmanager.php:154
1.0040 14967768 8. pwg_query() /Library/Server/Web/Data/Sites/DOMAIN/plugins/piwigo-videojs/include/function_sync.php:146
1.0044 14967864 9. my_error() /Library/Server/Web/Data/Sites/DOMAIN/include/dblayer/functions_mysqli.inc.php:109
1.0044 14968224 10. trigger_error() /Library/Server/Web/Data/Sites/DOMAIN/include/dblayer/functions_mysqli.inc.php:834
2. Ich musste die Galerie verschieben und habe seit dem auf der Seite, wenn man sich Videos anschauen will, folgende Meldung:
Warning: realpath(): open_basedir restriction in effect. File(/private/var/tmp) is not within the allowed path(s): (/Library/Server/Web/Data/Sites/DOMAIN/) in /Library/Server/Web/Data/Sites/DOMAIN/galerie/plugins/piwigo-videojs/include/getid3/getid3.php on line 31 Call Stack: 0.0228 984160 1. {main}() /Library/Server/Web/Data/Sites/DOMAIN/galerie/picture.php:0 0.1027 6563776 2. trigger_event() /Library/Server/Web/Data/Sites/DOMAIN/galerie/picture.php:942 0.1027 6568536 3. call_user_func_array() /Library/Server/Web/Data/Sites/DOMAIN/galerie/include/functions_plugins.inc.php:131 0.1027 6568568 4. vjs_render_media() /Library/Server/Web/Data/Sites/DOMAIN/galerie/include/functions_plugins.inc.php:131 0.1295 7203520 5. require_once('/Library/Server/Web/Data/Sites/DOMAIN/galerie/plugins/piwigo-videojs/include/getid3/getid3.php') /Library/Server/Web/Data/Sites/DOMAIN/galerie/plugins/piwigo-videojs/main.inc.php:83 0.1296 7203856 6. realpath() /Library/Server/Web/Data/Sites/DOMAIN/galerie/plugins/piwigo-videojs/include/getid3/getid3.php:31
vorher war die Galerie unter https://sub.domain.de/ erreichbar. Jetzt muss sie unter https://www.domain.de/galerie erreichbar sein.
Kann mir dabei jemand helfen?
Danke
Offline
Das zweite Problem hab ich auch im Griff.
ein
<DirectoryMatch "/Library/Server/Web/Data/Sites/DOMAIN/galerie/">
php_admin_value open_basedir "/Library/Server/Web/Data/Sites/DOMAIN/galerie/:/tmp/:/"
</DirectoryMatch>
in der Konfiguration des virtuellen Hosts von Apache brachte Abhilfe.
Nur zur Dokumentation, falls mal jemand anders das selbe Problem bekommt.
Schööö
Offline