When installing webform, I get a 500 internal server error for random admin pages. The server is running PHP 7.0 and I am unable to get to the server logs. This happens with the base webform module.
The admin pages that it breaks are:
admin/modules
admin/structure/block
admin/structure/webform
admin/reports/webform-plugins/elements
admin/help/webform
admin/structure/webform/addons
modules installed:
Package Name Type Version
Administration Module filter (module_filter) Module 8.x-3.1
Blazy Blazy (blazy) Module 8.x-1.0-rc4
Chaos tool suite Chaos Tools (ctools) Module 8.x-3.2
Chaos tool suite (Experimental) Chaos Tools Blocks (ctools_block) Module 8.x-3.2
Chaos tool suite (Experimental) Chaos Tools Views (ctools_views) Module 8.x-3.2
Core Automated Cron (automated_cron) Module 8.6.13
Core BigPipe (big_pipe) Module 8.6.13
Core Block (block) Module 8.6.13
Core Breakpoint (breakpoint) Module 8.6.13
Core CKEditor (ckeditor) Module 8.6.13
Core Color (color) Module 8.6.13
Core Comment (comment) Module 8.6.13
Core Configuration Manager (config) Module 8.6.13
Core Contact (contact) Module 8.6.13
Core Contextual Links (contextual) Module 8.6.13
Core Custom Block (block_content) Module 8.6.13
Core Custom Menu Links (menu_link_content) Module 8.6.13
Core Database Logging (dblog) Module 8.6.13
Core Field (field) Module 8.6.13
Core Field UI (field_ui) Module 8.6.13
Core Filter (filter) Module 8.6.13
Core Help (help) Module 8.6.13
Core History (history) Module 8.6.13
Core Inline Form Errors (inline_form_errors) Module 8.6.13
Core Internal Dynamic Page Cache (dynamic_page_cache) Module 8.6.13
Core Internal Page Cache (page_cache) Module 8.6.13
Core Media (media) Module 8.6.13
Core Menu UI (menu_ui) Module 8.6.13
Core Node (node) Module 8.6.13
Core Path (path) Module 8.6.13
Core Quick Edit (quickedit) Module 8.6.13
Core RDF (rdf) Module 8.6.13
Core Responsive Image (responsive_image) Module 8.6.13
Core Search (search) Module 8.6.13
Core Shortcut (shortcut) Module 8.6.13
Core Statistics (statistics) Module 8.6.13
Core Syslog (syslog) Module 8.6.13
Core System (system) Module 8.6.13
Core Taxonomy (taxonomy) Module 8.6.13
Core Text Editor (editor) Module 8.6.13
Core Toolbar (toolbar) Module 8.6.13
Core Tour (tour) Module 8.6.13
Core Update Manager (update) Module 8.6.13
Core User (user) Module 8.6.13
Core Views (views) Module 8.6.13
Core Views UI (views_ui) Module 8.6.13
Development Devel (devel) Module 8.x-2.0
Field types Address (address) Module 8.x-1.4
Field types Datetime (datetime) Module 8.6.13
Field types Datetime Range (datetime_range) Module 8.6.13
Field types File (file) Module 8.6.13
Field types Image (image) Module 8.6.13
Field types Link (link) Module 8.6.13
Field types Options (options) Module 8.6.13
Field types Telephone (telephone) Module 8.6.13
Field types Text (text) Module 8.6.13
Multilingual Configuration Translation (config_translation) Module 8.6.13
Multilingual Content Translation (content_translation) Module 8.6.13
Multilingual Interface Translation (locale) Module 8.6.13
Multilingual Language (language) Module 8.6.13
Other AddToAny (addtoany) Module 8.x-1.11
Other Copyright Block (copyright_block) Module 8.x-1.0-rc2
Other Diff (diff) Module 8.x-1.0-rc2
Other Pathauto (pathauto) Module 8.x-1.3
Other PDF (pdf) Module
Other Token (token) Module 8.x-1.5
SEO Metatag (metatag) Module 8.x-1.8
SEO Real-time SEO for Drupal (yoast_seo) Module 8.x-1.5
Spam control CAPTCHA (captcha) Module 8.x-1.0-beta1
Spam control Image CAPTCHA (image_captcha) Module 8.x-1.0-beta1
Spam control reCAPTCHA (recaptcha) Module 8.x-2.4
Statistics Google Analytics (google_analytics) Module 8.x-3.0
User interface EU Cookie Compliance (eu_cookie_compliance) Module 8.x-1.5
Video Embed Field Video Embed Field (video_embed_field) Module 8.x-2.0
Views Views Responsive Grid (views_responsive_grid) Module 8.6.13
Core Bartik (bartik) Theme 8.6.13
Core Seven (seven) Theme 8.6.13
Comments
Comment #2
jrockowitz commentedWhat is being logged in your 'Recent log messages'? (/admin/reports/dblog)
Comment #3
robbmlewis commentedThe dblog is not showing anything... Cleared it, reinstalled, 2 entries...
1. webform module installed.
2. Translations imported: 0 added, 9254 updated, 0 removed.
After install I got the 500 error instead of the proper admin/modules page. This was installing only the base webform module.
Comment #4
jrockowitz commentedHow are you installing the Webform module? Composer or the update UI?
Comment #5
robbmlewis commentedInstalled using composer. Enabled via UI or drush.
Comment #6
robbmlewis commentedWhen enabled through drush, admin/modules still works, the other ones still give a 500 error.
Comment #7
jrockowitz commentedMy best guess is webform is conflicting with one of your existing modules. What is baffling I have most of your contrib module running on my local development environment.
You need to capture the logged error. Have tried looking at the server/php logs?
Comment #8
robbmlewis commentedI'm unfortunately on a remote server so I can't get them.
Which modules do I have enabled that you don't?
I'm going to try to recreate this error on my local machine tonight to hopefully capture the error, but that's not an option at this moment.
Comment #9
jrockowitz commentedDefinitely worth checking this issue via a local sandbox.
I am going to make a wild guess that Drupal.org's recent migration to GitLab might have broken your server's instance of composer.
@see https://www.drupal.org/drupalorg/docs/gitlab-integration/gitlab-frequent...
Comment #10
robbmlewis commentedThis was an issue before the move, about 2 or 3 weeks ago. When I saw that composer upgraded it, I tried again and had the same issues. I know I was running into this throughout the 8.x-5.0-rc days an delayed developing on Drupal 8 because of it a year ago. It works fine in 7.x on the same server.
Comment #11
robbmlewis commentedI cannot replicate on my local machine, but that is running php 7.2.
Ok, I've got it down to the barest of possible installs:
Core Block (block) Module 8.6.13
Core Field (field) Module 8.6.13
Core Filter (filter) Module 8.6.13
Core Shortcut (shortcut) Module 8.6.13
Core System (system) Module 8.6.13
Core Text Editor (editor) Module 8.6.13
Core User (user) Module 8.6.13
Field types File (file) Module 8.6.13
Field types Image (image) Module 8.6.13
Field types Link (link) Module 8.6.13
Webform Webform (webform) Module 8.x-5.2
Core Bartik (bartik) Theme 8.6.13
Core Seven (seven) Theme 8.6.13
I have deleted the vendors and modules/contrib directories and composer.lock and did "composer update" to reinstall fresh files. I am still getting the same errors on the admin pages, including the block page when block enabled and help page when help enabled. I also removed all the libraries in the /libraries directory and still got the errors. CDN versions are the same as what was downloaded.
System setup (admin/reports/status) is:
Drupal version: 8.6.13
Web Server: Apache
PHP version: 7.0.29
Memory limit: 256M
Database version: 5.6.41-84.1
System: MySQL, MariaDB, Percona Server, or equivalent
Warnings:
OPCode Caching is not enabled
Update notifications not enabled
Webform Spam Protection not enabled.
Other settings (all marked good):
GD Library: bundled (2.1.0 compatible)
IMAGE TOOLKIT: gd, GD2 image manipulation toolkit
UNICODE LIBRARY: PHP Mbstring Extension
UPLOAD PROGRESS: Not enabled
WEBFORM: EXTERNAL LIBRARIES
19 libraries (15 installed; 4 excluded; 0 CDN)
Algolia Places 1.16.1 (Installed)
The Algolia Places library is installed in /libraries/algolia.places.
CKEditor: Autogrow 4.10.1 (Installed)
The CKEditor: Autogrow library is installed in /libraries/ckeditor.autogrow.
CKEditor: CodeMirror v1.17.7 (Installed)
The CKEditor: CodeMirror library is installed in /libraries/ckeditor.codemirror.
CKEditor: Fake Objects 4.10.1 (Installed)
The CKEditor: Fake Objects library is installed in /libraries/ckeditor.fakeobjects.
CKEditor: Image 4.10.1 (Installed)
The CKEditor: Image library is installed in /libraries/ckeditor.image.
CKEditor: Link 4.10.1 (Installed)
The CKEditor: Link library is installed in /libraries/ckeditor.link.
Code Mirror 5.44.0 (Installed)
The Code Mirror library is installed in /libraries/codemirror.
jQuery: Input Mask 4.0.6 (Installed)
The jQuery: Input Mask library is installed in /libraries/jquery.inputmask.
jQuery: International Telephone Input 15.0.1 (Installed)
The jQuery: International Telephone Input library is installed in /libraries/jquery.intl-tel-input.
jQuery: RateIt 1.1.1 (Installed)
The jQuery: RateIt library is installed in /libraries/jquery.rateit.
jQuery: Select2 4.0.5 (Installed)
The jQuery: Select2 library is installed in /libraries/jquery.select2.
jQuery: Text Counter 0.8.0 (Installed)
The jQuery: Text Counter library is installed in /libraries/jquery.textcounter.
jQuery: Timepicker 1.11.14 (Installed)
The jQuery: Timepicker library is installed in /libraries/jquery.timepicker.
Progress Tracker 1.4.0 (Installed)
The Progress Tracker library is installed in /libraries/progress-tracker.
Signature Pad 2.3.0 (Installed)
The Signature Pad library is installed in /libraries/signature_pad.
Comment #12
jrockowitz commentedSince this issue now seems specific to your server environment, the first thing you have to do is…
@see https://www.ionos.com/community/server-cloud-infrastructure/apache/how-t...
@see https://bobcares.com/blog/drupal-500-internal-server-error/
Comment #13
robbmlewis commentedthanks, yes, this is looking to be some weird issue on this one machine. I'll turn this closed.
Comment #14
robbmlewis commented