Asbj?rn Ulsberg
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to transfer stats between blogs?I’m having the same issue with a blog I recently moved from wordpress.com to a self-hosted WordPress blog. It’s a real shame that the stats aren’t included in the export.
Forum: Fixing WordPress
In reply to: is_user_logged_in not working as expectedAfter digging through my cookies with Firecookie I’ve found that after logging in, I got a few cookies named
wordpress_logged_in_237312a047c89340145b05ba23e10dd3
that had the Path set to//
. Removing the last/
from the WordPress settings (that are reflected in theWP_HOME
constant andbloginfo('home')
) seems to have fixed the issue.Forum: Fixing WordPress
In reply to: is_user_logged_in not working as expectedI’m having the same problem. I’ve dug into the underlying code of
is_user_logged_in()
and found that the inner call towp_parse_auth_cookie()
returnsfalse
. Avar_dump($_COOKIE)
reveals that there’s actually no cookies named anything like whatwp_parse_auth_cookie()
is looking for.You could almost come to the obvious conclusion that I can’t be logged in, haven’t it been for the utter inexplicable fact that I’m viewing the WordPress Dashboard, logged in as the administrator (or any other user, for that matter) in the same browser and session as the one where
is_user_logged_in()
returnsfalse
.Awesome! ??
Forum: Installing WordPress
In reply to: ?tegory% Permalink makes two URLsIsn’t it possible to write a plugin that accomplishes this somehow? Isn’t there a ‘rewrite’ hook in the WP API?
Forum: Fixing WordPress
In reply to: attachment linked to page results in 404Same problem here. Please fix this!
I don’t have a
wp_user_roles
table in my WP database. Should I have that on a clean 2.1.2 installation or is it just slug from old installations? If I’m supposed to have it, where have it gone and why (I surely haven’t deleted it on purpose and it isn’t on any of my other WP installations either). If I’m not supposed to have it, then surely modifying it according to elpis2000’s tip won’t help.Forum: Fixing WordPress
In reply to: Can’t edit/delete pages in 2.1 (post are OK)Oh and just to make it clear to all those who thinks this is related to upgrading, this is a clean 2.1.2 installation, upgraded to 2.1.3. The site wasn’t used much in 2.1.2, so the problem might have been introduced with 2.1.3, however, other people have had this problem since 2.1.0, so that’s not very likely.
Forum: Fixing WordPress
In reply to: Can’t edit/delete pages in 2.1 (post are OK)I’m having the same problem on a 2.1.3 installation now. Seems like the Ajax magic that should be deleting the pages doesn’t do anything but remove them visually from the list. The pages are there again when I refresh. I get absolutely no error messages.
Forum: Fixing WordPress
In reply to: Custom archive page titlesIn what file is this template code? Is it inside the archive.php file and within that file, you have the whole HTML document structure defined, with the code you’ve pasted inside the <head></head> section of the document?
Forum: Fixing WordPress
In reply to: sudden disappear of visual editorI’m having the same problem, and the worst part about it is that it isn’t consistent. But I think I’ve managed to narrow the problem down to a plugin containing the following relatively simple PHP code:
function post_link_to($permalink) { if (function_exists('c2c_get_custom')) { $link_to = c2c_get_custom('link_to'); if ($link_to) return $link_to; } return $permalink; } // au_post_link_to add_action('the_permalink', 'post_link_to', 20);
Any help or idea of why this plugin destroys the visual editor is highly appreciated.