Forum Replies Created

Viewing 15 replies - 271 through 285 (of 380 total)
  • Forum: Installing WordPress
    In reply to: 2.0.10
    ejm

    (@llizard)

    Thank you for the reply, rudolf45.

    Forum: Installing WordPress
    In reply to: 2.0.10
    ejm

    (@llizard)

    I administer two wordpresses. One is at 2.0.5 and the other is at 2.0.7. I plan to upgrade both to 2.0.10. I downloaded 2.0.10 from http://wordpress.org/wordpress-2.0.10.zip (thank you Otto42, for pointing to the URL)

    Is it necessary to go from 2.0.5 to 2.0.6, 2.0.6 to 2.0.7 etc. etc up to 2.0.10? Or will any security issues be covered by simply uploading 2.0.10? (after complete backup of both wps, naturally)

    Please excuse me for replying to myself one last time… I was looking around in this forum and found the answer here:
    http://wordpress.org/support/topic/102841#post-507098

    which pointed me to
    WordPress codex: Creating_an_Error_404_Page

    Using the instructions on that page, I put
    <?php header("HTTP/1.1 404 Not Found"); ?>
    at the top of my 404.php and the following in the body of 404.php:

    Whatever it is you were looking for at
    <strong>http://mydomainname<?php echo $_SERVER['REQUEST_URI']; ?></strong>
    does not exist here.
    Please check for typo(s) and/or use the search engine located on this page

    and then uploaded the 404 file in my theme folder.

    I then added the following to the .htaccess file that is in the blog root folder:

    ErrorDocument 404 /wordpress/index.php?error=404

    The 404 is now working as I had hoped and I believe this issue can be marked resolved.

    Excuse me for replying to myself…

    I also found I had to put the 404 page into the root folder of wordpress, which is why I was getting error messages on the 404.php

    To get my 404.php to work, I had to remove all instances of <?php bloginfo('name'); ?> and <?php _e('search '); ?> because of course, those functions will only work if the php page is in the theme folder…

    I have now switched to using 404.php

    However, because of the addition to the .htaccess file, I cannot use the following

    The page you were looking for at <strong>http://<?php echo $HTTP_HOST.$REQUEST_URI; ?></strong> does not exist on this site. Please check for typo(s)

    because it merely shows that ../404.php has been requested….

    Anyone know how I can get the 404 page to work correctly?
    (I’m running WordPress 2.0.7)

    I finally got the custom 404 page I created specifically for wordpress to display by adding a line to the .htaccess in the wordpress root folder:

    ErrorDocument 404 http://domainname/wordpress/404.shtml

    Why 404.shtml? Because I was getting an error message in the 404.php I created….

    I too just upgraded from wp2.0.4 to wp2.0.5 (with default permalink structure). I am in the minority of wp users who had to install the 500 server error fix plugin. There was some mention that it might be wp run with fastcgi (have NO idea what fastcgi is) that experience this 500 error problem with WP2.0.5.

    Thinking that perhaps FastCGI is what my host uses, I applied the fix to /wp-includes/functions.php. Some improvement: a 404 page now appears rather than the page just opening to the index page of my wordpress. However, my custom wordpress 404 page isn’t appearing; it defaults over to the 404 page for my whole site.

    I’ve searched this forum but have not found a fix that works. Any ideas? (Please bear in mind that I only know enough about php coding to get me in trouble)

    etherwork.net/blog/

    Just curious, am I correct that both the older with the directory traversal vulnerability and the new fixed versions are numbered 1.7?

    At any rate, thanks for the headsup, Skippy! (revised plugin now uploaded)

    Thread Starter ejm

    (@llizard)

    Thanks for the nudge in what looks to be the right direction, moshu. It looks like I may have to create a date.php and then add some sort of if/else statements for is_month(), is_day() and is_year().

    Unfortunately for me, the codex doesn’t have much about date.php except that it exists. I’ll stare at the date.php template for the skippy theme and hope that something will come to me. If I do come up with something viable, I’ll post here, because I cannot believe I’m the only person who wants to do something like this.

    Thread Starter ejm

    (@llizard)

    Thank you for the reply, moshu… that does work relatively well for monthly archive. The only problem is that links to single days would show the titles only rather than the post contents themselves.

    Not to mention that the titles are not displayed in a list rather than as single posts (in the same way that archives.php shows the titles in a list)

    Thread Starter ejm

    (@llizard)

    Actually I did read the instructions… but I was overthinking the whole thing :-/ and surrounded the character entitied character entities (if you know what I mean) in backticks – thus producing the mess I did. Sorry about that….

    (Some days, I shouldn’t be let out of my cage.)

    Thread Starter ejm

    (@llizard)

    rrrr… of course I meant to type:

    & (ampersand: &amp;)
    < (less than: &lt;)
    > (greater than: &gt;).

    Thread Starter ejm

    (@llizard)

    To be honest, I too am unlikely to use the black triangle either. I was merely choosing it along with the “not equal to” sign and heart as examples of non-standard characters that might well be used and aren’t accented letters.

    I asked elsewhere about this (not that I didn’t believe you, moshu) and see that the only characters that require character entities with UTF-8 are

    & (ampersand: &amp;amp;)
    < (less than: &amp;lt;
    > (greater than: &amp;gt;).

    Article here:
    http://www.w3.org/International/questions/qa-escapes#use

    Thread Starter ejm

    (@llizard)

    I was not aware of that, moshu, and had wondered about the caution to use UTF-8 in the blog. I havern’t changed it and I have been diligently changing any instances of accented letters such as é to &amp;eacute;.

    Does this UTF-8 extend to the 8000 and 9000 characters too? (say ≠ (#8800), ► (#9658) or ♥ (#9829)?)

    (I just googled about this and plan to stare at
    http://www.w3.org/International/O-charset.en.php
    to try to get a handle on this.)

    Thread Starter ejm

    (@llizard)

    And did you site validate, moshu? I was under the impression that if one used extended characters, they had to be encoded with character entities to ensure that as many different OS would see the same characters as typed.

    Thread Starter ejm

    (@llizard)

    I see that my idea to list several link categories at once doesn’t work. This is what I’ve come up with:

    <li id="linkcat-3"><h2><?php _e('about '); ?></h2>
    <ul>
    <?php wp_get_links(3); ?>
    </ul>
    </li>
    <li id="linkcat-1"><h2><?php _e('events '); ?></h2>
    <ul>
    <?php wp_get_links(1); ?>
    </ul>
    </li>
    <li id="linkcat-2"><h2><?php _e('links '); ?></h2>
    <ul>
    <?php wp_get_links(2); ?>
    </ul>
    </li>

    and so on for all the categories I want to show. It really does seem rather code heavy. It would be so much tidier if there were an “exclude”….

Viewing 15 replies - 271 through 285 (of 380 total)