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,

 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
Become a Certified Penetration Testing Engineer
LVL 12
Become a Certified Penetration Testing Engineer

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

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
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
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
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
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.
0
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.
0
Exploring ASP.NET Core: Fundamentals
LVL 12
Exploring ASP.NET Core: Fundamentals

Learn to build web apps and services, IoT apps, and mobile backends by covering the fundamentals of ASP.NET Core and  exploring the core foundations for app libraries.

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

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>:

<script>
jQuery(document).ready(function ($) {
    $("#tabbed-nav").zozoTabs({
        theme: "silver",      
        animation: {
            duration: 800,
            effects: "slideH"
        }
    })
});
</script>

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?
0
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
0
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.
0
And provide continuous deployment....

My skills are linux, some AWS but very little Dev Ops. Where to start?
0
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

Thanks
0
I'm setting up an Ubuntu server - and have everything working well.  I want to ensure, however, that I have the file ownership and permissions set properly.

The site is a Drupal 8 site, so the only files that need to be writeable by the web-user are located in /sites/default/files

Currently - everything in the site has the ownership of root.  Should ownership of everything in the public_html folder be changed to the apache username of www-data from root?

Then - for the files/directories that need to be writeable to by the CMS - should those then be set to something like 644 - with the directories being 755?

I'm a little new with the sysadmin stuff.  Any help would be appreciated!
0
Become a Microsoft Certified Solutions Expert
LVL 12
Become a Microsoft Certified Solutions Expert

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

I have admin access to a client's website that is built in Drupal, but I know very little about Drupal (and, unfortunately, the website developer is unavailable). The site has always had a long, horizontal graphic at the top of all pages (acting as a very recognizable logo for the site), but it is no longer appearing at the top of any page.

When logged into my admin account, the Drupal menu looks like this:

Drupal menus
Please provide the menu picks that will get to the background template for all pages at the site, which I'm guessing is where the graphic would be located. Or if I'm off-base about that, please let me know the right way to fix it. Thanks, Joe
0
Hi,

I have a very simple form on the frontend of a Drupal website.  The form simply asks for a users email address.  What I am trying to do is then navigate the user (when they press GO) to my 'contacts us' page with their email address already populated in the 'email address field'.

<form id="newsletterForm" action="http://mydomain/contact-us" method="POST">
	<div class="input-group">
		<input class="form-control" placeholder="Email Address" name="EmailAddress" id="EmailAddress" type="text">
		<span class="input-group-btn">
			<button class="btn btn-default" type="submit">Go!</button>
		</span>
	</div>
</form>

Open in new window


Currently, with the above code, when i press GO, nothing happens.  What am i doing wrong?

Thanks
0
Head out to http://www.sunriseorchidsociety.org/membership

When I login as "admin," I get this page:

drupal screenshot
There's nothing, that I can see, that shows me the actual content. Up to now, I've been thinking it was a permissions issue, but I can click on "Authoring Information" and the author is "admin," so I'm thinking I'm looking at the right interface with the right permissions, yet I can't pop the hood on any of the content and I don't know why.

Can anybody out there point me in the right direction?
0
Of the three CMSs of Wordpress, Joomla and Drupal, would someone who has customized themes on all three please care to comment as to which makes theme customization easiest and why?
0
Hi all.
Im looking for an Intranet solution for a large corporate, 5000 users.
This consists of a general landing page, which the end user then navigates to their Depts pages which needs to be secured by Active Directory Security Groups.

Currently we use Drupal as our Intranet, however the Windows AD integration is not good enough for us.
At the moment, it seems that Drupal will only do LDAP authentication, so the end user needs to enter their username and password to access their Depts secure area, as below.

Drupal User Login
We dont want the end user to be entering their username and password again, as this is a large support burden as people get it wrong.

We would prefer a Single Sign On experience with the logged in Windows User seamlessly passing the user token to the Intranet site, allowing access to the secured Dept areas for those authorised, being a member of a Windows AD Security Group (and no access for those not!) without needing to enter credentials again.

I know Sharepoint can do this, but Im wanting to know is there is any other product out there that will allow this seamless authentication of Windows Credentials.

Im looking at Typo3, but havent built it yet.

Anyone else got suggestions or knows how to get kerberos working in Drupal?
0
I'm trying to help a friend out and I'm just now realizing that the content that needs to be edited is in Drupal. Never worked with Drupal and I'm hoping for some help.

Here's the page: http://www.sunriseorchidsociety.org/membership

When I go to the Admin page, this is what I see:

screenshot
I'm looking for some text or images or something and I don't see anything.

What am I missing?
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
>