Account created on 11 February 2009, over 16 years ago
#

Recent comments

πŸ‡ΊπŸ‡ΈUnited States diamondsea

diamondsea β†’ changed the visibility of the branch 3503229-send-email-via to hidden.

πŸ‡ΊπŸ‡ΈUnited States diamondsea

Add drush email command

πŸ‡ΊπŸ‡ΈUnited States diamondsea

Initial patch

πŸ‡ΊπŸ‡ΈUnited States diamondsea

Added AstonVictor as a Maintainer

πŸ‡ΊπŸ‡ΈUnited States diamondsea

I'm listed as a Moderator, but I don't have access to add new moderators, so assigning this to @rballou. I previously merged in your other issue.

πŸ‡ΊπŸ‡ΈUnited States diamondsea

diamondsea β†’ made their first commit to this issue’s fork.

πŸ‡ΊπŸ‡ΈUnited States diamondsea

Using an account that has `sudo` permissions (can run commands as the `root` user), run the appropriate one of these for your operating system

# For Ubuntu / Debian style Linux version
sudo apt install php-pdo php-mysqlnd

# For RedHat / Centos / Amazon Linux style Linux versions
sudo yum install php-pdo php-mysqlnd
πŸ‡ΊπŸ‡ΈUnited States diamondsea

Added missing right-paren.

πŸ‡ΊπŸ‡ΈUnited States diamondsea

Note that image styles won't work properly without mod_rewrite. See πŸ› Add requirement error if Apache does not have mod_rewrite enabled Needs work .

πŸ‡ΊπŸ‡ΈUnited States diamondsea

If I am understanding things correctly, in /core/modules/system/system.install:109 it says:

    // If the Apache rewrite module is not enabled, Apache version must be >=
    // 2.2.16 because of the FallbackResource directive in the root .htaccess
    // file. Since the Apache version reported by the server is dependent on the
    // ServerTokens setting in httpd.conf, we may not be able to determine if a
    // given config is valid. Thus we are unable to use version_compare() as we
    // need have three possible outcomes: the version of Apache is greater than
    // 2.2.16, is less than 2.2.16, or cannot be determined accurately. In the
    // first case, we encourage the use of mod_rewrite; in the second case, we
    // raise an error regarding the minimum Apache version; in the third case,
    // we raise a warning that the current version of Apache may not be
    // supported.

However, due to security issues from SA-CORE-2013-003 β†’ the ability to have the FallbackResource directive function in the sites/all/files/ directory was disabled, resulting in image styles not being correctly rendered without mod_rewrite.

As a result, the requirements might be better updated in this section of code.

Thoughts?

πŸ‡ΊπŸ‡ΈUnited States diamondsea

Patch file adding the requirement to the image module (where image styles are managed).

πŸ‡ΊπŸ‡ΈUnited States diamondsea

Is Apache mod_rewrite still a requirement?   It says it is here:

The Apache 'mod_rewrite' extension is required. It is used for  clean URLs β†’ .

but in πŸ› Regression fix: allow Drupal 8 to work without Apache mod_rewrite Fixed it says it isn't required because it can use the Apache FallbackResource directive. 

However, my install doesn't seem to work without it (image styles don't render correctly).  However, there is also no requirement check for it on the status page.   

Anybody able to provide some clarity on this?

πŸ‡ΊπŸ‡ΈUnited States diamondsea

Reiterating #21, after applying the updated code, you need to click Save on /admin/config/user-interface/easy-breadcrumb to update the settings and then re-export (drush cex) your config files. In my case this resulted in the config following changes (not having changed any settings, just clicking Save to update):

+alternative_title_field: ''
+menu_title_preferred_menu: ''
-capitalizator_ignored_words: null
+capitalizator_ignored_words: { }
+limit_segment_display: false
+segment_display_limit: null
+truncator_mode: false
+truncator_length: null
+truncator_dots: false
+remove_repeated_segments_text_only: 0
+home_segment_validation_skip: 0

Perhaps there should be an update script that makes these changes automatically?

πŸ‡ΊπŸ‡ΈUnited States diamondsea

Can confirm the same problem on our Ubuntu servers with Drupal 9.5.9 and filefield_paths 1.0.0-beta6. Setting a private location in settings.php and setting /admin/config/media/file-system/filefield-paths to private://filefield_paths/ also worked as a workaround.

πŸ‡ΊπŸ‡ΈUnited States diamondsea

added missing colon

πŸ‡ΊπŸ‡ΈUnited States diamondsea

Added directions for setting the option on AWS RDS systems.

πŸ‡ΊπŸ‡ΈUnited States diamondsea

I was able to fix this on my new Ubuntu install with by installing the php-mysql package:

sudo apt install php-mysql

sudo service apache2 restart

Production build 0.71.5 2024