Home
About Me
Résumé
Portfolio
DevOps
C/C++
Drupal
Java
PHP
Ruby
Symfony
WordPress
Blog
Astronomy
Fitness
Photography
RDBMS
Technology
WWF
Pictures
Instagram
Galleries
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
Contact
Search for:
Search Button
Home
About Me
Résumé
Portfolio
DevOps
C/C++
Drupal
Java
PHP
Ruby
Symfony
WordPress
Blog
Astronomy
Fitness
Photography
RDBMS
Technology
WWF
Pictures
Instagram
Galleries
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
Contact
Search for:
Search Button
DevOps
Software Development
Drupal
August 2, 2022
Table of Contents
Securing file permissions and ownership
Login blocked after 5 failed login attempts
Drupal error messages appear on admin/config/search/path/patterns
Drupal Status Report shows that the PHP extensions are disabled
Drupal Status Report shows Tokens Problems detected
Drupal Status Report shows Database 4 byte UTF-8 support is not enabled
The following module is missing from the file system..
Unable to login to Drupal Admin
Unable to send POST variables
PDOException: SQLSTATE[22007]: Invalid datetime format: 1292 Incorrect datetime value
autodiscover/autodiscover.xml
Knowing what version of Drupal runs on a website?
{{ HOST_NAME }} redirected you too many times
Updating project captcha failed. Destination directory /usr/local/www/apache24/data/sites/all/modules/captcha already exists
Homepage has no CSS
Drupal Updates Procedure
Requirements Gathering
Design
Development
1. On macos
2. On {{ HOST_NAME }}
Testing
1. Drush
2. .htaccess
3. update.php
4. cron.php
5. Testing with Simpletest
6. Password Resets as Admin
7. Password Resets as User
8. Status Report
9. jQuery
10. Drupal 3rd party libraries
11. Theme: AdaptiveTheme
12. Module: SSO/SAML Authentication
13. Module: Simpletest
14. Module: Security Review
15. Module: Site Audit
16. Module: Unused modules
17. Module: Hacked
18. Module: MD5 Check
19. Module: Security Kit
20. Module: Apache Solr
21. Module: Node Export
22. Module: Node Revision Delete
23. Module: Database Optimizations
24. Module: Search and Replace
25. Module: Google Captcha
26. Module: CKEditor
27. Module: XML Sitemap
28. Create new content
29. ROM Event Registrations
30. Form Submissions
31. New Modules
32. Rewrites
33. Additional Findings
Deployment
1. On macos
2. On Bitbucket
3. On {{ HOST_NAME }}
4. Notify ITS manager
Maintenance
User warning: The following module is missing from the file system
Web forms are getting a lot of spam
Updating Ticket Membership Levels on Drupal DB
Drupal Syslog is not working
Error – mPDF requires mb_string functions
WEB-277 – Drupal views module
HTTP request status – Fails
The requested URL node was not found on this server
Unable to login to Drupal on MacOS
Setting up Drupal 7 with Apache Solr 6.6
Search API Solr search
Setting up Solr
Using a hosted solution
Installing Solr manually
Installing Solr with Ansible
Installing Solr 6.x
Basic setup
Running Solr
Config files
Troubleshooting
Making Solr start automatically
Warnings and notes
Configuring the Search API server
HTTP protocol, Solr host, Solr port, Solr path
Basic HTTP authentication
Advanced » Return an excerpt for all results
Advanced » Retrieve result data from Solr
Advanced » Highlight retrieved data
Advanced » HTTP method
Advanced » Autocomplete
Troubleshooting 25.1
Special server features and pitfalls
Pecularities / Specifics
Solr’s commit behavior
Problems with maxWarmingSearchers
Multiple sites with a single Solr server
Non-English and multilingual sites
Supported server features
Hidden variables
Keeping Solr data for dev servers separate
Customizing your Solr server
Troubleshooting 25.2
Setting up Drupal 7 with Elasticsearch
An AJAX HTTP error occurred. HTTP Result Code: 500
Staff mistakenly deleted nodes and files
Restoring from backup deleted nodes
Awesome Module: Administration Views
Awesome Module: Hacked
Awesome Module: LDAP
Error. Unresolved Dependencies
PDOException: SQLSTATE[HY000] [2002] Permission denied in lock_may_be_available() (line 167 of /var/www/html/includes/lock.inc)
File system: The directory sites/default/files is not writable
File system: The directory sites/default/files is not writable
Roles – Drupal user unable to view any unpublished content
Awesome Module: Unused Modules
Unused Projects
Fully Disabled
Also Enabled
Unused Modules
Fully Disabled
Also Enabled
phpmailerException: SMTP Error: Could not connect to SMTP host. in PHPMailer->SmtpConnect()
Database 4 byte UTF-8 support – Enabled, but database tables need conversion
Awesome Module: Administration Menu
Drush unable to run commands
Setting up Drupal Azure AD Authentication
Drupal Tokens
Blocked user victord due to security configuration.
Solr search results shows no images
Drupal 8 initializing…
Drupal Solr Search Server shows unpublished events
Drupal Optimization
Cron jobs.
Disable unused and non-essential modules
Disable the Statistics Module
Disable the Update Manager Module in Prod
Core Performance Settings
Views Caching
System Administration
WEB-1644 – Drupal Views – Duplicated Content
WEB-1751, WEB1755 – Image Captcha
Security review
User Management
Creating Users
Deleting Users
File Management
Awesome Module: Search and Replace Scanner
Drupal Environments
PHP Fatal error: Class ‘SelectQueryExtender’ not found in /var/www/html/public/includes/pager.inc on line 15
MacOS Apache is redirecting me to CentOS Apache
Unable to install Drupal on MacOS
Unable to restore Drupal on CentOS
CKEditor
Could not login with user ID 0
ROM Scratch
French translation not working
Unable to restore Drupal on CentOS (2)
SAML SSO Authentication not working
Drupal Permissions
CSS updates not working
Webforms with AWS S3 Integration
Upload progress not enabled
SAML SSO module update
Switching environments
Uninstalling the module
Installing the module
Updating the module
Verifying update
WEB-2269 – Views caching outdated content
SAML SSO module update (2)
Error: Call to undefined function webform_replace_tokens()
Awesome Module: MD5 Check
Awesome Module: Site Audit
Drupal Updates Issue
Your browser doesn‘t support pasting with the toolbar button or context menu option
On MacOS
Chrome
Firefox
Safari
On Windows
Chrome
Firefox
Edge
Sitemap.xml explained
Problem:
Solution:
Problem 2:
Solution 2:
Roles – Drupal user unable to add Press Releases
504 Gateway Timeout
Some files and directories in your install are writable by the server
Drupal 3rd party libraries
With Composer
Updating Flexslider – Succeeded
Updating MPDF – Succeeded
Updating JPlayer – Succeeded
Without Composer
Updating Colorbox
Updating Word and Character Counter
SAML SSO module update (3)
Problem:
Solution (Not yet found):
Problem 2:
Solution 2 (Not yet found):
Awesome Module: Advanced CSS/JS Aggregation
Problematic Module: Transliteration
ROM Drupal: Content not displaying properly
Auto-login
Clean URLs cannot be enabled
Drupal Stats
Drupal Explained
Cannot modify header information
Theme development
Awesome Module: Devel
Overview
Awesome Module: Webform (>=4.0)
Ajax calls are not working
Find content search is not working
Unable to login to Drupal (2)
ROM Events Development (TO BE COMPLETED)
Parent Events
Child Events
Password Resets
User does not have Scheduling Options permissions
User does not have Authoring information permissions
User does not have ROM Magazine Article (Machine name: article) permissions
Drush
MacOS – Installing Drush (multiple versions)
1) Install Composer (Check MacOS – composer.docx)
2) Pick a Location
3) Install Drush 9
4) Install Drush 8
5) Install Drush 7 (No longer needed)
6) Install Drush 6 (No longer needed)
7) Install Drush 5 (No longer needed)
8) Alias The Directories
9) Test The Aliases
10) Soft Linking
11) Profit
Create aliases
That’s it. Happy Drushing…
FreeBSD – Installing Drush (multiple versions)
Uninstall existing Drush instances
Install Composer
Install Drush 9
Install Drush 8
Install Drush 7 (No longer needed)
Install Drush 6 (No longer needed)
Decide which drush version you need to run
CentOS – Installing Drush (multiple versions)
Install Composer
Install Drush 9
Install Drush 8
Install Drush 8
Next, decide which drush version you need to run
Updating Drush
On MacOS
On CentOS
A simple drush8 @ts8 status complained and gave away many errors such as these:
Clearing Drupal cache seems to throw these unwanted errors.
Composer is not working.
Destination directory /usr/local/var/www/htdocs/romlx12/data/sites/all/modules/captcha already exists.
Drush command terminated abnormally due to an unrecoverable error.
Drush requires composer
Updating software packages with composer
File Permissions with drush
Awesome module: Node Export
Node Export – failed to open stream: No such file or directory node_export.drush.inc:243
Node Export – failed to open stream: Permission denied node_export.drush.inc:243
Drush update fails
Invoking drush from a more functional Drupal environment to run this command
Drush won’t update Drupal core,
Drush won’t update Drupal core – pm-updatestatus failed
URL redirects with Drush
Awesome Module: Database Optimization with Drush
Problem 1:
Solution 1:
Problem 2:
Solution 2 (Not yet found):
Awesome Module: Node Revision Delete
Command XXX needs a higher bootstrap level to run
Awesome Module: Paranoia
[current-date:view_date]
No Results
Table scanner already exists
Node Export – Integrity constraint violation
Drush is not working
No Drupal site found, only ‘drush’ cache was cleared.
No Drupal site found, only ‘drush’ cache was cleared.
LAMP stack got screwed by brew upgrade
Uninstalling a Drupal core module
Uninstalling a Drupal non-core module
Command pm-info needs a higher bootstrap level to run
Destination directory /usr/local/www/apache24/data/sites/all/modules/contrib/media already exists
Unable to run commands
Unable to unblock users
Unable to generate Drupal Login link properly
Unable to execute SQL queries with Drush
PHP Fatal error: Class ‘SelectQueryExtender’ not found in /var/www/html/public/includes/pager.inc on line 15
dyld: Library not loaded
Could not login with user ID 0
Base table or view not found: 1146 Table ‘rom.watchdog’ doesn’t exist
Drush command terminated abnormally due to an unrecoverable error
PHP 8.0 – Drush is not working
PHP 7.2 – Drush is not working
Node Export – failed to open stream: Permission denied node_export.drush.inc:243
Node Export – File field found on node, but file doesn’t exist on disk?
devops
,
Drupal
,
PHP
,
software development
Written By victord On August 2, 2022