Having problems installing Drupal? See the Installation Guide for more information.

Copy drupal 7 to subdomain, problem with htaccess

Hi

I want to duplicate my Drupal 7 site on the same server, the duplicated site is abc.domain.uk, a copy of domain.uk / www.domain.uk.

The original site htaccess has this:

RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^www\.domain\.uk*
RewriteRule ^(.*)$ https://domain.uk/$1 [L,R=301]

For the subdomain, I have copied the htaccess file over from original site, and changed the relevant lines to

RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^abc\.domain\.uk*
RewriteRule ^(.*)$ https://abc.domain.uk/$1 [L,R=301]

When I load http://abc.domain.uk, it redirects to https://abc.domain.uk, but does not load any of the css. Looking further, what is obvious is that all the "import url" is http, rather than https. Also, all other links to css (in html.tpl.php?) remains http.

Drupal 7 installation error

Hi, can anyone help me to solve the following error to continue with the drupal 7 installation.

  • Deprecated function: ini_set(): Use of mbstring.http_input is deprecated in include_once() (line 271 of C:\xampp\htdocs\drupal\sites\default\settings.php).
  • Deprecated function: ini_set(): Use of mbstring.http_output is deprecated in include_once() (line 272 of C:\xampp\htdocs\drupal\sites\default\settings.php).

 In php.ini, I changed the following lines,

Drupal 9 install error: Parse error for bootstrap.php

I've been trying to install 9.2.2 without luck. Each time I try to begin an install, I get this error: 

"Parse error: syntax error, unexpected ':', expecting '{'  on my/site/domain/ in vendor/symfony/polyfill-php80/bootstrap.php on line 23.

I get the same error whether I install the archive via CPanel, a direct download from drupal.org or through composer. Any clues to the answer?

Drupal 9 $base_url location

Hi!

I'm using drupal 9. Working on xampp(localhost) server. I have imported database and and copied the project in xampp folder. When I run the project, Home page works fine but If I click on any other pages(like about-us), the site redirects to old site. 

I tried searching for $base_url in settings.php. But I didn't find the line. I'm new to drupal. Kindly help me.

Deployment of Drupal on Windows server 2019

How to deploy Drupal on windows server 2019?

composer create-project drupal/recommended-project

Hello and thank you in advance !

I am new to Drupal and I am having some issues installing Drupal with composer for some reason once I type  "composer create-project drupal/recommended-project folder" in the folder I want to create my new project it just stays there without any further progress or response from the terminal just "Creating a "drupal/recommended-project" project at "./folder" " I don't know what is happening...

Pages

Subscribe with RSS Subscribe to RSS - Installing Drupal