Mitchell D. Miller
Forum Replies Created
-
Forum: Installing WordPress
In reply to: wp-load wp-settings error_reporting E_RECOVERABLE_ERROR2) forget 2 – somehow missed if ( defined(‘E_RECOVERABLE_ERROR’) )
Forum: Themes and Templates
In reply to: how to display text from functions.phpIt works: WP Test
Thanks!
Forum: Themes and Templates
In reply to: how to display text from functions.phpRegular site worked fine.
After I added style function, I only saw the output
of my function — instead of page, not added to page. Does it make sense now?I rewrote it using JS to call PHP, just adding
text/plain
header,
and it works fine,however I would like to know what I did wrong, because I would rather
use one php statement instead of a couple of JS functions.Forum: Themes and Templates
In reply to: how to display text from functions.phpThanks for replying.
WP *only* displays
foo
e.g: if page is:
<h1>title</h1><p>text</p><p><?php foo()?></p>
all I see isfoo
Tried adding
header('Content-type: text/plain')
like I would do from js/ajax then all I got was
plain text ‘foo` –
page displays normally I remove function call.Was that clear?
Forum: Installing WordPress
In reply to: need help installing wordpress with Xamppfor xampp see: https://www.apachefriends.org/en/faq-xampp-windows.html
for WP see: https://codex.www.ads-software.com
Forum: Installing WordPress
In reply to: Database errors and lost content after 2.61 upgradeYes, I ran upgrade, and was surprised when it asked to upgrade db.
Do you know how can I fix this?
Forum: Fixing WordPress
In reply to: how do I enable trackbacks?I fixed this by adding trackback_rdf() to index.php
Forum: Fixing WordPress
In reply to: how to stop WP from changing my xhtmlI figured it out:
changed
<br />>
to
<span style=”margin-top: 2em”>Forum: Fixing WordPress
In reply to: how to stop WP from changing my xhtmlThanks for your reply, but that option is not is not available in my WP 2.2 installation.
Forum: Fixing WordPress
In reply to: how to stop WP from changing my xhtmlThanks Eable, but it is unchecked.
Any other suggestions?Forum: Fixing WordPress
In reply to: how to stop WP from changing my xhtmlsorry –
should have said, that it changed:
<h2>test< br/>< br/>more test<h2>to
<h2>test<p>more text<h2>Forum: Fixing WordPress
In reply to: Edit generates a moderate emailI am using 2.2 and have the same problem.
I receive a “Please moderate” email whenever I edit a post.
IMO this is a bug. How do you report bugs around here?
Forum: Fixing WordPress
In reply to: how does something read contents of index.php?Thanks very much for explaining everything.
I reset index.php and .htaccess to 644.
I am just going to forget about someone finding my cgi, and executing it as a shell command, and hope it doesn’t happen again. It didn’t make any sense to me that someone would be able to read the contents of index.php, because that’s what “content-type” is for.
I looked at sphere.com and their bot can get in now. I also looked at webmasterworld, thanks.
I telnetted to your site because I was crazed and wanted to see if http 1.0 and 1.1 worked the same with index.php. I keep thinking that there is some way to trick it into being served as plain text. I have been writing CGI in C since 1995, and nobody get to executables in cgi-bin. PHP has me spooked. I’ve never used perl for the same reason.
I like your site. I especially like the black/white/red colors – I used to use them all the time for Web jobs. I used light on dark for my blog, because I wanted to be different, but now I’m not so sure.
I also liked “No Flash Detected” – instead of that horrible “install plugin.”
I also like all your meta tags – and I am going to use some of them. I need to learn more about RSS and atom. I want the world to be notified when I put up a new page or post.
Now I’ve create some content, and then it’s time to try adsense.
FYI: The only thing I found was that you have two “content-type” lines. Otherwise it’s fantastic! You’ve got plugins and everything <g>.
Best wishes and thanks again for your time, and especially your patience!
Forum: Fixing WordPress
In reply to: how does something read contents of index.php?I’ve always run cgi’s from an aliased dir, but PHP doesn’t recognize “/cgi-bin” and it wants a full path. After reading all the spam/robot warnings from wp users, I figured that I was being smart by putting this cgi outside of everything, because I thought there was no way for anyone, except root, to access it directly.
My big question was how did something read index.php?
If I can’t see the cgi’s name/path with LiveHttpHeaders, how can someone else find it?
Somewhere in the installation instructions it said to “chmod 666 .htaccess index.php”
is that correct? Should I not worry about anything messing with index.php?The thing that really set me off was finding “my.cgi wheredidmybraingo.com Sphere-Scout” in my error log. When I write a normal site for someone, I try to block all bots except googlebot and yahoo.
With the blog, I want bots. So I write all the unknown agents to a file and enable them on a case-by-case basis. So far I have enabled access to YahooFeedSeeker, Feedster, Technoratibot, BlogPulse, Moreoverbot. I found them in the log, looked them up, they seemed fine, so they’re in.Am I getting all bent out shape over nothing? I just telnetted to your server and tried to get index.php with HTTP 1.0 and 1.1 and got a 400 with 1.0 and
“A fatal exception 0E” with 1.1.So
1) is it possible for someone to read index.php?
2) and should I add “Sphere Scout” to list of good bots
3) does WP keep a list of good bots anywhere so I can add them all in at once?
4) besides .htaccess, index.php, wp-uploads, does anything else need to be writeable?Thanks very much for your help.