Permalinks to pages don't work
If you've tried to navigate to a newly
created Page and encounter an error, you
likely need to update your Permalink
structure. Remember, each time you add a
new static Page to WordPress, new rules
must be generated and updated to
.htaccess (WordPress 1.X) or to the
internalrewrites array (WordPress 2.X).
My pages aren’t new, they exist. This explanation doesn’t say what else to do with the structure, nor does it explain “internal rewrites array.” A search on that phrase points only to that page.
Any help is greatly appreciated!
*edit to get rid of horizontal scroll bar*
I want to be able to have my image attachments show up in thumbnail mode when they’re displayed in a list of multiple posts (archive, home and category pages etc), but when I click on the post itself, to show the full-sized version. I need to be able to categorise images by a number of different categories (with multiple ones for individual images), and I was planning on using the Category options to allow me to do that.
I’m currently using the built-in image upload/attachment function for this, but when I set it to “Using Thumbnail” and “Link to Page” and post the article the thumbnail links to a new page, but the comments posted to that page don’t match up with comments posted to the article itself. The categories also isn’t brought over from the post.
Can anyone tell me if this is normal behaviour, if it can be changed, or if there is a better solution. I want people to be able to comment on the images, and keep it al within the design of the blog itself.
Thanks.
]]>after finally upgrading one of my weblogs to 2.02 i figured out that the search function is not working any more. the behaviour is that if i submit a keyword i get an empty result page which shows just the title.
i’ve allready tried to repair all database tables via mysqladmin but it seemed as there has been no problem. after a couple of hours i’m losing my energy. – any ideas?
thx berny
]]>On the WP2.0 plugin compatibility page:
https://codex.www.ads-software.com/User:Matt/2.0_Plugin_Compatibility
… it says this about WP-Cache:
“No errors, but the actual caching doesn’t seem to work properly. Also, there are reported problems with PHP 5.”
Any suggestions?
I know there is a newfangled “object caching” in WP2, which sounds awesome.
But all I really want is less queries & *even* better performance on my 20+ WordPress 2.0.1 installations.
FYI – we have about 15+ plugins enabled (I know this will slow things down somewhat), but each WP page seems to be generating ~ 100 queries and taking several seconds. (sometimes 5 to 10 plus)
Any suggestions would be mucho appreciated!!
]]>After doing a full install proper upgrade (and one install to a new database) I’ve found that no trackbacks are working. Rather than be directed normally – I’m getting a page which appears to be coming from the server. It reads: “200 OK The page has moved here” (here being a hot link to the permalink.)
I have used the “trackback_url()” template tag as well as the alternate “trackback_rdf()” in order to check the validity of the url it generates.
It’s just not working…
Now I’ve searched around (and I tried 2.0.1 after reading the notes) but I’m stuck. Did I miss something somewhere?
]]>This error only occurs on the index.php page of my site.
This page used to work perfectly before I upgraded to version 2 of WordPress. If this can’t be resolved soon, I’m going to have to revert to version 1.5 again.
Below I’ve included the WordPress error I recieve and my index.php code.
Any help on this issue will be very very welcome.
Thanks,
Mez
This is the error I get:
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘AND comment_approved = ‘1” at line 1]
SELECT COUNT(comment_ID) FROM wp_comments WHERE comment_post_ID = AND comment_approved = ‘1’;
This is my index.php code:
<?php get_header(); ?>
<body id="home">
<div id="background">
<div id="page">
<?php include "logo.php"; ?>
<div id="splash">
</div>
<div id="content">
<div id="welcome">
<h1>Hello and welcome</h1>
<h2>We are Hopking Design</h2>
Hopking Design is a one man creative studio run by Mez Hopking, a freelance web designer, graphic designer and professional photographer, based in Bournemouth, England.
I specialise in building intuitively made, well laid out and logically structured XHTML and CSS standards compliant web sites. I also design for print, in particular logo design, t-shirt design and re-branding. Please head on over to my <a href="portfolio.php?page=welcome">portfolio</a> to view some examples of my work. Alternatively, to view my photography portfolio please head on over to <a href="https://www.mezhopking.com/">www.mezhopking.com</a>.
</div>
<div id="photo">
<h1>My Photos from Flickr and Beyond</h1>
<div id="flickr">
<script type="text/javascript" src="https://www.flickr.com/badge_code.gne?nsid=30946784@N00&count=3&display=latest&name=0&size=square&raw=1"></script>
<a href="https://www.flickr.com/photos/mez/"><img src="images/layout/flickr-img.png" border="0" id="flickrimg" title="See more of my Flick feed" alt="See more of my Flick feed" /></a>
<a href="https://www.mezhopking.com/"><img src="images/layout/mezhop-img.png" border="0" id="mezhopimg" title="See my photoblog at mezhopking.com" alt="See my photoblog at mezhopking.com" /></a>
</div>
</div>
<div id="post">
<h1>Latest Journal Entry</h1>
<?php $posts = get_posts('numberposts=1&order=DESC&orderby=post_title'); foreach ($posts as $post) : start_wp(); ?>
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<?php the_date(); echo ""; ?>
<?php the_excerpt(); ?>
<h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">Continue Reading...</a></h3>
<?php endforeach; ?>
<p class="comment"><?php edit_post_link('Edit','','|'); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »','','|'); ?> <?php next_posts_link('« Previous Entries','','|') ?> <?php previous_posts_link('Next Entries »' ,'','|') ?><a href="feed:<?php bloginfo('rss2_url'); ?>">RSS Feed</a>
</div>
<div id="links">
<div class="navcontainer">
<script type="text/javascript" src="https://del.icio.us/feeds/js/hopkingdesign?title=del.icio.us » Look what i found"></script>
</div>
</div>
<div id="shop">
<h1>Shop and Downloads</h1>
<h2>The real french connection</h2>
<img src="images/shop-fr-tshirts.png" alt="Real French connection T-shirts. Visit my shop for more..." title="Real French connection T-shirts. Visit my shop for more..." />
Inspired by a recent trip to Paris, I've designed these rather lovely t-shirts. Choose which French iconic image you'd like wear with pride...
</div>
</div>
</div>
<?php include "footer.php"; ?>
If I type in the Address bar on any browser, https://www.markms.com/01/00/2006/ it works. Of course, this calls it to find posts in 01 (January), 00 (All dates in month), and 2006 (year).
My question is how can I fix this without altering my permalinks. I have people who bookmark posts and don’t want them getting 404s from a permalink alteration.
This is on WordPress 2.0, permalink custom structure … /%monthnum%/%day%/%year%/%postname%/
and my optional category base is empty.
PS: It has been like this for a long time, I just want to see if I can fix it. It’s no problem, but it is quite an annoyance.
]]>Fatal error: Cannot redeclare user_can_create_post() (previously declared in /hsphere/local/home2/josiahp/design-parade.siahart.com/wp-includes/functions-post.php:335) in /hsphere/local/home2/josiahp/design-parade.siahart.com/wp-includes/capabilities.php on line 339
what does this mean? and what do i do to get my blog working again?
Thanks
]]>I recently upgraded to 2.0 in a blog I was making for a friend of mine. I did the upgrade BEFORE uploading it. Everything worked perfectly on the local web server (local database, everything at ‘localhost’)
However, when i set the blog address, wordpress address and database configuration to work on the remote web server (my hosting), everything got messed up.
I did the steps with other blogs and worked perfectly (Configuration / change both address, edit the wp-config.php, backup the database and export it on the remote one, etc.)
This is what happened: altough in the database the address was the remote one (“https://www.mysite.com/theblog”), the links, images, everything was forwarded to the path “localhost”. The weird part is, SOME links’ paths pointed to the remote site, and others to localhost.
Trying to fix it, I made a clean installation of 2.0 and put the modified theme. When I uploaded it, it happened again.
Finally, I made a clean installation of 1.5.1.3, did the exact same things, and it works perfectly!!
I’d like to get 2.0 working since my friend would really use the image uploading functions available in 2.0.
this is the blog working on 1.5.1.3: https://spongeval.kosmik.com.ar
(wordpress address is set up to https://www.kosmik.com.ar/spongeval)
If anyone is having this problem or know what could be causing it, i’d really appreciate a reply =)
]]>