Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Setting up a local testing server (WAMP) with Sublime Text Re: Setting up a local testing server (WAMP) with Sublime Text

#98194
tobeeornot
Member

Just for anyone who may experience the same problem, the issue for me was that I failed to set a password in the code (below) from the functions.php file that corresponds to the database that I set up in xampp:


function connect() {
global $pdo;
$pdo = new PDO("mysql:host=localhost;dbname=sakila", "root", "root");

I hate myself sometimes!