Questions tagged [installation]

Use it for questions about the installation of Drupal, modules, or themes.

140 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
2k views

How to update a library through drush or git url? what about update chosen library?

I am new with Drush and git... previously I use to work with Ftp so at the moment I would like to know How I can update a common library by using drush or by using git (library url). I know that in ...
2
votes
1answer
1k views

Installation keeps complaining that Unicode library (mbstring) should be disabled, even though it seems it already is

I'm trying to install Drupal 8.1.3. (Apache 2.4.7, PHP 5.5.37, Windows 7) In the "Verify Requirements" step Drupal keeps complaining Unicode library -- Error -- Multibyte string input conversion ...
2
votes
2answers
879 views

How to resolve my Open Atrium installation error?

I am very new to open atrium. I installed Open Atrium and now the home page is not loading properly. Instead I have the following error: Warning: file_put_contents(temporary://fil29F1.tmp): failed ...
2
votes
0answers
439 views

Unable to install themes on new Drupal install

Note: I'm self hosting Drupal so I have full access to the server -- searching for this error seems to only bring up solutions to shared hosting situations. I'm running a Drupal multi-site ...
2
votes
2answers
131 views

Using drush up with --gitinfofile

I tried to manage drupal modules with the --package_handler=git_drupalorg which needed me to add the --gitinfofile option. Using drush dl this works but if I try to update my modules with drush up the ...
2
votes
0answers
313 views

How can I bundle installation profile with translation (*.po)

I have tried a few different approaches to load a translation file (.po) from an installation profile. The build is pretty close to being typical: a make file downloads core, custom profile and ...
2
votes
0answers
707 views

SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes

Attempting to install Drupal 7.16 (also attempted 7.12) onto my local machine, I get the following error at the database stage. SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key ...
2
votes
0answers
54 views

Problem in creating instances (creating two sample modules)

I just started learning how to develop modules in drupal 7 using entities. I am creating two modules Artwork and Windfarm in artwork i am adding 2 custom fields (artist_name and Location) in Windfarm ...
2
votes
0answers
3k views

Modules are not showing in the list of modules

When I add new modules in the production website, they don't shown up the list of modules. So, I took a copy, and changed the values in the database, the content of the settings.php file, and the ...
1
vote
1answer
61 views

I installed Solr for the Search API Solr can someone can give me hints what i could have done wrong?

I'm currently running a CentOS 7 server with cPanel and Drupal 8. I installed Solr 8.8.1 and I can access the administratrion page where I an able to create cores. I installed the Search API module ...
1
vote
0answers
58 views

How do you call an install function that did not run during install?

I am using the Currency Taxonomy module to get all valid currencies around the globe as taxonomy terms. On installing the module, I got the taxonomy vocabulary but not the terms. The code to add the ...
1
vote
2answers
117 views

Can I have Composer or something else download a Git repo as a dependency of my contrib module?

I'm working on a module and there is a sub module for scanning barcodes that requires this, quagga. Currently you have to manually download the library and put it into the libraries dir. If I add this ...
1
vote
1answer
270 views

Unable to uninstall the Field Collection module

I want to remove field collection module in Drupal 8 as the module has been deprecated. When I try to uninstall after removing the fields from content type the option to uninstall is greyed out. I ...
1
vote
1answer
76 views

How to delete paragraph when uninstalling the module?

I have been creating the custom module which have the paragraph configuration, when installing the custom module, the paragraph config will be stored in the database and then It will be available in ...
1
vote
0answers
77 views

Progress bar freezes during Drupal installation

When I install Drupal 8via composer on Centos7 with php7 the Progress installation bar does not budge unless I refresh the browser (Tried Chrome, opera and Firefox)but it does not install properly. I ...
1
vote
0answers
17 views

What does the code status "build: error" signify for Drush 8?

On the install page for Drush 8, under the section "Drupal Compatibility", the code status is listed as "build: error". What are the consequences of this, if any?
1
vote
0answers
934 views

Using composer to install Drupal 8 on Debian 9 (Stretch)

I have already installed various Drupal 8 sites using composer in various environments and I am trying to do it now on a Debian 9 server> I have done the installation in a sub-directory of /var/www/...
1
vote
0answers
524 views

Fatal error: Cannot redeclare composerRequireDrupal8()

I am using Composer and Drush. Everything was working smoothly, but after I installed the Panels module with Composer, I started getting the following error all the times I run Drush. Fatal error: ...
1
vote
1answer
43 views

How can we uninstall a module directly from the database?

I am trying to find a way to uninstall a Drupal 8 module directly from database. How can I achieve this?
1
vote
0answers
26 views

how to display our custom profile link when drupal installation setup

I'm working on custom profile making in drupal 8. That's my first custom profile. It's completly done with module installation & entity created. But when I'm running installation it doesn't ask me ...
1
vote
1answer
57 views

Drupal 8.2.5 no internal pages on fresh install

Just installed Drupal 8 on a Ubuntu 16.04 server. Everything looked great until the final install and then there was no stylesheets on the site and all of the links give an The requested URL /...
1
vote
1answer
142 views

Path issues using composer for Commerce install on shared hosting

On a shared server with Composer installed the template for installing Drupal 8 or Drupal commerce creates a project directory and puts the site in a web directory within the project. On a shared ...
1
vote
0answers
17 views

Why do classes sometimes not get loaded when running .install?

How do I get them to load consistently? I have a class files[] = includes/YogaHiveBooking.php The .install file grabs some constants from it. $schema[YogaHiveBooking::BOOKING_TABLE] = array( ...
1
vote
0answers
185 views

no mysql option while installing

I am trying to install Drupal 8 on my PC running Windows 7. I am using XAMP; MySQL is installed and running properly. Drupal only provides the option for SQLite.
1
vote
2answers
2k views

NotFoundHttpException after changing webiste hosting, sub-domain

After changing webiste hosting (Drupal 8) I got this very un-intuitive error message: The website encountered an unexpected error. Please try again later. Symfony\Component\HttpKernel\Exception\...
1
vote
1answer
21 views

No URLs in dashboard

After installing Drupal I cannot use the dashboard menu because none of the URLs are found. I cannot google my way to find a solution to this so.
1
vote
0answers
84 views

Installation through proxy

I am using Drupal 7 and need to make the installer work through a proxy. I can access the installation through my proxy at https://my.proxy/install.php?profile=myprofile&locale=en, but the JS and ...
1
vote
0answers
201 views

Why does install.php result in a "Page not found" error?

I've followed all instructions to the letter, including those in various fixes mentioned in search results for this specific issue. I'm still getting an error. The install script seems to work all ...
1
vote
0answers
475 views

Acquia Dev Desktop is already installed

Well after 3 days of headsmahsing against this issue and trying to resolve it by reading the documentation available, I think it’s time to expose my problem. ^^ Every time I try to create a new web ...
1
vote
0answers
67 views

How to use batch in hook_uninstall?

I have big data in hook_uninstall(). How to handle this data? Can I use batch in hook_uninstall()?
1
vote
0answers
431 views

Getting an error with Acquia Dev Desktop

Upon setting up Drupal 8 through Acquia Dev Desktop, I get to the Choose Language screen fine but then when I get to Set Up Database and put in the Database Name and Database username/password, I get ...
1
vote
1answer
192 views

Running drush site-install on Windows

I ran the following commands: drush dl drupal-8 --drupal-project-rename=drupal_8 cd drupal_8 drush site-install standard --account-name=****** --account-pass=******** --db-url=mysql://*****:******@...
1
vote
0answers
142 views

Cannot install and activate contrib themes in Drupal 8

On my XAMPP D8-beta15, I cannot seem to use any of the contributed theme modules. What I did was to download and unpack it in the theme/contrib folder go to /admin/appearance click on "install and ...
1
vote
0answers
109 views

Mass insert on hook_install()

I have a table with 4 columns that I need to be populated with ~200 rows of data in hook_install() via db_insert(). The problem is that if I mass-insert them, the install fails with PDOException and ...
1
vote
0answers
45 views

CiviCRM on Drupal: Array to string conversion error in BAO setting.php in Display preferences

I'm receiving this error after a fresh install of civicrm-4.4.17 on drupal-7.38. While attempting to go through the configuration checklist I also noticed that the items were not turning green after ...
1
vote
1answer
611 views

How to set body field display programmatically on node type install?

When hook_installing a new custom node type filled with custom fields I call field_create_instance($instance) where I also set the custom fields' display like so: 'display' => array( 'default' =&...
1
vote
1answer
448 views

Ajax error when installing

When installing Drupal 7.31 in the first page, I can't install with the following error message. An AJAX HTTP error occurred,HTTP Result code 2: debugging information follow, Path:htp://...
1
vote
0answers
798 views

Call to undefined function views_embed_view() in php/php.module error

I have a Drupal 7 based website that is multi-site. There is one sub domain ,say sub.example.com which is a Drupal installation with out any module or content type and the example.com it self and they ...
1
vote
0answers
45 views

Error installing / updating

I am trying to install omega through the UI. But I get this error: Error installing / updatingFile Transfer failed, reason: Cannot create directory /var/www/drupal/sites/all/themes How can I bypass ...
1
vote
1answer
58 views

cant install themes after upgrade

I've upgraded from D6.31 to D7 . few problems with block.tpl.php in te deafult theme, but sorted easily. Now when I install a theme i get a WSOD select * FROM watchdog ORDER by wid DESC lIMIT 2; ...
1
vote
1answer
355 views

Using drush to install multiple sites, how?

I'm executing the following commands in /var/www/html on a clean Ubuntu 14.04 installation: drush dl --drupal-project-rename=Platform cd Platform drush site install standard -y --db-url=[mysql ...
1
vote
0answers
892 views

Drupal redirects to site.local/install.php

I was working on my branch this morning tweaking some CSS when all of a sudden my Drupal site went into a dead mode. I am running multi site mode and the local.settings.php in the individual sites is ...
1
vote
0answers
2k views

How to attach a taxonomy term reference field to a custom drupal entity

I am creating a fieldable custom entity in a module, and need to attach three taxonomy term reference fields to the entity. My entity is declared in my module's .module file as follows: function ...
1
vote
0answers
528 views

Home page links are not working , admin login not working via http://localhost/bi/?q=admin/modules link

I moved a drupal installation from one server to another. Steps I followed: Copied whole directory structure from old server. Exported database from old server. added files to newdomain/drupal ...
1
vote
1answer
92 views

How to setup hook_install to have a geometry field on a POSTGIS database?

From a module, I would like to create a table containing a POSTGIS geometry field. I guess I need to use hook_install but can't find any definition of a geometry field anywhere. How can I achieve that ...
1
vote
0answers
32 views

Prefixing Drupal Folders

Is it possible to prefix the root Drupal folders? Is there an option/way to define a prefix for theses folders? e.g /includes/ becomes /drupal_includes/ I'm implementing a site that will begin as ...
1
vote
0answers
182 views

How to add flash message to custom installation profile?

I have a custom installation profile and I want to display flash message by using drupal_set_message on home page after install. How can I do it?
1
vote
0answers
1k views

Moved drupal 7 site to new domain, white screen of death

I've recently moved a drupal site to a different hosting section on the same server, the new site is under a different domain. If I edit settings.php to the new database settings, the site white ...
1
vote
1answer
148 views

Setting admin theme using Profiler

I'm using Profiler to create a Drupal 7 installation profile, which works great -- however, it doesn't set Seven as an admin theme, and thus falls back on Bartik (The default theme). Is there any way ...
1
vote
0answers
38 views

Are there any security implications for having the Temporary Directory inside the Drupal root folder?

I'm having trouble finding the tmp dir of a particular host and I'm wondering if there is any reason not to just stick it inside the Drupal root.