Drupal

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

Hello Experts
  I have this link

http://localhost/node/537

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
0
Fundamentals of JavaScript
LVL 12
Fundamentals of JavaScript

Learn the fundamentals of the popular programming language JavaScript so that you can explore the realm of web development.

Hello,

 My site  work on drupal and mysql. Suddenly, it start to give me

"PDOException: SQLSTATE[HY000]: General error: 1364 Field 'item_id' doesn't have a default value: INSERT INTO {queue}........ "

"PDOException: SQLSTATE[HY000]: General error: 1364 Field 'vid' doesn't have a default value: INSERT INTO {node_revision}....."

 

The same sentence appears with different table name and variables whenever I do any action on the website.

 

The database is not in “Strict mode”. I added this

sql_mode = ""

to my.ini

 

but still not working

 

Please help


Thank you.
0
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
0
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.
0
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.
0
My drupal site is down. According to my web host, it has been infected with PHP based malware. Their recommendation was to backup any data (such as images or style sheets) and remove all of the Drupal installed files and malware. Then, upload a new copy of Drupal from the Drupal website and restore that data. I am not sure which directories I should copy over to the new installation. I know enough to copy over the settings.php so that it will connect to the same database. Past that, I am uncertain. Can anyone help me out?
0
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:
https://drupal.stackexchange.com/questions/46227/creating-multiple-blocks-programmatically

Open in new window


But it not works.

Need some suggestion please.

Thanks
0
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.

Thanks
0
Hello,

I have installed this module in my drupal website and it works fine.
https://www.ivinco.com/software/drupal-sphinx-search-module-tutorial/

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?
0
In my Drupal 7 Website, I have called an Ajax function by the click of a  button to do some Database modifications by different queries. Everything goes well but in the end I need to remove the cache also via code. My file is in /templates folder. I have tried various search functions of drupal to clear cache but nothing works.

Can any drupal 7 expert guide that how to clear the cache.

Note:  I am working on my custom functionality to Revert the Page contents to the last state. Everything goes well but when  I clear the cache then user will be able to see fresh content otherwise not. So I need to clear cache via my ajax code.

Looking forward for reply.

Thanks
0
Learn Ruby Fundamentals
LVL 12
Learn Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

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

Thanks
0
Hello,

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)?
0
How to assign a menu to a specific role in drupal 8.
0
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.
0
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.
0
I have a website built with Drupal and when I access via mac os chrome browser, I get the attached error. Also when I browser mobile devices the attached error comes.  What should I do to fix this error? I have installed SSL for the domain for security.
mac-chrome2.png
mobile-error.jpg
0
I am trying to configure an ubuntu (14.04 LTS) linux server with apparmor to protect the Apache2 web server, but I can't find any best practice or how-to guides for this specific purpose, only some basic guides for apparmor with the default profiles which do not include apache2 configuration. The ubuntu web server is running Apache2, Drupal 7, and MySQL. Is there a basic template for the AppArmor-Apache2 config that I should be implementing for basic security or is this something that has to be specific to the site?
0
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.
0
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.
0
Introduction to R
LVL 12
Introduction to R

R is considered the predominant language for data scientist and statisticians. Learn how to use R for your own data science projects.

what are the free web hosting  and blogging service providers/services that allow monetization ( eg: google adsense)
0
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>".
S123-2015
S456-2013
S1145-2015

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?
0
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).
0
Hi,

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?

Regards
0
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 "127.0.0.1", 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.

Notes:

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.
0
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.
0

Drupal

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
Drupal
<
Monthly
>