Questions tagged [installing]

Use it for questions about installing Drupal, modules, or themes.

Filter by
Sorted by
Tagged with
0
votes
1answer
339 views

PHP Errors with Drupal 8 (Shared Hosting)

Using Bitbucket, I've cloned my Drupal 8 site to my Media Temple server. It is shared hosting. Anyways, I'm getting the following php warning and error: Warning: require(/nfs/c11/h04/mnt/55555/...
1
vote
0answers
923 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/...
0
votes
1answer
170 views

Getting empty error message when install Drupal using Windows server 2012

I'm attempting to set up a Drupal 8.3.6 site on Windows Server 2012. I have been following this guide: http://www.drupalonwindows.com/en/blog/installing-drupal-8-windows I'm at the point of running ...
0
votes
1answer
35 views

Module(s) doesn't enable properly with Drush

I have installed Acquia's DevDesktop 2 to create local sites and while testing D8.3.6 I have found an interesting issue. When I enable various modules with drush (drush en paragraphs (example)) drush ...
1
vote
1answer
158 views

How do I format JQuery in Drupal 8?

I'm trying to write a simple JQuery function in order to animate my mobile navigation. However, I'm not sure how to format the .js file. I've looked up some examples online, but I couldn't get my ...
1
vote
1answer
428 views

Dependency injection on module.install

How do I leverage dependency injection for drupal 8 when invoking my module.install->hook_install() mehtod? Or do I have to use \Drupal:: method at this point?
0
votes
2answers
1k views

Modules installed with Composer placed in wrong directory

I'm trying to install modules via Composer. I've set up my composer.json file according to Drupal.org's direction. However, the installed modules are being placed inside of vendor/drupal/. I'm new to ...
2
votes
1answer
4k views

How do I run a site from a sub-directory?

Maybe I'm making this way more complicated than I need to, but I want to serve my Drupal site that I've installed at example.com/drupal from example.com. This particular site is an add-on site on my ...
0
votes
2answers
2k views

Could not open input file: drush

I have a relatively fresh instance of Ubuntu 16.04 running a Drupal 7 site, with php5.6 installed instead of php7. The drupal site runs well. I am trying to get drush installed so that I can easily ...
0
votes
1answer
638 views

Fresh drupal install shows drupal core warning

I recently installed drupal using git clone option and updated it using composer but I am getting this error I can't fix. Is there any way to fix this issue? clicking on available updates won't fix ...
2
votes
2answers
577 views

How can I force changes to go to settings.local.php?

I have a settings.php file in git which has the logic to include settings.local.php already uncommented, with settings.local.php in .gitignore for security purposes. I would like to be able to ...
4
votes
3answers
1k views

How to remove subdir from base URL after installing site with Composer on a shared host?

I've managed to install drupal 8 using composer and following script: composer create-project drupal-composer/drupal-project:8.x-dev my_site_name_dir --stability dev --no-interaction I decided to ...
0
votes
0answers
167 views

Installation issues

So, to preface, I'm a complete novice when it comes to web development. I've never done it before, but my boss wants an e-commerce site built in Drupal 8. So, I'm following the steps listed in the ...
0
votes
1answer
98 views

Can view HTML and PHP I wrote but install.php returns error

I installed Drupal8 for the first time to try things out. I used nginx and mySQL on FreeBSD with php-fpm for fastcgi. I have the nginx root set to /usr/local/www/drupal8 cause that's where the install....
0
votes
1answer
220 views

How do I uninstall RSS?

I would like to uninstall RSS completely from Drupal 8, not only hide it from pages, but also disable the core logic behind it. How do I achieve it?
0
votes
1answer
21 views

Why would enabling a new module result in the majority of modules disabling?

On my Drupal Commerce site, I was attempting to add a Commerce Discount-related module that would allow me to specify a discount based on taxonomy term/product category. When I enabled the module ...
1
vote
0answers
497 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: ...
2
votes
3answers
4k views

Install Drupal using composer

I'am trying to install Drupal 7 using composer. Before that I tried to install drupal 8 using composer and it works perfectly. Now when I try to install D7 using same method it is still installing D8 ...
1
vote
1answer
2k views

Install module that requires composer on server with only FTP

I am working on website that only has restricted ftp access. Ya, no way around it. I want to install the module PHPmailer, which uses composer to install libraries. I have a local composer run dev ...
0
votes
1answer
487 views

Remove orphaned module data after uninstall

I have installed the xmlsitemap module, which is in alpha state. The module has an incomplete uninstall routine. Right now I am getting this error at /admin/config: User warning: The following ...
2
votes
2answers
205 views

Fresh Drupal Install, UnmetDependenciesException

Has anyone ever ran into this, UnmetDependenciesException? From googling there is quite a bit of talk about this, but so far no concrete solution. and at the bottom (you can't see it in the ...
1
vote
1answer
37 views

Is it possible to organize template files?

As I've gotten more familiar with Drupal, I've been utilizing template files more and more. However, the naming conventions for template files make them difficult to organize. Is it possible to ...
0
votes
1answer
156 views

Can't get hook_uninstall to trigger

In mymodule.install i try to implement a hook_uninstall call, but it never triggers. What am I doing wrong? function hook_uninstall() { echo "uninstalling"; ...more stuff... }
0
votes
0answers
63 views

Unable to install a distro on a Macbook

I recently upgraded Acquia Dev Desktop 2 with the most recent release as of March 23th, for both Windows and Mac. It works great on my Windows machine however, while on my Macbook I'm unable to ...
4
votes
3answers
7k views

Error when attempting to create sync directory

I'm installing Drupal 8 with using Composer. During the requirements verification phase I receive this error. Requirements problem Errors found Configuration directory: sync An automated attempt to ...
0
votes
1answer
37 views

How dio I change things on module installation?

I've been looking around for several days now, maybe i'm just not fully understanding how the new Drupal 8 framework works entirely. What i'm trying to do is create a module that is a complete ...
0
votes
2answers
460 views

Enable rest resource resource when module installs

I have a custom rest resource I have created within my module: /** * Provides a Demo Resource * * @RestResource( * id = "custom", * label = @Translation("custom"), * uri_paths = { * "...
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?
2
votes
1answer
63 views

Module dependent on extension

I am developing a small module which is dependent on the php_ldap extension. I would like to make sure that this extension is enabled before activating the module and if it is not display a message ...
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( ...
0
votes
3answers
689 views

Problem installing Devel module onto site

I went to drupal.org, copied the link for the Devel module, went to my site, New Module (under extensions) paste the link into the "Install from a URL" and when I hit Install it gives me the following ...
2
votes
1answer
121 views

Can't uninstall module because of checkbox field

I've a custom module that alters the MenuLinkContent entity by adding a field. My field is defined as follow. /** * Implements hook_entity_base_field_info(). */ function ...
0
votes
1answer
49 views

How to work with .install files and hook_enable etc… when developing a module?

I'm writing a module which utilises a .install file to create and configure things - specifically I'm creating a custom line item based on the commerce_example module. Turns out it's quite a bit of ...
3
votes
1answer
2k views

Programmatically build module permission list

I'm defining a few new roles in the install hook of my module and one of them is an "admin light" role, which will need some, but not all of the admin account permissions. I need to pragmatically ...
0
votes
1answer
189 views

After moving document root, pages can't be found [closed]

Drupal 8 installed on shared hosting. To access the site from the web during development, I installed D8 in /www/d7/d8. Then I moved d8, which contains the D8 install, to /www/d8 and then set my ...
2
votes
2answers
43 views

Create a field (defined within same module) during module installation?

Having this code: function mymybase_update_7200(){ if(!field_info_field('field_timer_exam')){ $field = [ 'field_name' => 'field_timer_exam', 'label' =>...
3
votes
1answer
64 views

Drupal 8 Equivalent of Drupal 7's disabling a module without Uninstalling it

I noticed that I can't just "disable" a module in Drupal 8. As disabling it deletes all the config data of that module and completely uninstalls it. There are times I just want to disable a module to ...
1
vote
1answer
466 views

Installation profile glitch

When I construct unattended installation using for instance: drush site-install my_inst_profile \ --account-mail='helpdesk@acme.com' \ --account-name='siteadm' \ --account-pass='sitepass' \ --...
9
votes
10answers
9k views

Drush CC all returning “No Drupal site found, only 'drush' cache was cleared”

I've tried other solutions, but none of them are specific to my setup. I just started using the new Linux subsystem featured in the recent Windows 10 update. I'm using WAMP x64 v3.0.6, and have ...
1
vote
1answer
23 views

Validation Users Issues

I have my fresh web site up and running. My first test is to try the functionality of creating a new user. I tested added myself (no, not my admin account -- a different one with a different email ...
-1
votes
1answer
552 views

How can I uninstall a module with entities in the db?

How can I uninstall a Drupal 8 module with entities in the db? I have made a dev module that implement content entities created using the drupal console. I've added fields, views, and made some ...
2
votes
0answers
843 views

“The requested URL /drupal/ was not found on this server” [closed]

I know this error has been discussed in other topics, but I think every case is quite specific to what happened before. I'm new to Wamp and Drupal, and I wanted to install Drupal on my wampserver. I ...
1
vote
1answer
33 views

The module does not dissapear after disable, uninstall, clear cache and cron job

I want to completely remove the File entitymodule from my Drupal site. I've disabled the module via Modules in admin panal. Then I also uninstalled it though the panel. After that, I've deleted the ...
4
votes
1answer
181 views

What happens when you choose a default country during installation?

In the last step when you install Drupal 8 under "Configure site" you can choose a "default country": However no clues are provided about the option... What happens when you choose a default country ...
0
votes
1answer
57 views

SQL And Drupal skips admin set up [closed]

I filled out the Database name, Database username, password, and port number within the Drupal set up. I selected continue, then the page loads for a long time. Next, I was leaded to another page ...
0
votes
2answers
247 views

Clean URLs cannot be enabled

I'm stuck on this issue, I've followed a variety of idea and tutorials trying to fix the issue, most which follow a similar path to this (http://stevenmcmurry.com/howto/2014_07/enabling-clean-urls-...
1
vote
1answer
76 views

Aegir login link not working

I am trying to install Aegir on Ubuntu. I followed the installation instructions sudo mysql_secure_installation echo "deb http://debian.aegirproject.org stable main" | sudo tee -a /etc/apt/sources....

1 2 3
4
5
14