Drupal is an open-source content-management framework written in PHP used as a back-end framework for websites and is also used for knowledge management and business collaboration. The standard release of Drupal contains basic features common to content management systems, including user account registration and maintenance, menu management, RSS feeds, taxonomy, page layout customization, and system administration. Drupal runs on any computing platform that supports both a Web server capable of running PHP and a database to store content and configuration.

Share tech news, updates, or what's on your mind.

Sign up to Post


Create vocabulary "skill"
-- Database
-- -- MySQL
-- -- Oracle
-- Programming
-- Algebra
-- Calculas
-- Number Theory

Create Content type "Student" with field
Skills - Entity Reference

If student has skill MySQL, Oracle, Calculas
The system by default shows
[1] MySQL
[2] Oracle
[3] Calculus

Now want to show their full hierarchy
[1] Computer
[2] Computer
[3] Mathematics
I installed two drupal subdomains (myenglish.emeringra.ca & myfrench.emeringra.ca). They share the same code base but have different databases. Their content will be identical. That is, all English pages will be identical to their French equivalent. So, translation and switching between languages is important and I enabled all (?) the language modules.

Now, under Configuration -> languages, I configured the detection and selection as URL and then selected the domain option and entered the 2 URLs mentioned above. Then I created a basic page in myenglish.emeringra.ca/myenglish_page and clicked on the translate tab and then hit the Add button for French. I was expecting the French equivalent page to show up. Instead I am getting Page non trouvee (see attached image) in the French subdomain (myfrench.emeringra.ca/node/3/translations/add/en/fr).

I could not find any documentation that deals with translation in a subdomain configuration.
Hi Drupal 8 experts,

The dns that I recently purchased is generating a 500 error by domain access module. The idea is to host multiple subdomains under one Drupal 8 installation. Could you suggest any good source of info. that could help me with this.
We have a Drupal 8 Intranet site that is considered our test environment accessing on port 8080 (url: http://nnnnpdwintra1:8080).  I am getting the following error message when trying to access the site.  "The website encountered an unexpected error. Please try again later."  I am new to Drupal and I don't know where to begin to troubleshoot this issue.   Some suggestions would be greatly appreciated.  Thanks.
I am using Drupal 8.  How can I create new users via CSV file import or some sort?  I just want to populate the Email address, First Name, Last Name and Company field.  Any help or advice will be greatly appreciated.  Thanks.
The company intranet site is on Drupal 8 and we would like to create an Event that does not require the email address to be added for authentication and the user to be logged in order to register for the event.  Can someone please let me know if that is possible?  Thanks.
Hello Experts
  I have this link


I need to add a some text to the displayed page, But I do not know where I should go or what code or php file generate this page.

Can you tell me what file I should look for as to add the new text

Thank youuuuuuuuuuuuu
I have a website built using drupal and recently google started flagging my website with a "this site may be hacked" message when i search for my website. Does anyone know how to resolve this issue. There are no edits to my website files, database, or anything unusual on my website. When google search indexes my website, it gets a few url (clean urls) with jumbled letters that do not exist on my website. Does anyone have an idea where this comes from
We have setup a domain with company.com for our local active directory. After setting it up I entered a dns entry for www.company.com to go to the external web server IP address. the problem is that the Drupal Web server is doing something where it gets a response of 302 and redirects to company.com causing the client PC inside our domain to fail loading the page because it is trying to load a page from our domain controller.

I am not very familiar with Drupal but was wondering if the web developer could do something to allow it to stay as www.company.com instead of making it change to company.com and still allow the content to load? We did a test with test.company.com being entered in my AD DNS server as well as he mentioned he was able to allow test.company.com to not be redirected. When the page loads it is loading just text and basic HTML but non of the Images or Java script (I believe). I notice there is a bunch of http404 errors on the MS Edge console that seems to be referencing *****.js***** destinations using company.com. Would it be possible to update something on Drupal to make it reference something like www.company.com?

If I were to setup a new AD domain would it be best to make it company.local  or make a local.company.com. I would like to keep it as company.co, but have a feeling both the developer and myself are preferring. We will also be using office 365 AD Sync.
I am using WYSIWYG and tinyMCE. I select an image by clicking on the insert/edit image icon in WYSIWYG toolbar, and I can clearly see in the File Browser that it is 64px by 64px. When I click on the 64x64 image, it displays below in the preview window filling the preview area, which is bigger than 64 pixels. I click on that huge image and come to insert/edit image dialog box, where now the image shows properly in that preview area. But, when I click Insert, the image inserts as full width of that body dialog box. If I click on the Appearance tab in the insert/edit image dialog box, 64 and 64 are displayed already as the dimensions. But the image is not rendering that way, it is ignoring the dimensions. I don't understand why this is happening. I tried using the Image Resize Filter, I have enabled it and checked it's box in the Config/Content Authoring/Text Formats/Full HTML. I don't see anything I can work with when creating or editing Basic Pages. I know it is there though because when I go in to the html to add css to the img tag (style="width:20%;") removing the height attribute, I get an error message from Image Resize Filter because the height attribute is missing. The only way at this point I can see to make it work is to teach my client how to go into the html after she inserts an image an manually edit the img tag as I did. I don't want her to have to do this.
Hi, I have a Drupal 7 Module which allows me to add it in One Block only. I want to make it customize so that it will appear 2 times in Block section so that I will use it 2 times with different customization.

I have gone through this link:

Open in new window

But it not works.

Need some suggestion please.

Attached are my Menu designs.

Menu 1:
Menu Design for Drupal
Menu 2:
Menu Design 2 for Drupal
I want to integrate them in Drupal. I have tried various modules of drupal but none of them provide all the features which this menu needs. See attached file Menu instructions which gives basic understanding what I need.

Menu Instructions:
Menu Instructions
Looking forward for suggestions that how to proceed further.


I have installed this module in my drupal website and it works fine.

Open in new window

In my website I want to use it at one more different location with some customization. For this purpose I want to install this module again with different name. I have tried by changing the module name with different name and use that name in different locations but the module cannot visible in Admin Section .

Anyone with Drupal experience can help?
I want to implement Sphinix Search in my Drupal Website. Currently I am running my drupal website on a windows Operating system and I have installed Xampp for PHP and MySQL. Currently I did not find any good step-by-step tutorial to integrate this search in PHP website on windows machine. I need autocomplete functionality and the search must work for 1 languages i.e. english and arabic.

At initial stage I will integrate this search in a simple PHP based website which has form and a textbox with search button. Ater everything works fine, I will deploy it in my Drupal website.

Looking forward for urgent help


I would like to know what is the best way to move content/automatically uplaod and update it from a Confluence website to a Drupal8 website.
Where do I start? What do I need to accomplish this task?
Are there any useful modules that I should use (without using Drush)?
How to assign a menu to a specific role in drupal 8.
In my Drupal 8 application, I want access control in fallowing ways-

1-  There will be different groups or location with users.
2-  Each group have some specific access on the system, like - create content of  blog type.
3-  when a user login which is under group 'A' and create a blog content, this content can only view by other members of group A only.

Please suggest modules and approach to achieve this feature.
I want to create a web product in drupal, and want to know best modules and approach to perform following task-

1- Create forms with multi-step with validation.
2- Print forms output in PDF and export in excel.
3- In application there are many branches and i want content added by a branch can view/edit/delete by users of that branch only. - Please suggest me the best approach.
4- Drupal 7 or 8? I have already worked on Drupal 7.
This is Drupal 7 with Commerce installed.  Suddenly the menu item 'Çustomer profiles' below 'Store' gave a White Screen of Death. The reason was that the path in the menu item was different from the path in the original View. So I went to the Menu and corrected the path. Since then the entire option 'Store' has disappeared from the menu.
So I added a menu item 'Store', but that now gives page not found. How do I get my menu back.
(The Drupal documentation warns for disappearing menus, but give no insructions).

After migrate Drupal 8.1 to 8.3.7, this error is shown at web site :

The website encountered an unexpected error. Please try again later.

At apache 2.4 error, I can see this:

 [Thu Sep 21 21:30:38.185852 2017] [proxy_fcgi:error] [pid 22862:tid 139697256294144] [client xxxxxxxxx] AH01071: Got error 'PHP message: PDOException: SQLSTATE[HY000] [2002] Connection refused in /volume1/web/drupal/core/lib/Drupal/Component/DependencyInjection/PhpArrayContainer.php on line 79 #0 /volume1/web/drupal/core/lib/Drupal/Core/Database/Driver/mysql/Connection.php(142): PDO->__construct('mysql:host=127....', , Array)\n#1 /volume1/web/drupal/core/lib/Drupal/Core/Database/Database.php(376): Drupal\\Core\\Database\\Driver\\mysql\\Connection::open(Array)\n#2 /volume1/web/drupal/core/lib/Drupal/Core/Database/Database.php(166): Drupal\\Core\\Database\\Database::openConnection('default', 'default')\n#3 [internal function]: Drupal\\Core\\Database\\Database::getConnection('default')\n#4 /volume1/web/drupal/core/lib/Drupal/Component/DependencyInjection/PhpArrayContainer.php(79): call_user_func_array('Drupal\\\\Core\\\\Dat...', Array)\n#5 /volume1/web/drupal/core/lib/Drupal/Component/DependencyInjection/Container.php(177): Drupal\\Component\\DependencyInjection\\PhpArrayContainer->createService(Array, 'database')\n#6 /volume1/web/dr...\n'

I run MariaDB10 and PHP 5.6

Any ideas?

I have a website using Drupal 7.54 along with a database. I typically use phpMyAdmin to access the database. It usually takes about 4 minutes just to get to the main page on phpMyAdmin after logging in; viewing the databases and tables takes a long time to load as well. Since I am using Drupal, there is going to be a lot of tables stored (tables are innoDB). I have used a module to clear the revision tables, tried setting $cfg['MaxExactCount'], changing the "host" value from "localhost" to "", updating phpMyAdmin, and changing the theme to its original display. What am I missing? What am I doing wrong? Any help will be greatly appreciated.


Database server Server: Localhost via UNIX socket Server type: Percona Server Server version: 5.6.32-78.1-log - Percona Server (GPL), Release 78.1, Revision 8bb53b6 Protocol version: 10 Server charset: UTF-8 Unicode (utf8) Web server

Apache Database client version: libmysql - 5.6.32-78.1 PHP extension: mysqliDocumentation curlDocumentation mbstringDocumentation PHP version: 5.6.29 Version Information: 4.7.3

Also, lately I have been getting the error - mysqli_real_connect(): (HY000/1040): Too many connections, after I change the theme to its original display.
I have someone who wants me to send or redirect all 404 errors to the main page of a website. We are using Drupal 7.54. On the site information page (.../admin/config/system/site-information) in the 'Error Pages' block, it allows me to put a link for 'Default 403 (access denied) page' and 'Default 404 (not found) page.' I just tried typing "node" for the 404, so it would redirect to the main page of the website. However, this does NOT redirect me to the main page. It does redirect, but not to the main page. What am I doing wrong? What am I missing? Could the answer be somewhere in includes/common.inc (similar to what was found on https://www.drupal.org/node/178653#comment-985665)? Any help will be greatly appreciated. Thank you.
I have no issue connecting to Acquia using FileZilla using SFTP, but when I try the exact same .ppk file and credentials, it's saying that my username and password aren't correct. I'm looking for help on how I can connect to Acquia's server using Dreamweaver. Can you explain how to do this (since using the same credentials and ppk file that I use with FileZilla isn't working)??  Thanks, Gary
I’ll try to make this short and succinct.  I have a Drupal 8 theme that I purchased (I won't name names) and all was good for the first month but then I noticed that whenever I made system changes to the site I would get errors like this (especially when I did a configuration Import):

Configuration block.block.footer depends on the ntv_block_background module that will not be installed after import.

This specific module does not exist, that I can find, but I believe that it is a module that the developer used during development and did not uninstall it correctly when he decided he did not want to use it anymore.  So the data that I acquired from the theme’s SQL was bad to begin with.  I have tried contacting the original author but I get no reply and have given up on that channel.

Digging Deeper: In the SQL database under the Config table is a data blob that contains references to this module in about 63 different data blobs.  a relevant section of the data looks like this:


My Question: There is too many references to remove by hand, Is there a utility (drush or other) to remove meta-data from a module that I no longer have access to and purge the unused data so that it does not …
Error message
EntityFieldQueryException: Unknown field: media_gallery_expose_block in EntityFieldQuery->addFieldCondition() (line 817 of C:\xampp\htdocs\ministry of trade\includes\entity.inc).


Drupal is an open-source content-management framework written in PHP used as a back-end framework for websites and is also used for knowledge management and business collaboration. The standard release of Drupal contains basic features common to content management systems, including user account registration and maintenance, menu management, RSS feeds, taxonomy, page layout customization, and system administration. Drupal runs on any computing platform that supports both a Web server capable of running PHP and a database to store content and configuration.

Top Experts In