NextGen Lite Upload Fehler bei lokaler WordPress Installation
-
Hallo zusammen,
ich habe folgendes Problem. Ich benutze eine lokale WordPress Installation (via MAMP) und habe hier das NextGen Lite Plugin installiert. Alles auf aktuellster Version. Dasselbe habe ich auch online.
Online funktioniert der Bilder Upload via Plugin ohne Probleme
Offline bekomme ich einen Fehler: „JSON Parse error: Unrecognized token ‚<‚“Ich habe den Upload auch über die Medienseite von WordPress selber probiert. Hier kann ich zwar die Bilder uploaden, aber NextGen Lite kann immer noch nicht die Bilder dann in eine Gallery überführen. Es zeigt in dem Fall keinen Fehler an, aber der „Processing“ Balken verschwindet nicht und es führt nach zig Minuten zu keinem Ergebnis.
Hat jemand eine Idee woran das liegen könnte?
Danke euch und viele GrüßeAzador
-
Klingt für mich nach einem Konfigurationsproblem deiner lokalen Installation. Geh dort mal im Backend auf Einstellungen > Permalinks und speichere diese ohne Änderung einfach neu.
Sollte das nicht helfen, poste bitte den Website-Bericht deiner lokalen Installation wie hier beschrieben: https://de.wordpress.org/support/topic/bevor-du-ein-neues-thema-thread-erstellst/
Hallo threadi,
das mit dem Permalinks hat leider nicht funktioniert. Ich gehe auch stark von einem Konfigurationsproblem aus, aber leider reicht mein Wissen nicht um die Ursache zu finden. Dafür schon mal Danke.
Anbei der Bericht:
- Das Problem besteht ja mit der lokalen WordPress Seite, aber hier mal die funktionierende Online Seite (Ist ein Versuchsträger)
http://blog.life-is-risk.com
` wp-core
version: 6.7.1
site_language: de_DE
user_language: de_DE
timezone: Europe/Berlin
permalink: /index.php/%year%/%monthnum%/%day%/%postname%/
https_status: false
multisite: false
user_registration: 0
blog_public: 1
default_comment_status: open
environment_type: production
user_count: 1
dotorg_communication: true wp-paths-sizes
wordpress_path: /Applications/MAMP/htdocs/wordpress2
wordpress_size: 171,49 MB (179824965 bytes)
uploads_path: /Applications/MAMP/htdocs/wordpress2/wp-content/uploads
uploads_size: 0,00 B (0 bytes)
themes_path: /Applications/MAMP/htdocs/wordpress2/wp-content/themes
themes_size: 19,95 MB (20922130 bytes)
plugins_path: /Applications/MAMP/htdocs/wordpress2/wp-content/plugins
plugins_size: 17,95 MB (18817130 bytes)
fonts_path: /Applications/MAMP/htdocs/wordpress2/wp-content/uploads/fonts
fonts_size: directory not found
database_size: 2,28 MB (2392064 bytes)
total_size: 211,67 MB (221956289 bytes) wp-active-theme
name: Twenty Twenty-Five (twentytwentyfive)
version: 1.0
author: Das WordPress-Team
author_website: https://de.wordpress.org
parent_theme: none
theme_features: core-block-patterns, post-thumbnails, responsive-embeds, editor-styles, html5, automatic-feed-links, widgets-block-editor, block-templates, post-formats, editor-style
theme_path: /Applications/MAMP/htdocs/wordpress2/wp-content/themes/twentytwentyfive
auto_update: Deaktiviert wp-themes-inactive (3)
Twenty Twenty-Four: version: 1.3, author: Das WordPress-Team, Automatische Aktualisierungen deaktiviert
Twenty Twenty-Three: version: 1.6, author: Das WordPress-Team, Automatische Aktualisierungen deaktiviert
Twenty Twenty-Two: version: 1.9, author: Das WordPress-Team, Automatische Aktualisierungen deaktiviert wp-plugins-active (1)
NextGEN Gallery: version: 3.59.8, author: Imagely, Automatische Aktualisierungen deaktiviert wp-plugins-inactive (2)
Akismet Anti-spam: Spam Protection: version: 5.3.5, author: Automattic - Anti-spam Team, Automatische Aktualisierungen deaktiviert
Hello Dolly: version: 1.7.2, author: Matt Mullenweg, Automatische Aktualisierungen deaktiviert wp-media
image_editor: WP_Image_Editor_GD
imagick_module_version: Nicht verfügbar
imagemagick_version: Nicht verfügbar
imagick_version: Nicht verfügbar
file_uploads: 1
post_max_size: 8M
upload_max_filesize: 32M
max_effective_size: 8 MB
max_file_uploads: 20
gd_version: bundled (2.1.0 compatible)
gd_formats: GIF, JPEG, PNG, WebP, BMP
ghostscript_version: not available wp-server
server_architecture: Darwin 24.1.0 arm64
httpd_software: Apache/2.4.58 (Unix) OpenSSL/1.1.1u mod_fastcgi/mod_fastcgi-SNAP-0910052141
php_version: 8.3.9 64bit
php_sapi: cgi-fcgi
max_input_variables: 1000
time_limit: 30
memory_limit: 128M
admin_memory_limit: 256M
max_input_time: 60
upload_max_filesize: 32M
php_post_max_size: 8M
curl_version: 7.76.1 OpenSSL/1.1.1u
suhosin: false
imagick_availability: false
pretty_permalinks: true
htaccess_extra_rules: false
current: 2025-01-13T11:47:04+00:00
utc-time: Monday, 13-Jan-25 11:47:04 UTC
server-time: 2025-01-13T12:47:02+01:00 wp-database
extension: mysqli
server_version: 8.0.35
client_version: mysqlnd 8.3.9
max_allowed_packet: 67108864
max_connections: 151 wp-constants
WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /Applications/MAMP/htdocs/wordpress2/wp-content
WP_PLUGIN_DIR: /Applications/MAMP/htdocs/wordpress2/wp-content/plugins
WP_MEMORY_LIMIT: 40M
WP_MAX_MEMORY_LIMIT: 256M
WP_DEBUG: false
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: false
SCRIPT_DEBUG: false
WP_CACHE: false
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_ENVIRONMENT_TYPE: undefined
WP_DEVELOPMENT_MODE: undefined
DB_CHARSET: utf8mb4
DB_COLLATE: undefined wp-filesystem
wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable
fonts: not writableScreenshot Fehlermeldung
http://blog.life-is-risk.com/2024/12/22/2-fertig/
-
Diese Antwort wurde vor 3 Wochen, 6 Tage von
Azador geändert.
Kannst Du im Frontend deiner lokalen Installation Seiten des Projektes aufrufen und haben diese eine „Pretty URL“, also sowas wie
/hallo-welt/
?Die Seiten sehen so aus:
http://localhost:8888/wordpress2/index.php/2025/01/13/hallo-welt/Was auch komisch ist, wenn ich in NextGen lite eine Galerie anlege, wird ein neues Verzeichnis mit Galerie-Namen angelegt. Wenn ich nun meine Bilder hier direkt rein kopiere kann ich auch aktiv nach neuen Bildern im Verzeichnis suchen. Wenn ich das mache bekomme ich folgende Fehlermeldung:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at you@example.com to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.Die Fehlermeldung ist natürlich merkwürdig. Hast Du mal einen Blick in das erwähnte error log geworfen? Wenn es das bei dir nicht gibt, könntest Du auch den Debug-Modus von WordPress aktivieren um den Fehler zu sehen. Siehe auch zur weiteren Analyse davon: https://de.wordpress.org/support/topic/error-500-internal-server-error/
Ich hab nochmal etwas rum probiert.
Deine verlinkten Seiten haben leider nicht zum Erfolg geführt. Ich hab die Error Logs aktiviert und mal auch unterschiedliche Webserver ausprobiert (Apache, Nginx). Dann habe ich nochmal versucht Bilder in die Galerie hinzuzufügen, wieder auf das Problem gelaufen (hatte ja nichts geändert, von daher erwartet) und mir dann die Logs angeschaut vom Apache. Ich poste die mal rein, aber ich werde leider nicht schlau daraus:Thu Jan 16 08:20:51.882407 2025] [:notice] [pid 72126:tid 8566078144] FastCGI: process manager initialized (pid 72126)
[Thu Jan 16 08:20:51.882873 2025] [mpm_event:notice] [pid 72121:tid 8566078144] AH00489: Apache/2.4.58 (Unix) OpenSSL/1.1.1u mod_fastcgi/mod_fastcgi-SNAP-0910052141 configured -- resuming normal operations
[Thu Jan 16 08:20:51.883017 2025] [core:notice] [pid 72121:tid 8566078144] AH00094: Command line: '/Applications/MAMP/Library/bin/httpd'
[Thu Jan 16 08:21:07.393568 2025] [mpm_event:notice] [pid 72121:tid 8566078144] AH00491: caught SIGTERM, shutting down
[Thu Jan 16 08:21:07.404941 2025] [:alert] [pid 72126:tid 8566078144] (2)No such file or directory: FastCGI: read() from pipe failed (0)
[Thu Jan 16 08:21:07.405177 2025] [:alert] [pid 72126:tid 8566078144] (2)No such file or directory: FastCGI: the PM is shutting down, Apache seems to have disappeared - bye
[Thu Jan 16 08:21:14.319878 2025] [:notice] [pid 72303:tid 8566078144] FastCGI: process manager initialized (pid 72303)
[Thu Jan 16 08:21:14.320536 2025] [mpm_event:notice] [pid 72301:tid 8566078144] AH00489: Apache/2.4.58 (Unix) OpenSSL/1.1.1u mod_fastcgi/mod_fastcgi-SNAP-0910052141 configured -- resuming normal operations
[Thu Jan 16 08:21:14.320683 2025] [core:notice] [pid 72301:tid 8566078144] AH00094: Command line: '/Applications/MAMP/Library/bin/httpd'
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.
[Thu Jan 16 08:22:01.391658 2025] [fastcgi:error] [pid 72306:tid 6139850752] [client ::1:59384] FastCGI: incomplete headers (0 bytes) received from server "/Applications/MAMP/fcgi-bin/php.fcgi", referer: http://localhost:8888/wordpress2/wp-admin/admin.php?page=ngg_addgallery
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.Da ist nichts dabei was für mich eindeutig als Ursache erkennbar wäre. Ich würde dir empfehlen du wendest dich dazu mal an den Support des Plugins: https://wordpress.org/support/plugin/nextgen-gallery/ – die wissen am besten was in deren Plugin wie passiert.
Hi,
alles klar. Mach ich. Danke dir für die Hilfe!!
VG
Azador - Das Problem besteht ja mit der lokalen WordPress Seite, aber hier mal die funktionierende Online Seite (Ist ein Versuchsträger)
- Du musst angemeldet sein, um auf dieses Thema zu antworten.