graintrader
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: PHP form mail problemsWell, I couldn’t get the comments thing to work properly… when someone posts a comment, it gets displayed on the web page, even before it’s gone to the moderator for approval!
So, I installed the Dagon Design form mail script plugin for WordPress, and it’s all working great. Even has Turing image verification…
Forum: Fixing WordPress
In reply to: PHP form mail problemsOk, rather than trying to get this working, I’m going to just enable moderated comments. The comments will have to be emailed to me prior to being posted on the website, so I’ll see them, read them, and delete them.
Forum: Fixing WordPress
In reply to: PHP form mail problemsAnd, I don’t know why it keeps adding “cgi-bin” in that path… I didn’t reference anything in the cgi-bin directory. Is that where mail.php is supposed to go?
Forum: Fixing WordPress
In reply to: PHP form mail problemsThat’s the problem… I have no idea. The file this code is in is called contact.php.
You’ll notice that I have the second line in the code above commented out… so it shouldn’t be looking for that file… but it does that whether or not I’ve got that line commented out.
Does the “c:\php4\pear” give me any clue as to how to fix this? I’m afraid I don’t even know what’s going wrong with this, so I have no idea how to fix it.
Forum: Fixing WordPress
In reply to: PHP form mail problemsI might add that the $_POST values are all properly set up in a .php file on our Contact page.
Forum: Fixing WordPress
In reply to: Image shows up, but doesn’t!Ok, I edited archive.php for my theme (blueblack-10), so it looks like this:
<?php the_time(‘M’) ?> </div>
<div class=”entry”>
<?php the_content() ?>
</div></div>Instead of this:
<?php the_time(‘M’) ?> </div>
<div class=”entry”>
<?php the_excerpt() ?>
</div></div>And it seems to be working. Not sure why, or what The_Loop really is (or does… although I read the link you provided), or what the_excerpt or the_content is or does… but it’s working.
That’s what counts. I’ll figure out the hows and whys later.
Forum: Fixing WordPress
In reply to: Failed to create stream, Failed opening required…Ok, duh… I knew it had to do with the paths, but I haven’t done much HTML editing in the past year, so I’m not as sharp as I used to be… it was a VERY simple fix:
In index.php:
<?php /* Short and sweet */
define(‘WP_USE_THEMES’, true);
require(‘wp-blog-header.php’);
?>So, I just changed:
require(‘./wp-blog-header.php’);
to:
require(‘wp-blog-header.php’);Now to do some testing to see if I have to alter any other paths…
Thanks to everyone for your help.
Forum: Fixing WordPress
In reply to: Failed to create stream, Failed opening required…Hi, thanks for the link.
I’d already set up PHP, Perl, CGI and MySQL for the Interland server, and I’d set index.php as a default page.
It all appears to work when I’m creating posts, and I can access all the administration pages for Word Press, but I just can’t see what I’ve posted because of that error I’m getting.
Anyone have any ideas what’s causing the error and how to fix it?