pcha0536
Forum Replies Created
-
Hi Jon Cave,
thanks for replying me. Now I understand the problem might be I click submit import several times, due to the page always hang on blank page. Or stop loading and never reach the “have fun” step.well, seems it is difficult for me because my current sites got more than 100 authors… I feel I cannot do it one by one.
AND I always got blank page or stop load while import (is that caused by php loading timeout ?) . Some posts set it caused by php.ini max_execution_time, max_input_time, memory_limit, and ..etc. However, no matter what value I change, I cannot get rid of this problem.
I know there is another plugin called: Advanced Export for WordPress & WordPress MU https://wpmututorials.com/plugins/advanced-export/
It can import posts with correct author, but it may not check whether the media files existing or not. I feel it will keep adding media files in background processing, even you close the browser. (ex: the uploads directory 5XX MB, after import I got more than 1 GB.)
I was thinking: (just assumption)
1) import document and attachemnt. to get all media files.
2) delete database and reset to default wordpress.
3) import without doucment and attachement.
4) modify and update the internal post links. (modify db table)
5) export/import user and usermeta from current sites. then modify db table.I am trying to use another method mentioned in the following blog.
https://welcome.totheinter.net/2008/10/04/how-to-migrate-from-wordpress-to-wordpress-mu/It seems work and I think maybe I can migrate the users with this method.
The problem is for the multisite user roles on different blogs. is wp_usermeta table control the user roles and level while they login ?
Hi Jon Cave,
I made the change on define( ‘IMPORT_DEBUG’, true );. and there are two situation.uncheck Download and import file attachments, it go to the loading page. This load the posts properly with correct authors, but import users cannot login (password error). and their roles become subscriber.
check Download and import file attachments, first, it hang on blank page while loading.alothugh the users are imported, the posts are not .Then I have to re-import several times to load all post (to reach have fun) .
Secondly, I got the following notice:
Failed to create new user for admin. Their posts will be attributed to the current user. This username is already registered.
Failed to create new user for Fred. Their posts will be attributed to the current user. This username is already registered.
Failed to create new user for Lucy Wire. Their posts will be attributed to the current user. This username is already registered.
Failed to create new user for Tristan Ap. Their posts will be attributed to the current user. This username is already registered.
…P.S. sometimes I got the following message
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.. I import to my local zend server virtual hostThirdly, once all posts imported, not all posts assigned to the right authors.
In conclusion, if I uncheck Download and import file attachments, the post import correctly. But the links won’t update to the new site and the media files are not downloaded to my localhost.
If I download and import file attachments, cannot assign the author to their corresponding post.
Hi Jon Cave,
Thanks for replying me.However, it still doesn’t work. Some of the posts can be imported correctly, but most of the posts are assigned to admin…
and the user cannot be import/create properly.
- not all of the users imported.
- their roles mis-match, for example, administrator become subscriber.
I would like to know what the problem is. any article or posts that relate to importing posts and users ?
Forum: Networking WordPress
In reply to: Multi Site install shows sub-site admin but no site contentAndrea_r-
OK I see…, maybe I was forget. anyway, thanks again for your help.
I learn a new thing.Forum: Networking WordPress
In reply to: Multi Site install shows sub-site admin but no site contentAndrea_r-
It works. thanks Andrea_r. you are right, there is a folder call “project” in my directory. and I rename that folder, problem is gone.
If I am not wrong, I didn’t create that one…, either the wordpress 3.04 has default folder called project, OR wordpress will automatically create new folder for the first multiple blog.
(because I create another sub site …XXX/test/, and there is no problem at all).Forum: Networking WordPress
In reply to: Multi Site install shows sub-site admin but no site contentAndrea_r-
Ipstenu-
I am not sure whether I am allowed to attach link or not…This is my sample wordpress site:
https://pochunchang.hostzi.com/and my sub directory site, which cannot access
https://pochunchang.hostzi.com/project/
(before it displayed blank with “Index of /project”, you can try)and you can try this, and it works:
https://pochunchang.hostzi.com/project/about/for the wp-config.php and .htaccess configuration code:
wp-config.php
/** extra code for multiple blogs *************/
define(‘WP_ALLOW_MULTISITE’, true);
define( ‘MULTISITE’, true );
define( ‘SUBDOMAIN_INSTALL’, false );
$base = ‘/’;
define( ‘DOMAIN_CURRENT_SITE’, ‘pochunchang.hostzi.com’ );
define( ‘PATH_CURRENT_SITE’, ‘/’ );
define( ‘SITE_ID_CURRENT_SITE’, 1 );
define( ‘BLOG_ID_CURRENT_SITE’, 1 );
/**************END OF multiple blogs code*******/.htaccess
#BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]# uploaded files
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ – [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
#END WordPressForum: Networking WordPress
In reply to: Multi Site install shows sub-site admin but no site contentI gut the same issue as well. I can go to my sub-site dashboard, but cannot browse my sub site home page.
That’s right!! cannot access sub site HOME PAGE.and the interesting things is:
I can browse the post, page, comment…etc in sub site page. and everything looks fine (you can see tweentyten head banner, sidebar, footer,content…etc.)Everything works fine, except the sub site homepage.