Questions tagged [drupal]
Drupal is an open-source, database-backed CMS written in PHP. It is maintained and supported by a worldwide community. Questions about installing and maintaining Drupal belong on Drupal.SE
269
questions
0
votes
0
answers
32
views
File System Private download method not Writeable -Drupal
Giving File System error that it is not writeable or folder does not exist on Production Env
Drupal version - 9.5.9
Server we are using Amazon Linux2
I have added line in setting.php $settings['...
0
votes
0
answers
82
views
Drupal 9.4.8 Webform Authorization Bug Causing [authz_core:error]...AH01630
I'm fairly new to Drupal, about 4 months experience. Everything was going fine till I started working on a webform over the weekend with a twig "If else statement" when I inadvertently added ...
0
votes
1
answer
425
views
How to upgrade a MariaDB database to utf8mb4_unicode_ci?
I have a Drupal 9.4.8 website a MariaDB database and phpMyAdmin.
My website is already active with data in its 220 MB database.
How to upgrade a MariaDB database to utf8mb4_unicode_ci ?
Here is my ...
0
votes
1
answer
518
views
Error 503 service unavailable - varnish,drupal & nginx
We are having a Varnish server which is running in port 6081 and an NGINX server hosting drupal website on another server. So, the VCL file is as below:
# Default backend definition. Set this to point ...
1
vote
2
answers
786
views
Nginx Server with multiple applications on sub-directories
My team has a server we use for internal tools and tests. It has a subdomain pointing to it: myserver.mycompany.com. What we're trying to achieve is to have multiple applications, each with under a ...
0
votes
1
answer
363
views
Elastic Beanstalk deploying files that are in .ebignore / .gitignore
I have a Drupal app that is deployed with Elastic Beanstalk from a Mac machine, using the latest version of the EB CLI. The repository is an ordinary GitLab, AWS CodeCommit is not used.
Unfortunately, ...
0
votes
1
answer
825
views
Private file storage area settings in Drupal 9.3 ($settings['file_private_path'] =)
I use Drupal 9.3 and I have created a private folder outside the root directory. I followed the documentation [link] and added the following line in my settings.php file in drupal:
$settings['...
0
votes
1
answer
594
views
Drupal in subdirectory behind reverse proxy
On my public-facing host, Apache works as reverse proxy to a non-public host, where a Drupal 9 instance is symlinked under the web root. Drupal answers to requests, but it outputs any local links with ...
0
votes
0
answers
122
views
Varnish caching issue in the 'Add to cart' section ,,, Drupal,Nginx,Php-Fpm
We are running an ecommerce site configured by drupal with nginx & php-fpm. We also use memcached with mysql database.The service was running smoothly before we enabled the varnish caching. After ...
0
votes
1
answer
678
views
Drupal 9 files storage on Azure App service
Been fighting with the problem for a month now. Have Drupal 9 set up on Azure App service with docker images running php8 (base image drupal:9.1.7-php8.0-apache) I have found out that there are two ...
0
votes
1
answer
120
views
Drupal with Appearance is not able to see Theme - mystery [closed]
With Drupal I got a new Mac and I installed the Drupal item and went well.
However when I am looking at 'Appearance' I can not see 'Install new theme', it's not there, basically it's missing.
I have ...
1
vote
1
answer
563
views
Enabling AMP parameters in Nginx
I'm trying to enable AMP pages on my drupal website on a VPS running on CentOS 7 and nginx.
Previous web server was Apache and I changed it to Nginx for better performance due to daily requests.
...
0
votes
1
answer
318
views
nginx: how to serve multiple site on same domain name without virtual hosting?
I'm new of nginx.
I read some documentation to install it and configure it with drupal 8.
I have my server installed on linode. i access through ip address, not virtual host.
My drupal is located in ...
1
vote
1
answer
482
views
modsecurity3: replace rule with a custom one for a specific URI
In a crs 3.2 there is a rule with ID=941320 which prevents CKEditor to work within drupal.
CKEditor is a wysiwyg that produces html and attempts to upload it to server. Modsecurity 3 with crs blocks ...
1
vote
1
answer
293
views
Error sending email (from [email protected] to [email protected] with a response to (reply-to header) to undefined)
I have a Drupal 8 site installed on an Ubuntu 18.04 server with PostFix.
I am able to send and receive emails, but the server cannot send notifications to itself.
The email server address is contact@...
0
votes
2
answers
2k
views
PHP Fatal error: tried to allocate 47264368 bytes
While running a website hosted into two app servers via load balancer, suddenly one app server stopped working and got hang. From the other app server access log found 499 status and also load average ...
1
vote
0
answers
141
views
Best Way to Achieve Solr Resilience for Drupal With Two Solr Nodes Available?
I'm trying to figure out the best way to deploy solr (6.6.6) on two nodes in conjunction with Drupal 7 to provide some kind of resilience.
The first problem is that Drupal only supports the concept ...
0
votes
0
answers
33
views
Cannot add a domain to existing drupal 7 site
Sorry in advance if this is a dumb question, I can't seem to figure out how to add a domain name to a D7 site, (currently using an IP). The website is hosted on digitalocean, the new domain is from ...
0
votes
0
answers
99
views
How to diagnose: Ubuntu 16.04 error 403 forbidden in response to GET from updates.drupal.org
None of the 3 Drupal websites on this server are able to show available updates. Error message is:
GuzzleHttp\Exception\ClientException: Client error: GET
http://updates.drupal.org/release-...
-1
votes
1
answer
2k
views
My Nginx server is not working
I have an Apache server on Ubunu 18.04 with a Drupal 8 site that I want to migrate to Nginx and PHP7.3-FPM.
This is the only site on the server. I do not know Nginx at all. The site works with Apache ...
0
votes
1
answer
400
views
Varnish default.vcl to cover both Drupal and a simple regular website
I have a simple PHP index file website that changes color if refreshed on port 8080, but correctly shows the cached version of the page with the same color thanks to the following default.vcl:
...
2
votes
0
answers
571
views
Drupal / nginx redirect domain without changing URL with proxy_pass
We have a Drupal 8 website which runs about 18 languages, but only the Chinese one has a separate domain. We want this domain, which for testing purposes is testchinese.com to redirect in the ...
0
votes
2
answers
6k
views
Client denied by server configuration on Apache 2.4
We have migrated multiple Drupal 7 / 8 sites to a new stack, where the main changes were replacing Apache 2.2 and FastCGI with Apache 2.4 and PHP-FPM.
We have the following error on multiple sites:
[...
2
votes
1
answer
201
views
drupal and remote database
I get error "Failed to connect to your database server. The server reports the following message: SQLSTATE[HY000] [2003] Can't connect to MySQL server on '192.168.0.20' (13)." while installing drupal.
...
0
votes
1
answer
182
views
How can I configure sites like subfolder on nginx?
I want to configure 3 sites on nginx (Drupal sites)
www.domain.com == served in ==> /var/www/domain.com/
www.domain.com/folder01/ == served in ==> /var/www/folder01/
www....
1
vote
1
answer
518
views
leader_only is not working in Elastic Beanstalk
We are doing CI/CD for drupal site using Jenkins. Now, we need to run drush commands which we should run only in single instance.
For this, we have created elastic beanstalk config script with ...
1
vote
0
answers
97
views
Add a fake subdirectory to uri
When installing drupal 8 with composer, the default installation moves to the subdirectory /web.
When visiting the root at http://example.com apache 2.3 serves a 403, but when visiting http://example....
0
votes
3
answers
442
views
Ansible playbook errors for installing Drupal
Please help in resolving the errors for the below playbook.
There are few other playbooks and all that's for setting up Drupal.
The below playbook is part of that setup which is throwing error.
--...
0
votes
1
answer
1k
views
Nginx with php-fpm url encoding
I have also posted my question in Stackoverflow but i think here is more appropriate place to ask.
I use docker and i have setup a nginx container with nginx 1.12.2, a php-fpm container with 5.6.33 ...
1
vote
1
answer
453
views
How to configure .htaccess to bypass specific subdirectories?
I have three directories, Dir1,Dir2 & Dir3 in the root of my Drupal installation. I want to bypass these directories.
I have tried the below in .htaccess and its not working (Allowing ...
0
votes
1
answer
665
views
Zabbix - monitoring version numbers of software on a server (Drupal websites)
I have a web server that is running the Zabbix Agent (3.4.x), reporting the normal stuff back to a Zabbix Server. The web server runs a number of websites based on common software (Drupal, Magento etc)...
0
votes
1
answer
70
views
Site hacked, need help to look for clues about how it happened [duplicate]
i recognized a successful hacking attempt where someone managed somehow to modify a file under my drupal installation and to inject javascript code
the file that was hacked was :jquery-1.9.1.min.js ...
0
votes
1
answer
1k
views
Is it safe to give ownership of files to “daemon”?
I was having trouble uploading files using my CMS (Drupal). When I put more restrictive file permissions on, I could not upload anything. Then I changed the owner of the upload directory and all sub-...
0
votes
1
answer
213
views
MySQL account has password, but only logs in without it
I am running Windows Server 2012 R2 trying to host a Drupal site. Because it is Drupal, I am trying to connect to a MySQL server rather than a MSSQL server. I created a new schema as well as a new ...
1
vote
1
answer
81
views
Civicrm - Add SPF Record, All Emails are going to spam,
All of my civicrm email's are going to spam.
do i have to add SPF records for it? and if yes what it would be?
For more details:
https://www.screencast.com/t/hG2xCuBuE
1
vote
1
answer
545
views
Apache rewrite mod breaking apache
I am setting up Drupal Open Atrium, and halfway through the configuration receive an error:
Clean Urls must be available and enabled to use OpenAtrium.
https://www.drupal.org/docs/7/configuring-...
0
votes
2
answers
443
views
Possible SQL Injection and malformed URLs on Drupal Server
We have a Production Drupal server serving content but some pages are broken when a pager link is clicked upon. It was found that the URL's are being changed with unrecognizable keywords. For example,
...
2
votes
1
answer
3k
views
NGINX + Drupal installed in subfolder on linux server
I'm trying to configure the server like this have this accessible addresses:
domain.com/webmail (webmail app)
domain.com/app (node.js app)
domain.com/mailadmin (mail administration app)
domain.com/...
0
votes
1
answer
223
views
Performance issue on drupal
I am running a drupal 7 website on a Linux server (with 4 cores and 12GB RAM) with LEMP (nginx+php5-fpm+mysql).
The drupal installation has a large number of modules enabled(all of which are needed).
...
1
vote
0
answers
841
views
Directory Index forbidden on sites/default/files - Drupal NGINX
We noticed this error when users filled up forms on our Drupal site, attached an image and saved it. To identify the root cause (I expected it to be an ownership or a directory permission issue). I ...
0
votes
1
answer
885
views
Integrating Web Application Firewall into this architecture
I need some help figuring out how to implement a Web Application Firewall (WAF) in my existing architecture.
Currently I have 2 HAproxy servers clustered using keepalived which are responsible for ...
0
votes
0
answers
454
views
Drupal on Apache: Consecutive PHP errors "Maximum execution time of 240 seconds exeeded"
This Apache/MySQL server (Debian 8) running a Drupal site shows a strange behaviour:
There's always one Apache process running with 100% CPU utilization (according to htop). Every four minutes (~240 ...
0
votes
1
answer
383
views
Where to place the .htaccess file on OpenShift for Drupal?
I would like to redirect to https and add this code to a .htaccess file for Drupal. Where should I place this file?
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^www.domainname\.com*
...
0
votes
1
answer
254
views
Drupal 8.0.5 and FreeBSD 10.2 Issues
I am running a FreeBSD 10.2 server with Apache 2.4.18, php56-, and SQL 57. I am trying to install Drupal 8.0.5, but I am stuck. I got the PHP stuff working, as well as the clean URL things that drupal ...
0
votes
1
answer
275
views
How to show/include originating domain/application in Postfix logs
I have a server which hosts a number of applications mostly built with Drupal. These applications are configured to send mails and Postfix is my MTA.
Is it possible to have the applications and/or ...
0
votes
1
answer
65
views
Trying to get property of non-object in advagg_font_admin_settings_form()
I enabled the module Advanced CSS/JS Aggregation (advagg) 7.x-2.17 on Drupal 7 and now in my admin page admin/config/development/performance/advagg/font I see a warning:
Trying to get property of non-...
2
votes
1
answer
1k
views
index.php 403 in Drupal on centos 7 with SELinux enabled [duplicate]
i tried to install drupal on centos, i have configure my server (install httpd, mysql, php, etc) everything looks good until the last part: hit the url to install drupal
the problem here is once i ...
1
vote
1
answer
1k
views
Nginx limit_conn inheritance
I am trying to protect Drupal running on Nginx from simple DDoS with limit_conn and limit_req. But I encountered some strange behavior with inheritance of limit_conn directive which I cannot explain.
...
1
vote
0
answers
192
views
Drupal multi-site, virtual hosts and CloudFlare
I'm hoping that someone with some experience with CloudFlare can lend me some guidance.
Background
Drupal multi-site hosting 200+ sites, launching new sites on a regular basis.
Single IP for all ...
0
votes
1
answer
795
views
Should I use Drupal with Nginx or Apache? [closed]
I'm currently running my own built server, where I host my own coded website, as well as websites I have built for local businesses. Currently it's running Ubuntu server edition, with Nginx. I already ...