Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Drupal redirects to /core/install.php when I try to open page including a SQLite query
I have a Drupal site on a web server. On one page of the site, I want to print out information from a sqlite database. But if I enter the url to the page, I get redirected to /core/install.php
I integrated the database into the /sites/defualt/settings.php with the following code:
In FillPDF, class FillPdfFormField extends ContentEntityBase. The method ::baseFieldDefinitions() uses BaseFieldDefinition::create() to create a bunch of fields. I need to write an update hook to change one of these from type string to string_long.
Is it always necessary to do a dependency injection for a service within a class if we will only use that service once inside the class? According to the Drupal documentation, is that recommended, but for practical purposes, is that useful?
I have custom table having thousands of rows. I want to send the emails to the users by fetching the data from rows at specific time.
i am using Cron job but issue is this ---- timeout issue occurs. As fetching the thousands of rows and manipulate the data takes too much time. Can any one help me ? is there any way to use queue with cron.
thanks ..