Author: alex
-
-
[Solution] How can I list the current Apache 2 virtual hosts from the command line
Sometimes you need to get your virtual host file, you can get them by : a2query -s or apachectl -S
-
[Solution] WordPress post model full width
As you may have noticed, you have a block called Sidebar, to modify this SideBar, you just have to modify your theme.…
-
[Solution] Changing File Permissions
Log in as root and place yourself at the root of your site directory
-
[Solution] WordPress asking for FTP Credentials
Open the file : wp-config.php Find and edit this line, or add it if it does not exist : define(‘FS_METHOD’,’direct’);
-
[Solution] Create a MySQL database character with charset UTF-8 under Linux Ubuntu
To connect to MySQL mysql -u root -p Create a MysSQL Datatase CREATE DATABASE mydatabase; or Create a MySQL database character with…
-
[Solution] file_put_contents(meta/services.json): failed to open stream: Permission denied
Laravel >= 5.4 php artisan cache:clear chmod -R 777 storage/ composer dump-autoload Laravel < 5.4 php artisan cache:clear chmod -R 777 app/storage…
-
[Solution] TokenMismatchException in VerifyCsrfToken.php Line
To fix this error you should use this command : chmod 777 storage/framework/sessions/
-
[Solution] Symfony 3 easy translation
For twig base.html.twig : <p{{ ‘message’|trans }}</p> Create or update your files translation : # tempate from app/Resources php bin/console translation:update –dump-messages…
-
[Solution] Add Expires headers on Ubuntu
How to add expire header on Ubuntu with Apache2 : Edit your httpd.conf The module ‘mod_expires’ must be activated Add the new…