Shmaff
Forum Replies Created
-
Forum: Installing WordPress
In reply to: Can’t connect to database during creation of wp-config.phpI’ve come back to working on this problem (alone, seemingly) and have done some more digging…
I’ve chased the problem down to the class ‘wpdp’ found in the wp-includes/wp-dp.php file. This class has a constructor method wpdp, coincidentally *wink*, and calls the ‘__construct’ method (line #306). Finally, somehow, the connection to the mysql database fails on line #318. I tried to define the WP_DEBUG constant as such:
define(‘WP_DEBUG’, ‘WP_DEBUG’, true);
that failing, I also tried:
define(‘WP_DEBUG’, true);
Neither define statements worked. I’m no php pro. Actually, this is the first time I’ve even traced php… but have a background in OOP so I’m not that much of a n00b at this sort of thing!
Can anyone else help me in this trace?
Software as tested:
From command line:
rhino:~ alex$ mysql –version
mysql Ver 14.12 Distrib 5.0.67, for apple-darwin9.0.0b5 (i686) using readline 5.1rhino:~ alex$ php –version
PHP 5.2.6 (cli) (built: Jul 17 2008 23:04:49)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend TechnologiesMacintosh OSX Leopard 10.5.5 Build 9F33
Forum: Installing WordPress
In reply to: Can’t connect to database during creation of wp-config.phpThis is a bump! However, I will bring you up to speed.
I’ve created a new user with permissions equivalent to group. In this case, ‘alex’@’localhost’ since I’m testing on my local machine. I can create databases fine through the command line. Why do I get an error saying “Error establishing a database connection” when I give it these same credentials?
i.e.
User: ‘alex’
Pass: ‘abc123’
Host: ‘localhost’
database: ‘wordpress’Forum: Installing WordPress
In reply to: Can’t connect to database during creation of wp-config.phpThanks, Ogre. I will, but for the meantime I just want to get one user, “God”, to work. I’m just focussed on my Intranet for now where I’m not too concerned with security.
Forum: Installing WordPress
In reply to: Can’t connect to database during creation of wp-config.phpSorry. Here’s the missing link to the aforementioned image.
Forum: Themes and Templates
In reply to: Remote Testing (Only plain text visible)I understand now. Yes, that makes sense.
Sorry jeremyclark13! I suppose I didn’t take enough consideration of your post. Thanks whooami for pointing this out!
Forum: Themes and Templates
In reply to: Remote Testing (Only plain text visible)Here is the link to my site.
Forum: Themes and Templates
In reply to: Remote Testing (Only plain text visible)drmike,
The style.css file is subordinate to the
wp-content\themes
directory in all cases.Forum: Themes and Templates
In reply to: Remote Testing (Only plain text visible)I am using Instantrails. I created a new index.php file to redirect the browser to WordPress’s directory.
C:\InstantRails\www\index.php
points toC:\InstantRails\www\wp\index.php
I have not altered anything within the
wp
directory.Forum: Themes and Templates
In reply to: Remote Testing (Only plain text visible)Sorry, maybe I wasn’t clear before. I want my development server to seamlessly be turned on to a production server. The files will not be moving to another machine. I want to be able to test the website over the internet, but when I do, there are no styles visible and the site looks obviously very unfinished. Why is there only plain text visible?