Seite 1 von 1

phpbb Gallery Deinstallation

Verfasst: 02.11.2020 10:43
von 69bruno
Hallo,

ich habe versucht, sowohl die phpbbGallery 1.2.0.10 als auch die 3.2.1 in meinem Testforum zu installieren.
Angefangen habe ich mit der Version 3.2.1, die sich installieren ließ, aber kein einziges Bild aktzeptierte mit einer Meldung "php_size_overrun". Dabei war es völlig egal, wie sehr ich das Bild auch verkleinerte.
Also 3.2.1 wieder runter und Version 1.2.0.10 mit angepassten yml-Dateien hochgeladen.
Hier lässt sich die Haupt-Extension sowie einige Abhängigkeitsextensions (z.B. acpcleanup) gar nicht erst richtig installieren.

Nun habe ich den Ordner wieder gelöscht, in der Datenbank die Ext(-Installationsreste) als inaktiv markiert und den Cache per ftp geleert. Ich bekomme im ACP unter Anpassung aber immer noch die Meldung:

Code: Alles auswählen

Die Erweiterung „phpbbgallery/acpcleanup“ ist ungültig.
Die angegebene Datei konnte nicht gefunden werden: ./../ext/phpbbgallery/acpcleanup/composer.json

Die Erweiterung „phpbbgallery/acpimport“ ist ungültig.
Die angegebene Datei konnte nicht gefunden werden: ./../ext/phpbbgallery/acpimport/composer.json

Die Erweiterung „phpbbgallery/core“ ist ungültig.
Die angegebene Datei konnte nicht gefunden werden: ./../ext/phpbbgallery/core/composer.json

Die Erweiterung „phpbbgallery/exif“ ist ungültig.
Die angegebene Datei konnte nicht gefunden werden: ./../ext/phpbbgallery/exif/composer.json


Wie werde ich diesen Quatsch wieder los ?

Achso, runtergeladen hier: https://github.com/satanasov/phpbbgallery/branches

Re: phpbb Gallery Deinstallation

Verfasst: 02.11.2020 11:19
von QuadkinderRheinMain
Hi Bruno,

Ich hätte das gleiche Problem.

Bei meinem Fall habe ich sämtliche mir Bekannte Caches geleert, ACP, Browser, manuell per FTP.

Danach war alles wieder o.k.

Hoffe es hilft.

LG

Re: phpbb Gallery Deinstallation

Verfasst: 02.11.2020 11:40
von 69bruno
OK,

nachdem ich jetzt in der DB in Tabelle phpbb_ext die verwaisten Einträge komplett gelöscht habe und danach den Cache erneut per FTP geleert habe, sind die Meldungen weg.

Hat jemand zufälligerweise ein lauffähige Version der phpGallery am Start, die ich mir borgen könnte ??? Oder kennt wer eine Alternative ???

Re: phpbb Gallery Deinstallation

Verfasst: 02.11.2020 13:19
von Cowboy of Bottrop
Extensons deinstallieren:
  1. Extension deaktivieren
  2. Arbeitsdaten der Extension löschen
  3. Extension via FTP vom Server entfernen
Siehe dazu auch hier: https://www.phpbb.de/kb/viewarticle?a=29

Re: phpbb Gallery Deinstallation

Verfasst: 02.11.2020 13:24
von 69bruno
Hatte ich alles so versucht, aber da die Installation schon mit Fehler endete, konnte ich zum Beispiel auch die Arbeitsdaten nicht löschen.

Re: phpbb Gallery Deinstallation

Verfasst: 02.11.2020 16:04
von chris1278
Gallery musst du diese hier nehmen:

https://github.com/satanasov/phpbbgallery

Ist die Version 3.2.2

Diese läuft bei mir in mehreren Foren ohne Probleme.

Re: phpbb Gallery Deinstallation

Verfasst: 02.11.2020 18:17
von 69bruno
Da dachte ich, ich versuchs nochmal.....

Das hier bekomme ich, wenn ich ein Bild hochladen möchte:

Code: Alles auswählen

Allgemeiner Fehler
SQL ERROR [ mysqli ]

Unknown column 'image_exif_data' in 'field list' [1054]

SQL

INSERT INTO phpbb_gallery_images (image_name, image_name_clean, image_filename, filesize_upload, image_time, image_user_id, image_user_colour, image_username, image_username_clean, image_user_ip, image_album_id, image_status, image_contest, image_allow_comments, image_desc, image_desc_uid, image_desc_bitfield, image_exif_data, image_has_exif) VALUES ('2019-08-08 08.48.16-5', '2019-08-08 08.48.16-5', '78bf8ef722188858f779d7076e8d1c8f.jpg', 111831, 1604337313, '2', 'AA0000', 'rootadmin', 'rootadmin', '2.202.28.42', 2, 3, 0, 1, '', '', '', '', 0)

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 1023
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 195
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 345
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/ext/phpbbgallery/core/upload.php
LINE: 499
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/ext/phpbbgallery/core/upload.php
LINE: 437
CALL: phpbbgallery\core\upload->file_to_database()

FILE: [ROOT]/ext/phpbbgallery/core/upload.php
LINE: 150
CALL: phpbbgallery\core\upload->prepare_file()

FILE: [ROOT]/ext/phpbbgallery/core/controller/upload.php
LINE: 371
CALL: phpbbgallery\core\upload->upload_file()

FILE: [ROOT]/vendor/symfony/http-kernel/HttpKernel.php
LINE: 151
CALL: phpbbgallery\core\controller\upload->main()

FILE: [ROOT]/vendor/symfony/http-kernel/HttpKernel.php
LINE: 68
CALL: Symfony\Component\HttpKernel\HttpKernel->handleRaw()

FILE: [ROOT]/app.php
LINE: 35
CALL: Symfony\Component\HttpKernel\HttpKernel->handle()
Da im Apache error log noch mehr steht, bezweifle ich, dass die ext mit PHP 7.3.14 läuft.

Hier die Einträge aus dem apache-log:

Code: Alles auswählen

[Mon Nov 02 11:29:29.221855 2020] [php7:error] [pid 32173] [client 193.106.30.100:59444] script '/var/www/html/phpBB3/accesson.php' not found or unable to stat
[Mon Nov 02 11:40:35.394539 2020] [php7:error] [pid 3533] [client 188.166.100.156:4038] script '/var/www/html/phpBB3/system_api.php' not found or unable to stat
[Mon Nov 02 11:40:35.859383 2020] [php7:error] [pid 32220] [client 188.166.100.156:4174] script '/var/www/html/phpBB3/api.php' not found or unable to stat
[Mon Nov 02 11:40:35.997020 2020] [php7:error] [pid 32173] [client 188.166.100.156:4202] script '/var/www/html/phpBB3/login.php' not found or unable to stat
[Mon Nov 02 17:49:40.573053 2020] [php7:error] [pid 8577] [client 2.202.28.42:49230] PHP Fatal error:  Uncaught phpbb\\module\\exception\\module_exception: CANNOT_REMOVE_MODULE in /var/www/html/Testforum/phpBB3/phpbb/module/module_manager.php:448\nStack trace:\n#0 /var/www/html/Testforum/phpBB3/phpbb/db/migration/tool/module.php(425): phpbb\\module\\module_manager->delete_module(242, 'acp')\n#1 [internal function]: phpbb\\db\\migration\\tool\\module->remove('acp', 'ACP_CAT_DOT_MOD...', 'PHPBB_GALLERY')\n#2 /var/www/html/Testforum/phpBB3/phpbb/db/migration/tool/module.php(459): call_user_func_array(Array, Array)\n#3 [internal function]: phpbb\\db\\migration\\tool\\module->reverse('add', 'acp', 'ACP_CAT_DOT_MOD...', 'PHPBB_GALLERY')\n#4 /var/www/html/Testforum/phpBB3/phpbb/db/migrator.php(714): call_user_func_array(Array, Array)\n#5 /var/www/html/Testforum/phpBB3/phpbb/db/migrator.php(661): phpbb\\db\\migrator->run_step(Array, NULL, false)\n#6 /var/www/html/Testforum/phpBB3/phpbb/db/migrator.php(554): phpbb\\db\\migrator->process_data_step(Array, Array)\n#7 /var/www/html/Testforum/phpBB3/phpbb/db/migrator.php(517): phpbb\\db\\migrator->try in /var/www/html/Testforum/phpBB3/phpbb/module/module_manager.php on line 448, referer: http://testforum.cruiser-lounge.de/adm/index.php?i=acp_extensions&sid=356ebe2992cf4044aa718768b8544336&mode=main&action=delete_data_pre&ext_name=phpbbgallery/core
[Mon Nov 02 18:06:07.911706 2020] [php7:error] [pid 12611] [client 2.202.28.42:49811] PHP Fatal error:  Uncaught Error: Call to undefined function phpbbgallery\\core\\file\\imagecreatefromjpeg() in /var/www/html/Testforum/phpBB3/ext/phpbbgallery/core/file/file.php:155\nStack trace:\n#0 /var/www/html/Testforum/phpBB3/ext/phpbbgallery/core/controller/file.php(421): phpbbgallery\\core\\file\\file->read_image(true)\n#1 /var/www/html/Testforum/phpBB3/ext/phpbbgallery/core/controller/file.php(208): phpbbgallery\\core\\controller\\file->resize('0', '240', '160', 'filesize_cache')\n#2 /var/www/html/Testforum/phpBB3/vendor/symfony/http-kernel/HttpKernel.php(151): phpbbgallery\\core\\controller\\file->mini('0')\n#3 /var/www/html/Testforum/phpBB3/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw(Object(phpbb\\symfony_request), 1)\n#4 /var/www/html/Testforum/phpBB3/app.php(35): Symfony\\Component\\HttpKernel\\HttpKernel->handle(Object(phpbb\\symfony_request))\n#5 {main}\n  thrown in /var/www/html/Testforum/phpBB3/ext/phpbbgallery/core/file/file.php on line 155, referer: http://testforum.cruiser-lounge.de/app.php/gallery?sid=356ebe2992cf4044aa718768b8544336
[Mon Nov 02 18:06:11.090287 2020] [php7:error] [pid 8023] [client 2.202.28.42:49813] PHP Fatal error:  Uncaught Error: Call to undefined function phpbbgallery\\core\\file\\imagecreatefromjpeg() in /var/www/html/Testforum/phpBB3/ext/phpbbgallery/core/file/file.php:155\nStack trace:\n#0 /var/www/html/Testforum/phpBB3/ext/phpbbgallery/core/controller/file.php(421): phpbbgallery\\core\\file\\file->read_image(true)\n#1 /var/www/html/Testforum/phpBB3/ext/phpbbgallery/core/controller/file.php(208): phpbbgallery\\core\\controller\\file->resize('0', '240', '160', 'filesize_cache')\n#2 /var/www/html/Testforum/phpBB3/vendor/symfony/http-kernel/HttpKernel.php(151): phpbbgallery\\core\\controller\\file->mini('0')\n#3 /var/www/html/Testforum/phpBB3/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw(Object(phpbb\\symfony_request), 1)\n#4 /var/www/html/Testforum/phpBB3/app.php(35): Symfony\\Component\\HttpKernel\\HttpKernel->handle(Object(phpbb\\symfony_request))\n#5 {main}\n  thrown in /var/www/html/Testforum/phpBB3/ext/phpbbgallery/core/file/file.php on line 155, referer: http://testforum.cruiser-lounge.de/app.php/gallery/album/1?sid=356ebe2992cf4044aa718768b8544336
[Mon Nov 02 18:07:11.269463 2020] [php7:error] [pid 13923] [client 2.202.28.42:49837] PHP Fatal error:  Uncaught Error: Call to undefined function phpbbgallery\\core\\file\\imagecreatefromjpeg() in /var/www/html/Testforum/phpBB3/ext/phpbbgallery/core/file/file.php:155\nStack trace:\n#0 /var/www/html/Testforum/phpBB3/ext/phpbbgallery/core/controller/file.php(421): phpbbgallery\\core\\file\\file->read_image(true)\n#1 /var/www/html/Testforum/phpBB3/ext/phpbbgallery/core/controller/file.php(208): phpbbgallery\\core\\controller\\file->resize('0', '240', '160', 'filesize_cache')\n#2 /var/www/html/Testforum/phpBB3/vendor/symfony/http-kernel/HttpKernel.php(151): phpbbgallery\\core\\controller\\file->mini('0')\n#3 /var/www/html/Testforum/phpBB3/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw(Object(phpbb\\symfony_request), 1)\n#4 /var/www/html/Testforum/phpBB3/app.php(35): Symfony\\Component\\HttpKernel\\HttpKernel->handle(Object(phpbb\\symfony_request))\n#5 {main}\n  thrown in /var/www/html/Testforum/phpBB3/ext/phpbbgallery/core/file/file.php on line 155, referer: http://testforum.cruiser-lounge.de/app.php/gallery?sid=356ebe2992cf4044aa718768b8544336
[Mon Nov 02 18:07:13.580960 2020] [php7:error] [pid 8577] [client 2.202.28.42:49841] PHP Fatal error:  Uncaught Error: Call to undefined function phpbbgallery\\core\\file\\imagecreatefromjpeg() in /var/www/html/Testforum/phpBB3/ext/phpbbgallery/core/file/file.php:155\nStack trace:\n#0 /var/www/html/Testforum/phpBB3/ext/phpbbgallery/core/controller/file.php(421): phpbbgallery\\core\\file\\file->read_image(true)\n#1 /var/www/html/Testforum/phpBB3/ext/phpbbgallery/core/controller/file.php(208): phpbbgallery\\core\\controller\\file->resize('0', '240', '160', 'filesize_cache')\n#2 /var/www/html/Testforum/phpBB3/vendor/symfony/http-kernel/HttpKernel.php(151): phpbbgallery\\core\\controller\\file->mini('0')\n#3 /var/www/html/Testforum/phpBB3/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw(Object(phpbb\\symfony_request), 1)\n#4 /var/www/html/Testforum/phpBB3/app.php(35): Symfony\\Component\\HttpKernel\\HttpKernel->handle(Object(phpbb\\symfony_request))\n#5 {main}\n  thrown in /var/www/html/Testforum/phpBB3/ext/phpbbgallery/core/file/file.php on line 155, referer: http://testforum.cruiser-lounge.de/app.php/gallery/album/1?sid=356ebe2992cf4044aa718768b8544336
[Mon Nov 02 18:08:28.666335 2020] [php7:error] [pid 14504] [client 2.202.28.42:49879] PHP Fatal error:  Uncaught Error: Call to undefined function phpbbgallery\\core\\file\\imagecreatefromjpeg() in /var/www/html/Testforum/phpBB3/ext/phpbbgallery/core/file/file.php:155\nStack trace:\n#0 /var/www/html/Testforum/phpBB3/ext/phpbbgallery/core/file/file.php(286): phpbbgallery\\core\\file\\file->read_image()\n#1 /var/www/html/Testforum/phpBB3/ext/phpbbgallery/core/upload.php(408): phpbbgallery\\core\\file\\file->resize_image('1280', '1024')\n#2 /var/www/html/Testforum/phpBB3/ext/phpbbgallery/core/upload.php(150): phpbbgallery\\core\\upload->prepare_file()\n#3 /var/www/html/Testforum/phpBB3/ext/phpbbgallery/core/controller/upload.php(371): phpbbgallery\\core\\upload->upload_file(1)\n#4 /var/www/html/Testforum/phpBB3/vendor/symfony/http-kernel/HttpKernel.php(151): phpbbgallery\\core\\controller\\upload->main('2')\n#5 /var/www/html/Testforum/phpBB3/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw(Object(phpbb\\symfony_request), 1)\n#6 /var/www/html/Testforum/phpBB3/app.php(35): Symfony\\Component\\H in /var/www/html/Testforum/phpBB3/ext/phpbbgallery/core/file/file.php on line 155, referer: http://testforum.cruiser-lounge.de/app.php/gallery/album/2/upload?sid=356ebe2992cf4044aa718768b8544336
[Mon Nov 02 18:14:44.636521 2020] [php7:error] [pid 14967] [client 2.202.28.42:50112] PHP Fatal error:  Uncaught Error: Call to undefined function phpbbgallery\\core\\file\\imagecreatefromjpeg() in /var/www/html/Testforum/phpBB3/ext/phpbbgallery/core/file/file.php:155\nStack trace:\n#0 /var/www/html/Testforum/phpBB3/ext/phpbbgallery/core/controller/file.php(421): phpbbgallery\\core\\file\\file->read_image(true)\n#1 /var/www/html/Testforum/phpBB3/ext/phpbbgallery/core/controller/file.php(208): phpbbgallery\\core\\controller\\file->resize('0', '240', '160', 'filesize_cache')\n#2 /var/www/html/Testforum/phpBB3/vendor/symfony/http-kernel/HttpKernel.php(151): phpbbgallery\\core\\controller\\file->mini('0')\n#3 /var/www/html/Testforum/phpBB3/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw(Object(phpbb\\symfony_request), 1)\n#4 /var/www/html/Testforum/phpBB3/app.php(35): Symfony\\Component\\HttpKernel\\HttpKernel->handle(Object(phpbb\\symfony_request))\n#5 {main}\n  thrown in /var/www/html/Testforum/phpBB3/ext/phpbbgallery/core/file/file.php on line 155, referer: http://testforum.cruiser-lounge.de/app.php/gallery?sid=356ebe2992cf4044aa718768b8544336
[Mon Nov 02 18:14:47.495492 2020] [php7:error] [pid 8023] [client 2.202.28.42:50113] PHP Fatal error:  Uncaught Error: Call to undefined function phpbbgallery\\core\\file\\imagecreatefromjpeg() in /var/www/html/Testforum/phpBB3/ext/phpbbgallery/core/file/file.php:155\nStack trace:\n#0 /var/www/html/Testforum/phpBB3/ext/phpbbgallery/core/controller/file.php(421): phpbbgallery\\core\\file\\file->read_image(true)\n#1 /var/www/html/Testforum/phpBB3/ext/phpbbgallery/core/controller/file.php(208): phpbbgallery\\core\\controller\\file->resize('0', '240', '160', 'filesize_cache')\n#2 /var/www/html/Testforum/phpBB3/vendor/symfony/http-kernel/HttpKernel.php(151): phpbbgallery\\core\\controller\\file->mini('0')\n#3 /var/www/html/Testforum/phpBB3/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw(Object(phpbb\\symfony_request), 1)\n#4 /var/www/html/Testforum/phpBB3/app.php(35): Symfony\\Component\\HttpKernel\\HttpKernel->handle(Object(phpbb\\symfony_request))\n#5 {main}\n  thrown in /var/www/html/Testforum/phpBB3/ext/phpbbgallery/core/file/file.php on line 155, referer: http://testforum.cruiser-lounge.de/app.php/gallery/album/1?sid=356ebe2992cf4044aa718768b8544336
[Mon Nov 02 18:18:53.858876 2020] [php7:error] [pid 12611] [client 2.202.28.42:50250] PHP Fatal error:  Uncaught Error: Call to undefined function phpbbgallery\\core\\file\\imagecreatefromjpeg() in /var/www/html/Testforum/phpBB3/ext/phpbbgallery/core/file/file.php:155\nStack trace:\n#0 /var/www/html/Testforum/phpBB3/ext/phpbbgallery/core/controller/file.php(421): phpbbgallery\\core\\file\\file->read_image(true)\n#1 /var/www/html/Testforum/phpBB3/ext/phpbbgallery/core/controller/file.php(208): phpbbgallery\\core\\controller\\file->resize('0', '240', '160', 'filesize_cache')\n#2 /var/www/html/Testforum/phpBB3/vendor/symfony/http-kernel/HttpKernel.php(151): phpbbgallery\\core\\controller\\file->mini('0')\n#3 /var/www/html/Testforum/phpBB3/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw(Object(phpbb\\symfony_request), 1)\n#4 /var/www/html/Testforum/phpBB3/app.php(35): Symfony\\Component\\HttpKernel\\HttpKernel->handle(Object(phpbb\\symfony_request))\n#5 {main}\n  thrown in /var/www/html/Testforum/phpBB3/ext/phpbbgallery/core/file/file.php on line 155, referer: http://testforum.cruiser-lounge.de/app.php/gallery?sid=356ebe2992cf4044aa718768b8544336
[Mon Nov 02 18:18:59.347023 2020] [php7:error] [pid 8023] [client 2.202.28.42:50271] PHP Fatal error:  Uncaught Error: Call to undefined function phpbbgallery\\core\\file\\imagecreatefromjpeg() in /var/www/html/Testforum/phpBB3/ext/phpbbgallery/core/file/file.php:155\nStack trace:\n#0 /var/www/html/Testforum/phpBB3/ext/phpbbgallery/core/controller/file.php(421): phpbbgallery\\core\\file\\file->read_image(true)\n#1 /var/www/html/Testforum/phpBB3/ext/phpbbgallery/core/controller/file.php(208): phpbbgallery\\core\\controller\\file->resize('0', '240', '160', 'filesize_cache')\n#2 /var/www/html/Testforum/phpBB3/vendor/symfony/http-kernel/HttpKernel.php(151): phpbbgallery\\core\\controller\\file->mini('0')\n#3 /var/www/html/Testforum/phpBB3/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw(Object(phpbb\\symfony_request), 1)\n#4 /var/www/html/Testforum/phpBB3/app.php(35): Symfony\\Component\\HttpKernel\\HttpKernel->handle(Object(phpbb\\symfony_request))\n#5 {main}\n  thrown in /var/www/html/Testforum/phpBB3/ext/phpbbgallery/core/file/file.php on line 155, referer: http://testforum.cruiser-lounge.de/app.php/gallery/album/1?sid=356ebe2992cf4044aa718768b8544336
Was auffällig ist, die ersten 4 Zeilen des Apache-log verweisen auf Verzeichnisse außerhalb des Testforumszweigs.
Sorry, jetzt sehe ich erst, dass die viel früher aufgetreten sind, haben wohl nix mit meinem letzten Versuch zu tun.