Difference between revisions of "SBN - Blog Server Notes"

From The TinkerNet Wiki
Jump to navigation Jump to search
(Created page with "* WordPress Installation")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
* [[BlogServer - WordPress Installation|WordPress Installation]]
+
*[[BlogServer - WordPress Installation|WordPress Installation]]
 +
 
 +
==Potentially Useful Links==
 +
 
 +
*[https://wordpress.org/support/article/editing-wp-config-php/ Editing wp-config.php]
 +
 
 +
==Problems Solved==
 +
 
 +
===WP_Filesystem is not available===
 +
When WP shows you this very helpful screen:
 +
[[File:WP Bullshit-1.png|none|thumb|600x600px]]
 +
Open up <code>wp-config.php</code> and add:
 +
 
 +
<code>define('FS_METHOD', 'direct');</code>
 +
 
 +
at the bottom.
 +
 
 +
([https://chap.website/wp-filesystem-api-help/ Reference])
 +
 
 +
===Error establishing a database connection===
 +
Check your credentials.  Simple as that.
 +
 
 +
Most common reasons for this error are either that the database server isn't running (possible, but not #1) or that you've messed up the user name or password for accessing the database.<br />(It IS also possible that you've told WP to access the database by the wrong name or on the wrong server...  Check those items too.)

Latest revision as of 03:01, 18 July 2020

Potentially Useful Links

Problems Solved

WP_Filesystem is not available

When WP shows you this very helpful screen:

WP Bullshit-1.png

Open up wp-config.php and add:

define('FS_METHOD', 'direct');

at the bottom.

(Reference)

Error establishing a database connection

Check your credentials. Simple as that.

Most common reasons for this error are either that the database server isn't running (possible, but not #1) or that you've messed up the user name or password for accessing the database.
(It IS also possible that you've told WP to access the database by the wrong name or on the wrong server... Check those items too.)