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

Need help with Drupal - creating a link for a file folder. I have created a landing page and need to add a link to a folder containing files; the person accessing the landing page will click the, basically right now a line of text and be taken to a folder they can read/download using the user name and password they are given via an email. I am new to Drupal and I am thus stuck at this stage. Tried searching but could not find exactly what I was looking for.
[Webinar] Database Backup and Recovery
LVL 11
[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

startup website
In the below post we have mentioned the best hosting type for startups. Also, check out some of the superlative web hosting companies that are proposing affordable web hosting solutions to host your startup website.
what are the free web hosting  and blogging service providers/services that allow monetization ( eg: google adsense)
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 …
Free Tool: Subnet Calculator
LVL 11
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

If you Google something I notice that some websites are just random blogs or options of a product or something. I notice that some not all are made by WordPress or another CMS.

My question is do people pay to just give an option or blog about something fake? I know that for a free WordPress site they include "wordpress" in the link. WordPress' I've seen don't have this watermark.

Would like to know how this works.
I had this question after viewing redirect certain certain urls to a subdomain on a different server.

I have a particular problem now which, in the meantime I've found a work-around for, but I don't understand why I'm having this problem. I created a series of rewrite matching redirect rules in the htaccess file that points those urls back to our previous server, which now has a subdomain. I have a set of urls that contain query strings that contain spaces (for instance: www.imj.org.il/artcenter/newsite/en/?artist=Abu Kaf, Ali&list=A). When the url gets redirected, the space in the url gets encrypted to %2520 instead of %20 and because of that, the query string is not recognized. I'd like to know why that extra "52" is inserted into the querystring? Here is my redirect rule:
RewriteRule ^artcenter/newsite/en(.*)$ http://museum.imj.org.il/artcenter/newsite/en/$1 [R=301,NC,L]
I should also add that the redirect is to a windows server which might explain this?
Thanks for your help.
I keep trying to add in the code below using full html and no filters are turn on. It needs to stay this way and works on my test page outside of drupal:

<div data-is data-is-access-token="123454626.abc.156162"></div>

but it keeps changing it to do this which is wrong:

<div data-is="" data-is-access-token="123454626.abc.156162"></div>

Can i just turn off all html correction? I don't need it.
A placeholder in a form on a Drupal site shows
Please type &#039;human &#039; here.
instead of
Please type 'human' here.
How would we fix that?
We are building a new site on a new server and plan to transfer our current domain name to the new site/server. Some of the pages in our current site will remain on the current server and in order to continue to access those pages we have created a subdomain, which points to the current server. Do I create 301 redirects  from the new server to those pages with the new subdomain name? Even though those pages won't ever have existed on the new server?
For instance:
Currently I have www.example.com/page which will continue as subdomain.example.com/page when we make the switch over. Do I create a 301 redirect on the new server:  /page -> subdomain.example.com/page?
I don't know if it makes a difference but the new server is linux and will be hosting drupal and the old server is windows 2012.

i am trying to use ZoZo tabs within a block in Drupal 7. It states I needed to upload these files to my site which i done:

    ├── css/
    │   └── zozo.tabs.min.css
    ├── img/
    │   ├── z-tabs-icons.png (Mobile)
    │   └── loading-image.gif (AJAX)
    └── js/
        ├── jquery.min.js
        └── zozo.tabs.min.js

Then add the following to the head of the html which i have added to the html.tpl.php in my sites/all/theme/stig/templates folder since that is the theme I am using.
<link href="/css/zozo.tabs.min.css" rel="stylesheet">
<script src="/js/jquery.min.js"></script>
<script src="/js/zozo.tabs.min.js"></script>

then add the following to before the </body>:

jQuery(document).ready(function ($) {
        theme: "silver",      
        animation: {
            duration: 800,
            effects: "slideH"

I have added everything and it show up on the page when i view the source code and everything is linked. the div id is unique. Is there something I missing about drupal that is preventing this? Should I had the script using a different way?
going through the steps of an e-commerce website purchase
maybe even in a previous month

the potential company investors are not told to "test it yourself with a small purchase"

maybe the steps are saved to a mp4 file
click on item, add to shopping cart, enter billing address, shipping address

what is this process called?
do businesses save these to mp4 video files to show off the actual experience
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.
I'm assisting in migrating a site for a friend that was being hosted by someone else. I'm a Drupal newbie, so any help is appreciated. The previous host had created a sub-theme in Omega for the site. I installed all of the Drupal core files onto the new host, and imported the database. All went well, but the site won't display the css of the sub-theme. It is an https site, and an SSL has been implemented on the site. All of the calls to the theme are in https. I've tried multiple things, but nothing seems to point to the fix. I've searched the forums, but it seems most of the problems are specific when someone is building a theme. This theme is built and brought over with the rest of the core files.
Keep up with what's happening at Experts Exchange!
LVL 11
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.

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.  

We have installed the addressfield_autocomplete module.  It is working as expected.  When I create a content type with an addressfield type, I can set the widget to the autocomplete, and the form works beautifully.

I have a custom form created through the Forms API, and want to add addressfield to it.  The module did not support this initially.  I found a resolved issue requesting this same feature, and implemented this patch.  That worked fine - I have the addressfield block on my custom form.  However, it is not using the autocomplete widget.  How can I tell Drupal, via Forms API or other code-based solution, to render this field with the autocomplete-widget?
And provide continuous deployment....

My skills are linux, some AWS but very little Dev Ops. Where to start?
I have a Drupal site at http://theorichel.nl/stralingshormese . There are two problems:
1. The grey background (I have never set any backgroundcolor, the page used to be white). It is not connected to the theme color, when I change that, the purple background remains
2. On the bottom of the page is a block that actually belangs in the right column.

Any suggestions are most welcome



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