daschan
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: truncated postsHi again, just in case anyone decides to look at this thread and thinks of helping out. 15 hours after the problem appeared, it just as suddenly resolved itself. Or seemed to. I suspect that there was a glitch on the webhost server. Both blogs are on the same server. Now the blogs are working fine. Gawd knows. I sure don’t. So good luck to anyone else who runs into this weird behavior. I hope I have better luck next time too. Consider case closed for now.
Forum: Fixing WordPress
In reply to: truncated postsFor the other blog now set to default theme, this is a snippet of code from the index.php file:
`<div class="storycontent"><?php the_author(''); ?>
<?php the_content(); ?>
</div><div class="meta"><?php the_date(); ?> <?php the_time() ?> | <?php _e("Filed under:"); ?> <?php the_category() ?> | <?php edit_post_link(); ?>
<span class="feedback"><?php wp_link_pages(); ?><?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?> </span>
</div>`Forum: Fixing WordPress
In reply to: truncated postsThe 2 different blogs are using 2 different themes. From what I can see, the index.php file inside the Theme folder merely calls up the post.php file–there is no request or call for the_excerpt or the_content in the index.php file. The post.php file calls for the_content. Here’s code from the one blog’s post.php file (using Connections Reloaded theme):
`<p class="post-date"><?php the_time('D j M Y'); ?></p>
<div class="post-info"><h2 class="post-title">" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></h2>
Posted by <?php the_author(); ?> under <?php the_category(' , '); ?><?php edit_post_link('(edit this)'); ?><br/><?php comments_popup_link('No Comments', '1 Comment', '[%] Comments'); ?> </div>
<div class="post-content">
<?php the_content(); ?>
<div class="post-info">
<?php wp_link_pages(); ?>
</div>
<!--
<?php trackback_rdf(); ?>
-->
<div class="post-footer"> </div>
</div>`And here’s a snippet of code from the index.php file:
`<?php get_header(); ?>
<div id="main">
<div id="content">
<?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>
<div class="post">
<?php require('post.php'); ?>
<?php comments_template(); // Get wp-comments.php template ?>
</div>
<?php endforeach; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>
<p align="center"><?php posts_nav_link() ?></p></div>`
No mention whatsoever of the_excerpt.
At any rate, this problem is happening even with the default theme.
Forum: Fixing WordPress
In reply to: truncated postsOh oh, it’s me again. But I’ve discovered this same issue is also appearing in another blog I maintain, also v.2.1.3. Again, the post is truncated.
Is it possible that the post (now only saved as draft) contains some character or word that is “out-lawed” or that conflicts with the php? (Sorry, I really don’t know anything, and am taking wild guesses at this point.) The post is long, 2312 words or 12,983 characters not counting spaces.
Forum: Fixing WordPress
In reply to: truncated postsOkay, I’m back, and tried switching theme to default. Sorry, problem is still there.
Could there be a conflict with the webhost server software?
Any help very much appreciated. Thanks again–D. Chan
Forum: Fixing WordPress
In reply to: truncated postsHi, here’s the link to the blog: https://www.harekrishnamalaysia.com/krsnablog/
But I deleted the post in question, and have since been trying to work with it as a draft.
Since posting here, I backed up the blog and then updated to v2.1.3, but still the same problem persists, and now I find that there is no option to use an html editor :-(.
Theme is Georgia (an old theme that was designed for WordPress 1.5, which I tweaked ever so slightly). I haven’t tried to switch to a different theme. Will do so and report back.
Forum: Fixing WordPress
In reply to: post disappears while editingV. 2.02 also dropping posts. Not entirely. But truncating them. Repeatedly try to repaste the missing text, save, but the post doesn’t save. When I use html editor and paste in the missing text (with html), then click update, it updates the entire thing, but then when I save it, wordpress drops it again. Help! – D. Chan
I find that I am unable to exceed a limit of characters in the post box, whether I manually type them or paste them. If I try to paste, it will not paste more than the limited amount. If I type manually, the characters will not save. This is screwing up my blog and driving me nuts. Didn’t have this problem with WordPress 1.5.
Forum: Themes and Templates
In reply to: Connections ReloadedOh Gawd. What an oversight! Thanks much, Moshu. Problem resolved.
Forum: Themes and Templates
In reply to: Connections ReloadedHelp! I’m a newbie, and just uploaded Connections-Reloaded theme. The image files are not loading onto the blog page. Please view https://www.hansadutta.com/KRSNA_WORLD.
The images are all up on the server inside the images directory, which is inside the connections-reloaded directory, which is inside the themes directory …
I’ve verified that the images are all there, and that they are not corrupted.
Why are they not showing up? — D. Chan
Forum: Fixing WordPress
In reply to: display author’s name on postSorry to get back so much later. In the middle of my reply post late last night (early morning my time, actually), this forum was moved to another server, and my post was lost. Neither could I access the forum even 1/2 hr later.
I ran into a wee problem when I inserted this code:
<?php the_author(idmode='', echo); ?>
into The Loop. When I went to the blog site, there was only a message that there was a parsing error, a problem with ‘=’, or some such.Okay, so I don’t know PHP! ??
Anyway, it’s fixed now and works just fine. I used this code instead (after re-reading the codex referred to above):
<?php the_author(''); ?>
. This allows the post to display the author’s nickname.Thought I should spell it out clearly here for others who also might be new at PHP and WP.
Thanks for all your help, Skulled!
Forum: Fixing WordPress
In reply to: display author’s name on postThanks again. I see what appears to be The Loop, although it is not exactly as given in the codex.
Is this it? (sorry, I’m not going to post the entire text of the index.php file–much too long, and as it is, this is long enough.)
<div id="content">
<?php if ($posts) : foreach ($posts as $post) : start_wp(); ?><div class="post">
<h3 class="storytitle" id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h3><div class="storycontent">
<?php the_content(); ?>
</div><div class="meta"><?php the_date(); ?> <?php the_time() ?> | <?php _e("Filed under:"); ?> <?php the_category() ?> | <?php edit_post_link(); ?>
<span class="feedback"><?php wp_link_pages(); ?><?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?> </span>
</div><!--
<?php trackback_rdf(); ?>
-->
<?php if ($single) { comments_template(); } ?>
</div> <!-- End Post -->
<?php endforeach; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>
</div> <!-- End Content -->From the looks of it, I’ll insert the
<?php the_author(idmode='', echo); ?>
right after the code for the story title (or wherever I want to fit it), right?I haven’t tried it out yet. Please let me know first if I’m on the right track.
Forum: Fixing WordPress
In reply to: img not loading from permalinkYES!! That solved the problem entirely. Thank you so very much. Now that I’ve got the hang of that, let me see what else I can try out and get hopelessly stuck. Bye–D.Chan
Forum: Fixing WordPress
In reply to: img not loading from permalinkWow! Didn’t expect such a fast reply. Here is the link to the post with the image:
https://www.harekrishnamalaysia.com/krsnablog/2005/12/17/hare-krishna-malaysia.The link to the image is <img src=”wp-images/hkmlogo.gif” alt=”logo”/>.
So should I change to link image to <img src=”https://www.harekrishnamalaysia.com/krsnablog/wp-images/hkmlogo.gif”?
Thanks a lot!