DrLightman
Forum Replies Created
-
Forum: Networking WordPress
In reply to: 3.0 Multisite Domain Headaches – Mapping DNS to subdomain?I’m running 100+ blogs succesfully with domain mapping and WP3 multiste, but this last site I’ve added is driving me nuts -.-“
mainsite: main.com
blog added: remapped.main.com
remapped to: vww.remapped.comThere are entries in:
wp_blogs (vww.remapped.com,/) yes I use www for all, more dumb-users-firendly π
wp_domain_mapping (reference to table above,vww.remapped.com,1)
wp_131_options has siteurl and url “http://www.remapped.com/”
And still, when I type vww.remapped.com, I get:
http://main.com/wp-signup.php?new=vww.remapped.com
And it opens a form with the username “vwwremappedcom” without dots, email blank, even if I disabled.
(used vww in place of www to avoid damn url autoparsing)
Forum: Plugins
In reply to: Change password via front-end… plugin?Maybe in the .htaccess?
And as always happens, after I post, I find the cause of the issue.
The template page was holding a query_posts call that was returing 0 posts polling froma category “shop”, so this caused the menu item to not highlight with the current-menu-item class.
Commenting the function call or adding a post to the category “shop” fixed this, don’t ask me why…
I’m having this problem too and the strange thing is it’s working for all menu items excpet for one static page menu item, named “shop”.
Mostly are static pages, and some category links. All works expcte for mysite.com/shop/ that doesn’t acquire the current-menu-item class.
Forum: Fixing WordPress
In reply to: category_children – how to recalculate?I had this problem again in WP 3.0.1 after importing several XMLs from another blog into my blog using the official WordPress Importer 0.2 plugin, merging tags and categories. The effective number of pages of categories did not reflect the real number of categories present in the database, because even if the total pages were 9 after the 6th they were empty.
To fix this I had to delete the option named “category_children”, so that it was autoamtically recalculated by WP again when I went back to the Categories menΓΉ in the dashboard.
I’ll leave it here as a memo for me or for anyone who could find it useful.
Forum: Plugins
In reply to: [Plugin: Google XML Sitempas] Fatal Error at line 910 of sitemap-ui.phpThank you for the attention.
First time (8 motnsh ago) was WP 2.9.1
Now it’s WP 3.0.1
I’m on “standard” linux server with Apache PHP5x and MySQL5x.
I’ve to use the plugin version 3.2.3 because with the last 3.2.4 I’m still getting the Fatal Error.
About disabling the other plugins I’ve not tried yet.
Forum: Plugins
In reply to: [Plugin: Google XML Sitempas] Fatal Error at line 910 of sitemap-ui.phpStill no ideas? Everyone runs this plugin with no problems at all?
Forum: Plugins
In reply to: [WordPress Importer] Bug : slash into tag names before single quoteIt doens’t even seem to work this way online, even with magic quotes Off π
I’m doing the import even if it’s messing the tag names, I’ll edit the rows in phpmyadmin with a replace to get rid of the \ later… a fix to this would be really appreciated though.
Forum: Plugins
In reply to: [WordPress Importer] Bug : slash into tag names before single quoteMaybe I found, but I’m not sure if this could lead to security holes. The procedure imports fine as I expect.
line 75 of wordpress-importer.php, changing:
$return = $wpdb->escape( trim( $return ) );
to:
$return = trim( $return );
Maybe escpaing is done afterward anyway, because I don’t get any SQL error with the modification.
Any opiniono on this?
Forum: Plugins
In reply to: [Plugin: Google XML Sitempas] Fatal Error at line 910 of sitemap-ui.phpAfter 7 months I’m encountering this error again.
The code involved of the plugin is:
echo '{url:"' . $v->getUrl() . '", priority:' . number_format($v->getPriority(),1,".","") . ', changeFreq:"' . $v->getChangeFreq() . '", lastChanged:"' . ($v!=null && $v->getLastMod()>0?date("Y-m-d",$v->getLastMod()):"") . '"}';What I did was implrting the tables from another installation.
Forum: Fixing WordPress
In reply to: Admin permission error after 3.0 upgradeIn my case I had to create manually this option because it was missing, I don’t know if this solution could work for you:
INSERT INTOwp_options(option_id,blog_id,option_name,option_value,autoload` )
VALUES (
NULL , ‘0’, ‘wp_user_roles’, ‘a:5:{s:13:”administrator”;a:2:{s:4:”name”;s:13:”Administrator”;s:12:”capabilities”;a:62:{s:13:”switch_themes”;b:1;s:11:”edit_themes”;b:1;s:16:”activate_plugins”;b:1;s:12:”edit_plugins”;b:1;s:10:”edit_users”;b:1;s:10:”edit_files”;b:1;s:14:”manage_options”;b:1;s:17:”moderate_comments”;b:1;s:17:”manage_categories”;b:1;s:12:”manage_links”;b:1;s:12:”upload_files”;b:1;s:6:”import”;b:1;s:15:”unfiltered_html”;b:1;s:10:”edit_posts”;b:1;s:17:”edit_others_posts”;b:1;s:20:”edit_published_posts”;b:1;s:13:”publish_posts”;b:1;s:10:”edit_pages”;b:1;s:4:”read”;b:1;s:8:”level_10″;b:1;s:7:”level_9″;b:1;s:7:”level_8″;b:1;s:7:”level_7″;b:1;s:7:”level_6″;b:1;s:7:”level_5″;b:1;s:7:”level_4″;b:1;s:7:”level_3″;b:1;s:7:”level_2″;b:1;s:7:”level_1″;b:1;s:7:”level_0″;b:1;s:17:”edit_others_pages”;b:1;s:20:”edit_published_pages”;b:1;s:13:”publish_pages”;b:1;s:12:”delete_pages”;b:1;s:19:”delete_others_pages”;b:1;s:22:”delete_published_pages”;b:1;s:12:”delete_posts”;b:1;s:19:”delete_others_posts”;b:1;s:22:”delete_published_posts”;b:1;s:20:”delete_private_posts”;b:1;s:18:”edit_private_posts”;b:1;s:18:”read_private_posts”;b:1;s:20:”delete_private_pages”;b:1;s:18:”edit_private_pages”;b:1;s:18:”read_private_pages”;b:1;s:12:”delete_users”;b:1;s:12:”create_users”;b:1;s:17:”unfiltered_upload”;b:1;s:14:”edit_dashboard”;b:1;s:14:”update_plugins”;b:1;s:14:”delete_plugins”;b:1;s:15:”install_plugins”;b:1;s:13:”update_themes”;b:1;s:14:”install_themes”;b:1;s:11:”update_core”;b:1;s:10:”list_users”;b:1;s:12:”remove_users”;b:1;s:9:”add_users”;b:1;s:13:”promote_users”;b:1;s:18:”edit_theme_options”;b:1;s:13:”delete_themes”;b:1;s:6:”export”;b:1;}}s:6:”editor”;a:2:{s:4:”name”;s:6:”Editor”;s:12:”capabilities”;a:34:{s:17:”moderate_comments”;b:1;s:17:”manage_categories”;b:1;s:12:”manage_links”;b:1;s:12:”upload_files”;b:1;s:15:”unfiltered_html”;b:1;s:10:”edit_posts”;b:1;s:17:”edit_others_posts”;b:1;s:20:”edit_published_posts”;b:1;s:13:”publish_posts”;b:1;s:10:”edit_pages”;b:1;s:4:”read”;b:1;s:7:”level_7″;b:1;s:7:”level_6″;b:1;s:7:”level_5″;b:1;s:7:”level_4″;b:1;s:7:”level_3″;b:1;s:7:”level_2″;b:1;s:7:”level_1″;b:1;s:7:”level_0″;b:1;s:17:”edit_others_pages”;b:1;s:20:”edit_published_pages”;b:1;s:13:”publish_pages”;b:1;s:12:”delete_pages”;b:1;s:19:”delete_others_pages”;b:1;s:22:”delete_published_pages”;b:1;s:12:”delete_posts”;b:1;s:19:”delete_others_posts”;b:1;s:22:”delete_published_posts”;b:1;s:20:”delete_private_posts”;b:1;s:18:”edit_private_posts”;b:1;s:18:”read_private_posts”;b:1;s:20:”delete_private_pages”;b:1;s:18:”edit_private_pages”;b:1;s:18:”read_private_pages”;b:1;}}s:6:”author”;a:2:{s:4:”name”;s:6:”Author”;s:12:”capabilities”;a:10:{s:12:”upload_files”;b:1;s:10:”edit_posts”;b:1;s:20:”edit_published_posts”;b:1;s:13:”publish_posts”;b:1;s:4:”read”;b:1;s:7:”level_2″;b:1;s:7:”level_1″;b:1;s:7:”level_0″;b:1;s:12:”delete_posts”;b:1;s:22:”delete_published_posts”;b:1;}}s:11:”contributor”;a:2:{s:4:”name”;s:11:”Contributor”;s:12:”capabilities”;a:5:{s:10:”edit_posts”;b:1;s:4:”read”;b:1;s:7:”level_1″;b:1;s:7:”level_0″;b:1;s:12:”delete_posts”;b:1;}}s:10:”subscriber”;a:2:{s:4:”name”;s:10:”Subscriber”;s:12:”capabilities”;a:2:{s:4:”read”;b:1;s:7:”level_0″;b:1;}}}’, ‘yes’
);`Forum: Fixing WordPress
In reply to: [WP Super Cache] [Plugin: WP Super Cache] Are my settings optimal?Mmh, the plugin does chace judging from the logs. I just noticed that I was checking while logged in. Logging out the html source shows an older timestamp!
Forum: Fixing WordPress
In reply to: [WP Super Cache] [Plugin: WP Super Cache] Are my settings optimal?I second this question.
Furthermore in my case, whenever I load the page, I always get the current time in “Live page server on …”, as if the cache was never used, even if I relead the same page after ten seconds π
Forum: Networking WordPress
In reply to: update_site_option( ) fails for (pretty) large dataedit2: tested on my local web server (Vista, Apache2, PHP5, MySQL5, WP 3.0.1 no plugins, php memory_limit=512M) and it fails too, no option is created and the add_option function returns false.
Happens on WP 3.0.1 too.
Forum: Networking WordPress
In reply to: update_site_option( ) fails for (pretty) large dataNo one experienced this? π