Hello (world ;)),
I'm a bit surprised : There is not an "Hello World article anymore on my new created blogs.
What did I change to avoid this first entry ??
Thanks for your help !
Hello (world ;)),
I'm a bit surprised : There is not an "Hello World article anymore on my new created blogs.
What did I change to avoid this first entry ??
Thanks for your help !
Well, to be clearer, no articles are created in the admin, but in my last recent posts / most active blogs, something appears :
Check it : http://blog.enseignons.be
No one could help me with my mistake ??
I have a page (not the first article) that is created, but no "hello world" at all (neither in my mysql database actually)
// First post
$now = date('Y-m-d H:i:s');
$now_gmt = gmdate('Y-m-d H:i:s');
$first_post = get_site_option( 'first_post' );
if( $first_post == false )
$first_post = stripslashes( __( 'Welcome to SITE_NAME. This is your first post. Edit or delete it, then start blogging!' ) );
$first_post = str_replace( "SITE_URL", "http://" . $current_site->domain . $current_site->path, $first_post );
$first_post = str_replace( "SITE_NAME", $current_site->site_name, $first_post );
$first_post = stripslashes( $first_post );
$wpdb->query("INSERT INTO $wpdb->posts (post_author, post_date, post_date_gmt, post_content, post_title, post_category, post_name, post_modified, post_modified_gmt, comment_count) VALUES ('".$user_id."', '$now', '$now_gmt', '".addslashes($first_post)."', '".addslashes(__('Hello world!'))."', '0', '".addslashes(__('hello-world'))."', '$now', '$now_gmt', '1')");
$wpdb->query( "INSERT INTO $wpdb->post2cat (
rel_id
,post_id
,category_id
) VALUES (1, 1, 1)" );Why this is not done with my installation ? (wpmu-functions.php)
Is there anything in your error_log file?
Take a look at Dashboard -> Site Admin -> options and make sure that there's something in teh First Post box.
Is there an error_log file for wpmu ? or do you mean the error_log from Apache ?
I do have this :
Bienvenue sur SITE_NAME. Ceci est votre premier article. Vous pouvez le modifier ou le supprimer, et commencer à utiliser votre site
put an empty file with the name error_log into WPMu's root and assign it a permission of 777 and please see what you get.
Hello drmike and thanks to help me in this ...
When I've checked the error.log from Apache (I never managed to make an erro_log working), here is what I got :
[Mon Apr 09 11:46:04 2007] [error] [client 213.219.160.107] install_blog - ID: 21 URL: http://blog.enseignons.be/nouveaublog/ Title: Ceci est un test
Well, very strange :
when I use Latest Posts, I got the "invisible" post in the list :
Derniers articles
1. sur chez les P'tits Malins
2. sur Ecole communale de Libin
3. sur Ecole Heureuse de Jemeppe/Meuse - Seraing
4. Rewics 2007 sur Education et technologie
/ sur
/ sur
/ sur
4. is my only "real post" .... :(
I'm working with php5 & mysql5 . Is this help ? ? ?
"This is your first post", any other files where I can find to edit this for new created blogs
This is your first post. Edit or delete it, then start blogging!
I found it here
index-install.php
Wp-admin\Includes\Upgrade.php
wp-includes\wpmu-functions.php
but what file to edit?