jzmpeg
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [WP Bootstrap Starter] Carousel Sample CodeThanks for the reply, that’s the exact link I used and posted in my original message. The site is on my local machine so I can’t give access without tampering your hosts file. If it works as the example, I’ll keep fiddling.
Forum: Installing WordPress
In reply to: install.php, php.ini, httpd.conf or a combination of those failsThanks for all your help, the problem was so weird but we fixed it.
The lines in wp-includes/wp-db.php
$this->dbh = @mysql_connect($dbhost, $dbuser, $dbpassword, true); if (!$this->dbh) { $this->bail(sprintf(The first line fails/times out so it never actually reached the second line and gives error messages.
In my wp-config.php, I had localhost as DB_HOST and other variables that are the same as I am using in Navicat, so it never occurred to me that my database configuration was causing the problems. As soon as I changed the line to
define('DB_HOST', 'charumon.is-a-geek.com');it worked just fine.
In my hosts file, I have127.0.0.1 localhost 127.0.0.1 charumon.is-a-geek.comwhich does not make any sense that localhost is not being resolved properly in MySQL/PHP but does in Navicat.
Anyway, I hope this helps if it ever happens to you, and good luck 🙂
Forum: Installing WordPress
In reply to: install.php, php.ini, httpd.conf or a combination of those failsThanks for all your help, the problem was so weird but we fixed it.
The lines in wp-includes/wp-db.php
$this->dbh = @mysql_connect($dbhost, $dbuser, $dbpassword, true); if (!$this->dbh) { $this->bail(sprintf(The first line fails/times out so it never actually reached the second line and gives error messages.
In my wp-config.php, I had localhost as DB_HOST and other variables that are the same as I am using in Navicat, so it never occurred to me that my database configuration was causing the problems. As soon as I changed the line to
define('DB_HOST', 'charumon.is-a-geek.com');it worked just fine.
In my hosts file, I have127.0.0.1 localhost 127.0.0.1 charumon.is-a-geek.comwhich does not make any sense that localhost is not being resolved properly in MySQL/PHP but does in Navicat.
Anyway, I hope this helps if it ever happens to you, and good luck 🙂
Forum: Installing WordPress
In reply to: install.php, php.ini, httpd.conf or a combination of those failsIt has just got more interesting. When I run install.php from v2.8, it gives 500
127.0.0.1 - - [19/Jan/2010:15:35:10 +1100] "GET /wp-admin/install.php HTTP/1.1" 500 -but when I die it immediately after the opening php tag in the script, it becomes a 200
127.0.0.1 - - [19/Jan/2010:15:44:29 +1100] "GET /wp-admin/install.php HTTP/1.1" 200 -</talkToSelf>
Forum: Installing WordPress
In reply to: install.php, php.ini, httpd.conf or a combination of those failsIt is installed on my local machine using separate installations of Apache, PHP and MySQL, I then use DynDNS to resolve the domain to my IP.
As for permissions, since it is on Windows 7 and I am new to it and am aware of the permission changes, I have no idea how to check it.
Just tried to install using WordPress v2.8 and still no luck, same symptoms and that rules out the possibility of errors native to the installation script (hopefully :P). I think I will look into the permissions now.
Forum: Installing WordPress
In reply to: install.php, php.ini, httpd.conf or a combination of those failsThanks for the reply, I read the article but my phpinfo() works (so does any other php scripts), so there’s nothing crazy apparent with my Apache settings. For completeness, here are the relevant lines in my httpd.conf:
LoadModule php5_module "K:\Server\PHP53\php5apache2_2.dll" AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps # configure the path to php.ini PHPIniDir "K:\Server\PHP53"Forum: Installing WordPress
In reply to: install.php, php.ini, httpd.conf or a combination of those failsSorry to mention, I am running Apache on Windows 7 pro.
Also just tested on different browsers, the downloading dialogue only seems to happen in Chrome (blank in IE8, Firefox and Opera).Thanks very much in advance.