Last active
May 16, 2023 17:17
-
-
Save Rochdy/601bf1b6ce30fbf5dfbfbf51d0b0e3f0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "laravel": [{ | |
| "error": "MassAssignmentException", | |
| "sol": "The Fillable array in the model not found" | |
| }, | |
| { | |
| "error": "Blank Page", | |
| "sol": [ | |
| "Server Requirements < Laravel Version Requirements", | |
| "Main folder was deleted" | |
| ] | |
| } | |
| ], | |
| "linux_serve": [{ | |
| "error": "Download folder", | |
| "sol": "scp [email protected]:/var/www/app.tar /local-path" | |
| }, | |
| { | |
| "error": "Compress Folder", | |
| "sol": "tar -cf app.tar folder-name" | |
| } | |
| ], | |
| "git": [{ | |
| "error": "fatal: Unable to create '/var/www/html/mars/.git/index.lock': File exists", | |
| "sol": "rm -f ./.git/index.lock" | |
| }, | |
| { | |
| "error": "Undo any change not in origin", | |
| "sol": [ | |
| "git stash save --keep-index", | |
| "git reset --hard" | |
| ] | |
| }, | |
| { | |
| "error": "deleted a file and pushed the changes", | |
| "sol": [ | |
| "git rev-list -n 1 HEAD -- <file>", | |
| "git checkout <commit>^ -- <file>" | |
| ] | |
| } | |
| ], | |
| "mongo":[ | |
| { | |
| "import db": [ | |
| "1- gedit /etc/mongod.conf", | |
| "2- disable security", | |
| "3- on the folder run mongorestore --db botme_prod" | |
| ] | |
| } | |
| ], | |
| "docker|php|ubuntu": [{"error": "Failed to download x from dist: curl error 28 while downloading x", "solution":"Change dns/ Change wifi LOL/ temp disable firewall :sudo ufw status/ Change dns in deamon json file of docker"}] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment