cortes
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Current Pages Don’t Show in EditNever mind. The code is all in a template file. Now to find the files.
Forum: Localhost Installs
In reply to: WordPress Won't Connect to DB, But Test Code DoesThe answer to the problem was to use 127.0.0.1 without a port in place of localhost.
Forum: Localhost Installs
In reply to: WordPress Won't Connect to DB, But Test Code DoesI’m confused. The code i cited above works just fine with the server so the server is configured correctly to run that code. Are you saying I have to specially configure the server to work with WordPress? I have another non-Wordpress local website that also works just fine with the server.
Forum: Localhost Installs
In reply to: WordPress Won't Connect to DB, But Test Code DoesIt’s on my development machine: a Mac Mini running OS X Mountain Lion.
[Moved to Localhost Installs]Forum: Localhost Installs
In reply to: Mystery Database EngineThis isn’t really a WordPress issue so I’m going to close this.
Forum: Localhost Installs
In reply to: Mystery Database EngineUpdate: this is more of standard connection issue. The database that turned out to be working so well was on my production image. I didn’t pay close attention to the url. The development version gets the same error. I suspect I deleted it along with the XAMPP application. I can access a non-wordpress database using php with this code:
$server = ‘mysql:dbname=amcolan;host=localhost:3306’;
$this->id = ‘root’;
$this->password = ‘somepassword’;
parent::__construct($server,$this->id, $this->password);This wp-config.php setup doesn’t work:
/** MySQL database username */
define(‘DB_USER’, ‘root’);/** MySQL database password */
define(‘DB_PASSWORD’, ‘somepassword’);/** MySQL hostname */
define(‘DB_HOST’, ‘localhost:3306’);Forum: Themes and Templates
In reply to: Extra Space in First div in a PostI figured it out. I was clearing floats when I shouldn’t
Forum: Fixing WordPress
In reply to: Setting Up a FeedRev. Voodoo, that did the trick. Thanks