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

How to assign a menu to a specific role in drupal 8.
Keep up with what's happening at Experts Exchange!
LVL 12
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

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.
In a Drupal 7 site, we have a node entity type for stored documents.  This type has two custom fields - year and reference - which uniquely identify the node.  These values look something like shown below, with the format being "<reference><hyphen><year>".

Open in new window

I'm receiving a list of these document references (perhaps hundreds at a time) and need an efficient way to find the corresponding node IDs.  What's the best way to do this?
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 …
Get expert help—faster!
LVL 12
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

I'm trying to setup a single sign on to Drupal with simpleSAMLphp and simpleSAMLphp_auth module from Drupal. I'm able to login now but the "Automatic role population from simpleSAMLphp attributes" roles do not seem to work. I have the following role and when I'm logged in, I do not have the local Drupal admin previliage.


When I tried to access the mysite.com/admin/ I get an Access Denied.
Error message
EntityFieldQueryException: Unknown field: media_gallery_expose_block in EntityFieldQuery->addFieldCondition() (line 817 of C:\xampp\htdocs\ministry of trade\includes\entity.inc).
i have songs album. i have one master  button if customer wants to add all song then they click on master button.
please give me help how to add all product by one click.
We had a user here who installed our Drupal CMS, and today when the user account was removed it apparently took the Drupal install with it, as our site went down and only gave a file listing afterwards.  We're a small fire department, and very few IT-capable folks.  I'm barely competent on Linux honestly, but can make my way through some of it.  

What I've done so far is re-downloaded Drupal, and extracted it.  I'm hoping that our site will still be in the DB, but without the CMS I can't tell.  Regardless, the new install tells me that the settings.php isn't writable.  I've made it as writable as I possibly can, and I'm not sure where to go from here.  The default sites is 755, and settings.php is 655 as it's indicated as needed.  I've changed the ownership and group to "www" for damn near everything, and still can't get the install to progress.  

I have a Drupal site. The server that the Drupal site is on has several folders that I'd like to impliment Role based access to. The roles could be impliment to the folders, and roles also for designated files within the folders.

The folders are added to the server through a FTP process and not using Drupal.

How would I impliment the Role based access?
Dear all,
How do you classify products which provide a SDK and host modules like following products:
MS SharePoint, DotNetNuke, WordPress , Joomla  Drupal,  Magento , osCommerce, ZenCart , VirtueMart
I just need a name to use it in my research paper,
I need someone to help me migrate from a Drupal site thats tampered heavily from last 7 years with custom modules to wordpress thats well designed with minimal functionality. Seo friendly/Mobile/all latest functionalities...
Drupal 7 custom entity
Use hook_entity_info and hook_entity_property_info to create custom entities.
In hook_schema, drupal 7 docents foreign key but not implement it.
How to have a entity reference field in a custom entity to reference another custom entity? So can use this in view for relationships.

Ive got 2 sites: a WP site and another drupal site I want to add an opt-in form to build an email list, but I need a couple of things:

1/ first of all I only need to ask for their email but I need to know in which page (URL) they entered their email because I plan to insert the opt-in in hundreds of pages so I need to know an email came from which page exactly

2/ I need to have the option to choose in which way the opt-in form is displayed, Id like to choose between a typical pop-up or a form in the sidebar or in the middle of the post at a specific point, or the form appearing in the sides, I need to have a wide array of options for the placement and behaviour of this form

Ive seen things like Thrive Leads, I like that a lot, but right now it escapes my budget, could I get something in the same vein but free or cheaper?

Ive tried Optin Forms but I can't seem to find the way to customize its behaviour and placement on the post, other than after a few paragraphs or at the end of the post, but no side or pop up options. Also I dont know if theres an option to see from which URL came every email address

As for the drupal site Ive got no idea if drupal uses a similar plugin system than WP, and what kind of opt-in is recommended for a drupal site

thanks in advance for any help
Free Tool: SSL Checker
LVL 12
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

In Drupal 7 website:

1. how do you integrate blog content from a specific category from another site
onto this current site in a way that avoids the delays associate with RSS ?

2. How you do news aggregation in Drupal 7?

3. How to handle full video file transfers in viewer uploads (they want to edit
I setted PHP parameter to

php_admin_value upload_max_filesize 10240M
php_admin_value post_max_size 10240M
php_value max_input_time 900
php_value max_execution_time 900
#php_value memory_limit -1

CentOs 6.5 64 Bits
Use case:  When the Status is Overdue, the word overdue should display in red, and if it's Accepted, it should display as green.

I was hoping to use Rules to set this up, but don't see options to get this logic in.

screen capture

I have been assigned to create a social networking site with drupal, could someone please tell me how create a facebook like news feed page  (where users can update there statuses etc) that will be on the home page.  

If you could provide a step by step walk through that would be greatly appreciated

Many Thanks

I am trying to get drupal multisite running on centos 6.6 vps.
My main site main.com (which has its own mysql db) is working fine, This site has also the domain access module installed (https://www.drupal.org/project/domain).

My other 2 sites are in the main.com/sites folder (i.e. main.com/sites/mysite1.com and main.com/sites/mysite2.us). These 2 sites share another existing mysql database. They both have settings.php with same db info and different base_url strings.

The main.com/sites directory also has sites.php file which looks something like this:
$sites['default'] = 'main.com';
$sites['mysite1.com'] = 'mysite1.com';
$sites['mysite2.us'] = 'mysite2.us';

When trying to access either mysite1.com or mysite2.us I am getting 403 Forbidden error (Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.)

When trying to import existing install (in Installatron) for the 2 sites I am getting (Error: Unable to detect the source installed application's database information. Please contact support for assistance.)

How to resolve this to get it working?

I created a DRUPAL site on GoDaddy for audiofiles of interviews.  It worked fine BEFORE I added SSL. Now, when you click on a file, it tries to launch Windows Media Player then says: "Windows Media Player cannot connect to the server. The server name might not be correct, the server might not be available, or your proxy settings might not be correct."

If you hover over the file, you can clearly see the location of the file under a PRIVATE folder.

Then if you RIGHT click on the audio file to try and download it, it creates a random name, instead of keeping the file name like a normal download.  THIS IS WHAT I NEED FIXED THE MOST!  

In Drupal, we are using the AudioField pages and allowing MP3 and WMV files.


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