This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
internet:hosting:wordpress [2023/03/31 10:06] gcooper |
internet:hosting:wordpress [2023/06/08 13:57] (current) gcooper |
||
---|---|---|---|
Line 28: | Line 28: | ||
https:// | https:// | ||
+ | |||
+ | ===== Troubleshooting ===== | ||
+ | |||
+ | **Troubleshooting - CLI**: https:// | ||
+ | |||
+ | **Troubleshooting - Wordpress** https:// | ||
+ | |||
+ | ==== Create Admin User ==== | ||
+ | |||
+ | https:// | ||
+ | |||
+ | https:// | ||
+ | |||
+ | :!: These commands create an admin user with ID 1 in the '' | ||
+ | |||
+ | < | ||
+ | INSERT INTO `mydatabase`.`wp_users` (`ID`, `user_login`, | ||
+ | INSERT INTO `mydatabase`.`wp_usermeta` (`umeta_id`, | ||
+ | INSERT INTO `mydatabase`.`wp_usermeta` (`umeta_id`, | ||
+ | </ | ||
+ | |||
+ | ==== Database Import ==== | ||
+ | |||
+ | https:// | ||
+ | |||
+ | < | ||
+ | cd database/ | ||
+ | mysql -u dbusername -p dbname < ./mysql.sql | ||
+ | </ | ||
+ | |||
+ | ==== Reset File and Folder Permissions ==== | ||
+ | |||
+ | < | ||
+ | chown username: | ||
+ | find . -type d -exec chmod 775 {} \; # Change folder permissions to rwxrwxr-x | ||
+ | find . -type f -exec chmod 664 {} \; # Change file permissions to rw-rw--r-- | ||
+ | </ | ||
+ | |||
+ | ==== Purge Cache ==== | ||
+ | |||
+ | If you have caching enabled: | ||
+ | |||
+ | https:// | ||
+ | |||
+ | https:// | ||
+ | |||
+ | ==== White Screen of Death ==== | ||
+ | |||
+ | https:// |