philor
Forum Replies Created
-
Forum: Installing WordPress
In reply to: Can’t find SQL databaseSave that in a file named whatever.php, and upload it to your server, and then look at it in a browser by going to yoursite.com/whatever.php. Sorry, I wasn’t quite as clear as I should have been ??
Forum: Themes and Templates
In reply to: Separating link lists into left and right?You’ll have to do a little more work than just the get_link_list() that does all the output in one shot in the default template, but take a look in wp-includes/links.php and you’ll find more functions to return links in a category than you can stand, several of which have an example of how to call them and output the results.
Forum: Fixing WordPress
In reply to: specified server cannot be foundYour permalinks for entries are also messed up, sort of similarly (.org4 for entry #4). On the Options/Permalinks page, where you enter the pattern for your permalinks, you need to start with a slash.
And never mind why I knew instantly that that was the problem ??Forum: Installing WordPress
In reply to: Can’t find SQL databaseIf you’ve gotten that far, things aren’t going too badly, it’s connected fine and just can’t select the database. Are you sure that the user you’ve given to WordPress has rights for that database? You can see what databases your user can see from PHP (and what names the server uses for them) by just saving and opening in a browser:
<pre>
<?php
$link = mysql_connect('localhost', 'mysql_user', 'mysql_password');
$db_list = mysql_list_dbs($link);
while ($row = mysql_fetch_object($db_list)) {
echo $row->Database . "<br>";
}
?>
</pre>
with the working values you’ve got for the dbhost, user, and password replacing the values in that first line.Forum: Requests and Feedback
In reply to: Why use ISO-8859-1?As an Amurrican, it’s my firm policy to ignore all them funky letters with flyspecks around them, but I got the impression from PHPWiki’s page talking about making the transition to UTF-8 that MySQL 3.x doesn’t play well with UTF-8 (and my experience with a quick test made that seem right: I pasted good UTF-8 in, and got multiple single-byte characters back). Am I wrong, or is this building in a MySQL 4.x dependency?
Forum: Fixing WordPress
In reply to: Post Slug: excellent!Oh, and I may be teaching granny to suck eggs, but at least in Perl, IIS doesn’t pass the PATH_INFO on, so be careful how much you rely on it ??
Forum: Fixing WordPress
In reply to: Post Slug: excellent!Not that ranking in Google is the be-all-end-all (or even all that much), but: while “my-post-title” is three words to Google, “my_post_title” is just junk, neither “my post title” nor “myposttitle”. So if you are aiming for maximum ranking, it’s best to avoid the underscores.
Forum: Installing WordPress
In reply to: Working WP 1.0.1 InstallerUnless I’m missing something, aren’t your patches un-patches? They seem to want to back out your fixes, rather than put them in. (Though it is Monday, so maybe I just forgot how to use patch ;))
Forum: Fixing WordPress
In reply to: Admin options ‘cannot modify header’ on updateForum: Requests and Feedback
In reply to: Display timezoneAbsolutely. You wouldn’t believe the troubles I’ve had by burying a single digit of hard-coding in the midst of a ton of stuff that depends on that one magic number. Can I change it? Dozens of ways. Will I remember, though?
And delightfully enough, a PHPBuilder article on supporting user timezones that aren’t the server’s timezone starts outBy allowing the user to specify a timezone, we unwittingly opened a Pandora’s Box, out of which flew shrieking timestamp demons who tormented us, and drove us to the brink of insanity.
and ends up, speaking of supporting daylight/standard conversions
but for simplicity, we opted to leave that as an exercise for the reader
(hoping, no doubt, that the reader doesn’t know that the first user of any timezone-supporting application lives in Arizona, and doesn’t have daylight time, and the second lives wherever it is that they have a half-hour of daylight time. The third lives in Israel, where the starting and ending dates are set each year based on what works best with the movable religious holidays.)
Forum: Requests and Feedback
In reply to: Display timezoneIt usually takes me about a week to change all my non-computer clocks from PST to PDT. Hard-coding in my template? I’d probably fix the PST about mid-September ??
Forum: Fixing WordPress
In reply to: Links Updated Time incorrectYep, I seem to have lost the ability to read a simple statement of a problem, so for the third time today I was chasing after the wrong bug in the wrong place. I think maybe I’ll just go throw rocks at boys for a while.
Forum: Fixing WordPress
In reply to: Links Updated Time incorrect“A problem that involves wanting to run links-update-xml.php more than three times in an hour while trying to debug it” – just saying “I’m looking, but not very fast, since I got myself banned from grabbing updates, which is slowing me down.”
Though you might want to switch to something more than a 20 minute interval. You can grab shortChanges.xml more than three times an hour, but since it only does 5 minutes worth, you’d need to grab it from a cron job more often than that to not miss things. A 15 minute cache interval should mean that you get it three times in 45 minutes, then have to wait either 15 minutes or an hour before you can get it three times in 45 minutes again depending on how he does the ban.Forum: Fixing WordPress
In reply to: Links Updated Time incorrectThat’ll do until something annoying to debug comes along. I’d forgotten that if you hit changes.xml more than three times in an hour, you get a 503 Service Unavailable back (and if your blog is on a shared host with one IP for 200 WP-powered blogs, good luck ever getting to it). Not that that’s your problem, since you’ve got a nice fresh weblogs.com.cache, but it’s sure slowing down my debugging the date thing.
Forum: Fixing WordPress
In reply to: Stop < code > tags wrapped with < p > tagsAh, I read right past “in the comments”. <span style=”voice-family:Latella”>Nevermind.</span>.
I do know people who run their submitted comments through a locally-installed validator, and throw GIGO errors from their autoparagraphing back at the user, but it’s not very popular.