It complains that you are using input string argument without normalize.
By normalizing means, do some refinement of the input. The rule says, never trust user input. Always do some check on that, and normalize them.
Drupal default installation comes with “Database logging” module enabled. Which facilitates you to see the logs on the website itself, with admin role. On the first looks awesome to see the logs in one place, you don’t need to move here and there.
Apache provides lot of libraries for common utility functions for Java. One such common library is FTP library which provides better functionality to do FTP and FTPS calls. The reference to apache ftp library is: Apache Ftp
Static websites have several advantages over dyanamic websites. If you are running your personal blog or portfolio or small websites. Static websites is the way to go.
It’s always a good practice to have a development environment and production environment for any kind of development. This post is for Drupal 8 development.
Curl is a wonderful tool for initiate REST APIs or calls. Or, you can literally open any web URL through it, and save files on public URLs through it. Its pretty light weight.
You have bunch of articles, say 250 or more. You hired a freelancer to do some SEO stuff. You need to share all the article links, title, tag names etc.
Listing down the commonly used Elastic Search queries.
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size green open .kibana HObWTCY_SZOWqShWiQ1vRA 1 1 8 3 55.5kb 27.7kb
While dealing with ELastic Search documents, you faced this issue while updating document:
ElasticSearch: Validation Failed: 1: script or doc is missing;
Often while designing websites, and writing articles, images not just help in adding to the aesthetics but also cutting through the long slabs of text. More often than not, these images also include text. In fact, sometimes, that when we do not find appropriate images, we simply convert text to images with some cool looking background. There are some websites, for e.g., websites which publish quotations, which would incorporate text in images as this format is more shareable and would get more success via Social Media. Of course, fonts matter too - The same phrase in different fonts will convey different messages.
Many times, while administering your drupal website, you must have encountered some spam emails. And, you have no way to contact the users. You might want to block the user.
I was trying to install mongo extension with pecl.
pecl install mongo
I have a content type, which has an image field. I want to create many of these nodes programmatically.
I want certain data to be updated regularly. Cron job is the best place to have such code. The real issue is that the process might take much time that normal cron job’s timeout value exceeds.
Being a drupal user from last around 5 years, I used to know small codes for drupal. These codes helps in many ways, in templating, or in writing custom automation etc.
In this post, we will learn how to take backup from MongoDB instance, and restore that to another MongoDB instance.
You have drupal 7 image from docker hub, and want to connect tomongo db via php code.
I have a custom content type, and there are around 2000 number of nodes in my website. In all the nodes, there was no alt attribute in the images. And, it was one of the major SEO disaster that I was facing.
I have seen the repeated solution on docker help pages which helps to push your image to your username.
First build the image
docker build -t
In this post, I will show: