Prestashop The CSRF token is invalid. Please try to resubmit the form

if you are trying to save or add product and seeing error like "The CSRF token is invalid. Please try to resubmit the form.", use following settings to fix this error: 1.) If you are using WAMP/XAMPP for prestashop website on your local pc, open php.ini file and increase max_input_vars value as shown below: max_input_vars = … Continue reading Prestashop The CSRF token is invalid. Please try to resubmit the form

Next.js Introduction

What is Next.js Next.js is an open-source React based framework, which means that it's a framework built on top of React that enforces more structure and gives you additional capabilities: like server-side rendering, routing, bundling, and more. In this post, we'll go through how to get started with Next.js, SSR vs. SSG, and routing. Next.js … Continue reading Next.js Introduction

Laravel Helpful Code Snippets

Followings are some of useful code snippets of Laravel: 1). Show validation errors in view: @if($errors->has()) @foreach ($errors->all() as $error) <div>{{ $error }}</div> @endforeach @endif 2) Prevent errors by using the optional helper: When accessing object values, if that object is null, your code will raise an error. A simple way of avoiding errors is … Continue reading Laravel Helpful Code Snippets

WordPress Interview Questions and Answers 2

1) What are the differences between Posts and Pages? Posts are for timely content. They have a publish date and are displayed in reverse chronological order on your blog page. They’re what you should think of when you hear the term blog post. Pages are for static, timeless content. 2) Define OAuth2? It is a … Continue reading WordPress Interview Questions and Answers 2

KeystoneJS Introduction

What is KeystoneJS: KeystoneJS is an Open Source, NodeJS based CMS and Web Application Platform created by Jed Watson in 2013. Keystone applications are database driven. More specifically, the database is MongoDB — a NO-SQL Document store database, and the Node framework underneath is ExpressJS.https://expressjs.com/https://www.mongodb.com/what-is-mongodb KeystoneJS Features KeystoneJS provides a standardized set of components that allows … Continue reading KeystoneJS Introduction

JAMstack Introduction

What is JAMstack: The JAMstack is a new and modern way of building websites and apps. The “JAM” comes from JavaScript, APIs, and Markup (these three components are foundational).  From these three core concepts: JavaScript: Any dynamic programming during the request/response cycle is handled by JavaScript, running entirely on the client. APIs: All server-side functions … Continue reading JAMstack Introduction