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['...
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 ...
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
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
423
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
517
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 ...
1
vote
2
answers
1k
views
duplicate cache pages: Varnish
Recently we have configured Varnish on our server, it was successfully setup but we noticed that if we open any page in multiple browsers, the Varnish send request to Apache not matter page is cached ...
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:
[...
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 ...
1
vote
2
answers
497
views
can't login to SSH with Bitnami Drupal AMI on AWS Marketplace
I have the Bitnami Drupal AMI that is on the AWS marketplace.
https://aws.amazon.com/marketplace/pp/ref=bill_eml_1?sku=5ysj40wf1vkv5qwu3jszwhefa
I can't SSH to it in EC2.
Tries to use user ubuntu.
...
7
votes
2
answers
3k
views
All PHP sites stopped working on IIS7, internal server error 500
I installed multiple drupal 7 sites using the Web Platform Installer on Windows Server 2008.
Until know they worked without any problems, but recently internal server error 500 started to show up (...
0
votes
1
answer
676
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
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
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 ...
0
votes
3
answers
646
views
MySQL connection error on drupal system
here's the error message:
The MySQLi error message was:
"Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)."
here's the url: http://bang-on.com
i have no idea ...
1
vote
1
answer
1k
views
Clean Url problems WIth ubuntu apache , php-fpm, fastcgi
Well this is a kind of repost of this, but no one has replied to my question so far, so I am here.
I am using Apache/2.2.17 (Ubuntu) mod_fastcgi with php-fpm and I can't enable clean URLs as the site ...
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
481
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
2k
views
RewriteRules in .htaccess in subdirectory disabling/breaking RewriteRules in .htaccess in parent directory
This is a shared hosting account with HostGator.
I've two .htaccess files.
One is in the document root: ~/public_html/.htaccess
# this is ~/public_html/.htaccess
## Redirect to https:// ##
...
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 ...
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
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:
...
1
vote
1
answer
2k
views
MySQL cluster for Drupal?
We have a pretty busy site based on Drupal and I was thinking of introducing some form of clustering for HA and Load balancing.
However, http://drupal.org/requirements says: Drupal supports MyISAM ...
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.
...
7
votes
4
answers
7k
views
Load balanced Drupal servers: a good way to share data among the servers?
I'm trying to get an overview of how i would go about creating a load balanced web server setup. Setting up the actual load balancer and adding two or more web servers seems fair enough. However, I ...
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
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 ...
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 ...
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/...
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)...
5
votes
2
answers
16k
views
Varnish 503 error after exactly 60 seconds... how to change this timeout value?
I'm running Varnish over Apache on a Drupal site. I have a PHP script that executes on a certain path of my site, and takes a really long time... like 60 - 120 seconds. When trying to access that page,...
0
votes
4
answers
3k
views
Upgrade from php53 to php53u (epel to IUS repositories) - Centos 6.4
I want to upgrade my CentOS 6.4 server from php53 (epel repository) to php53u (ius repository).
I already enabled the ius repository, but am hesitant to just play around because there are production ...
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 ...
2
votes
1
answer
65
views
Server error with large posts
On a large drupal site, the database server is on a separate server connected directly to the web server. The web server uses apache and memcached. The problem is that whenever the post is a large, ...
5
votes
4
answers
50k
views
SSL - how to make both http and https work
I have set up a Drupal 6 site on a dedicated server, and enabled SSL through the "Matrix" control panel which was installed on it.
The problem is now, the site ONLY loads pages from https. Most of ...
0
votes
6
answers
365
views
Advice about hosting [closed]
I would like to ask you about hosting, maybe it's a 'stupid' question, but I'm starting to manage with this, and I need some help.
I need to find a hosting for some web sites (8 web sites created ...
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