How to overwrite “img src=(unknown)” in wordpress ?

5 years ago

I have recently shifted my site to another host by exporting the data. And I don't have the original data.…

How to make scroll to up button?

5 years ago

You might have wondered how to make scroll to up button that fires when you scroll down and when you…

Window does not refresh while adding new categories and tags?

5 years ago

You might have experienced this while adding new category. When you ad category title and slug and description and submit…

KMS Activator Free windows and Office Activation

6 years ago

KMSPico Window 10 activator is the free activator of windows 10 and previous version developed by a team of hacker…

ERROR: Invalid default value for ‘created_at’ [solution]

6 years ago

I got a problem while adding a new column in the database as well as editing the column. The error…

HOW TO CHECK VERSION OF LARAVEL

6 years ago

1. by command line method open command prompt and go to the laravel application directory. type php artisan --version  …

LARAVEL PROBLEM IMAGE NOT UPLOAD PROBLEM (THE SAME PROBLEM WORKED IN LOCALHOST)

6 years ago

Problem Description: I have recently created a site in laravel and I had the no issue. But when I uploaded…

Problem in composer create-project

6 years ago

To start a new project in laravel we generally do the following code composer create-project --prefer-dist laravel/laravel projectname OR composer…

How to solve Invalid default value for ‘created_at’ while adding new column in database.

6 years ago

[Problem:] While adding new column to the table by alter method, I used this sql code   ALTER TABLE investments ADD bank TEXT; ERROR 1067 (42000): Invalid default value for 'created_at'   But An eeror came thought I tried various data type ERROR 1067 (42000): Invalid default value for 'created_at'   [solution] The problem in my database is current mode is in the sql_mode   SO, in the sql I typed and hit the commend set global sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION';     and it solved the problem.

HOW TO ADD A NEW COLUMN TO EXISTING DATABASE [LARAVEL]

6 years ago

First of all make a new migration php artisan make:migration add_mobile_to_userinfo 2. put this code in up() function public function…