sam_a
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WP 2.5.1 – Can’t make new posts nowThis fixed the problem for me in Camino & Safari : Clear the browser cache, erase WordPress cookies, quit & relaunch the browser.
Forum: Fixing WordPress
In reply to: Problem w/ 2.5.1 and Safari 3.1.1 (post_new.php)Try clearing the cache and erasing all your WordPress cookies — I think that fixed the problem for me in Safari.
Forum: Plugins
In reply to: [Plugin: pb-embedFlash] Media Player flashvars have no effect (1.5 rc 8.1)It works, thanks!
Forum: Fixing WordPress
In reply to: Lost Paragraphs Bug in SafariIn WordPress 2.3.3 + Safari 3.1, this fix (from http://www.lost-in-code.com/28/wordpress-safari/) worked for me:
Find lines 4025 and 4026 in wp-includes/js/tinymce/tiny_mce.js:
if (tinyMCE.isSafari && this.formElement)
this.formElement.innerText = htm;and comment them both out:
// if (tinyMCE.isSafari && this.formElement)
// this.formElement.innerText = htm;Forum: Plugins
In reply to: Pull latest attachment from post?> I want to do the same thing but instead of just the latest attachment, i want to pull ALL attachments for a post.
You can do this with WordPress’s
get_postsfunction; see, e.g., http://codex.wordpress.org/Template_Tags/get_posts#Show_attachments_for_the_current_postYou can use some of the functions Kafkaesqui mentioned above (these are mostly undocumented: http://codex.wordpress.org/Category:Attachments).
Forum: Plugins
In reply to: Display Content in Page Feed – Not Comments!I updated my plugin and it seems to work in WordPress 2.2; I haven’t tested in 2.3.
Fix page feed plugin for WordPress 2.1+
I thought the bug was supposed to be fixed in 2.2 but I guess not.
Forum: Fixing WordPress
In reply to: “Pretty” permalinks problem; “Not Found”That’s good news. Do you see
AllowOverride Noneanywhere in your config files?Forum: Fixing WordPress
In reply to: “Pretty” permalinks problem; “Not Found”> Not even this is working.
So you still see the default server 404 page?
Ok, put this line inside your
<Directory /var/www>section in httpd.conf:ErrorDocument 404 "Not found (httpd.conf Directory /var/www)Save, restart Apache. Load a non-existent URL (like
/404test) in your browser. You should see the message “”Not found (httpd.conf Directory /var/www)” instead of the default server 404 page, I hope.Forum: Fixing WordPress
In reply to: “Pretty” permalinks problem; “Not Found”The directives in your
<Directory /var/www>section look right.Try putting this at the top of your /var/www/.htaccess file (all on 1 line):
ErrorDocument 404 "Not found (this is your .htaccess file)
then load one of WordPress’s permalinks, or any non-existing URL.
If you see the custom message (
this is your .htaccess file), it means the .htaccess file is being read and applied.Forum: Fixing WordPress
In reply to: “Pretty” permalinks problem; “Not Found”Well, let’s see…
• Did you restart Apache after you edited httpd.conf?
• Have you confirmed that *any* directive in the /var/www/.htaccess file has some effect (meaning the .htaccess file is being read)?
• Double check that the# BEGIN WordPressrules are in the .htaccess file in the same directory with WordPress’s index.php file, and that directory is your “Blog Address” (in General Options)You could maybe test the rewrite engine by putting these at the start of your /var/www/.htaccess file, before the WordPress rules:
RewriteEngine On RewriteBase / RewriteRule test /?ok [redirect,last]Then open URL
/testin your browser — you should see/?okin your location bar.Forum: Fixing WordPress
In reply to: “Pretty” permalinks problem; “Not Found”Actually, ignore my last post, there’s a better way:
Create a test directory, create an .htaccess file inside with this line:
RewriteEngine OnThen open that directory in your web browser.
If the mod_rewrite module is NOT active, then you’ll get a server error — you can check your error log to see what it is.
Forum: Fixing WordPress
In reply to: “Pretty” permalinks problem; “Not Found”To see if mod_rewrite is active, try commenting out the
IfModulelines, like#<IfModule mod_rewrite.c>
#</IfModule>If the mod_rewrite module is NOT active, then you’ll get a server error.
Is this on a live/public server?
Forum: Fixing WordPress
In reply to: “Pretty” permalinks problem; “Not Found”Are you seeing a WordPress “Not found” page or the server default “Not found” page?
Look in the .htaccess file in WordPress’s directory to see if the mod_rewrite rules were added — or did you add them yourself?
Forum: Fixing WordPress
In reply to: permalink: /Êtegory%/%postname% no imagesIf this is happening for images attached to posts (at
category/postname/attachment), it’s a WordPress bug, unfortunately.If you want to keep the
%category%/%postname%structure, you have change how WordPress generates the attachment URLs, probably by plugin.The default structure will work:
http://andreashuesch.de/?attachment=garden-wolf-spider-watch
and this might even work (from your example) — add
/attachment/between post name and attachment:http://andreashuesch.de/southern-highlands/spider-watch/attachment/garden-wolf-spider-watch
Forum: Fixing WordPress
In reply to: Permalink not updating .htaccess “no input file specified’I’m not sure I understand your situation, but — I think you should either
- Use “pretty” permalinks (without
index.php/in your structure) and put WordPress’s RewriteRules in the .htaccess file; or - Use PATHINFO permalinks (starting with
index.php/) and keep WordPress’s RewriteRules out of your .htaccess file
The “Category Base” field should be either empty or have a simple word like “categories”, never “index.php”.
- Use “pretty” permalinks (without