ELMIT
Forum Replies Created
-
Forum: Networking WordPress
In reply to: Changed singlesite to multisite, but new site shows MaintenanceFound it!!!
/etc/apache2/sites-available/example.com.conf needs this line:
ServerAlias *.example.com(The star was missing! – Merry Xmas)
Forum: Networking WordPress
In reply to: Changed singlesite to multisite, but new site shows Maintenance(will try to copy less from other sites ?? )
I tried to deactivate ALL (3) network activated plugins (All-in-One WP Migration, Beaver Builder Plugin (Lite Version), Contact Form 7). It did not change anything.
The main site example.com uses a plugin (WooCommerce). I use this as a local plugin, since I found in the error log file these records:
[Tue Dec 06 13:40:44.218132 2016] [:error] [pid 17388] [client 192.168.178.1:59394] WordPress database error Duplicate key name ‘location_type_code’ for query ALTER TABLE wp_woocommerce_tax_rate_locations ADD KEYlocation_type_code
(location_type
(40),location_code
(90)) made by activate_plugins, activate_plugin, do_action(‘activate_woocommerce/woocommerce.php’), WC_Install::install, WC_Install::create_tables, dbDelta, referer: https://example.com/wp-admin/plugins.phpI also found these errors in the log file:
[Tue Dec 06 17:07:35.620447 2016] [:error] [pid 8493] [client 192.168.178.1:52154] PHP Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /var/www/example.com/wp-content/plugins/beaver-builder-lite-version/classes/class-fl-builder-model.php:3550\nStack trace:\n#0 /var/www/example.com/wp-content/plugins/beaver-builder-lite-version/classes/class-fl-builder-model.php(3672): FLBuilderModel::get_user_template_type(166)\n#1 /var/www/example.com/wp-content/plugins/beaver-builder-lite-version/classes/class-fl-builder-model.php(3693): FLBuilderModel::is_post_node_template(166)\n#2 /var/www/example.com/wp-content/plugins/beaver-builder-lite-version/classes/class-fl-builder-model.php(4092): FLBuilderModel::is_post_global_node_template(166)\n#3 /var/www/example.com/wp-content/plugins/beaver-builder-lite-version/classes/class-fl-builder-model.php(2865): FLBuilderModel::unlink_global_node_template_from_all_posts(166)\n#4 /var/www/example.com/wp-includes/plugin.php(524): FLBuilderModel::delete_post(166)\n#5 /var/www/example.com/wp-includes/post.php(2366): do_action(‘before_delete_p…’, 166)\n#6 /var/www/example.com/wp-c in /var/www/example.com/wp-content/plugins/beaver-builder-lite-version/classes/class-fl-builder-model.php on line 3550, referer: https://example.com/wp-admin/themes.php
[Tue Dec 06 17:12:03.567849 2016] [core:error] [pid 8540] [client 192.168.178.1:52482] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace.If I hover over Visit at the Sites for the site test.example.com the link shows test.example.com (correct) and gives me the Maintenance picture.
If I hover over Dashboard at the Sites for the site test.example.com the link shows https://test.example.com/wp-admin/
Shouldn’t there be a “network” in that link???
I am using the Theme Tesseract
wp-config.php shows:
define(‘SITE_ID_CURRENT_SITE’, 1);
define(‘BLOG_ID_CURRENT_SITE’, 1);
/* That’s all, stop editing! Happy blogging. */However, phpmyadmin, names the tables 3 and 5 (I tried to delete and add sites again), woocommerce did not get the numbers. Should that be changed in the config file to 3 instead of 1???
Forum: Networking WordPress
In reply to: Moving to a new server gives me head acheI had in /etc/hosts:
11.22.33.44 abc.com
instead of
127.0.0.1 abc.comThanks!
I found the solution (thought I posted it here, must have done on another place):
Just change “Automatic detection” to “Custom Location”
Both include the same path, but with the Custom Location it works then also automatically.It seems to me, that automatic detection does not use the full path in the program, but relative, so when you call it manual, you are at the right place to start with, …
Please report if that worked for you too.
I think I found a solution.
For me the sitemap was created, only when I initiate it manual, but never automatically.
I knew, that it is a problem with the path, …
So I just clicked the own path instead automatic path, but left exactly the preset, now it works automatically too.
??
bye
Ronald
I have a MU blog site of the type subdirectory:
https://blog.com/blog-1
https://blog.com/blog-2
…The domain blog.com is linked to the directory /home/me/wordpress
The sitemap directory is /home/me/wordpress/sitemapsManually, all sitemaps are updated, automatically I get the above errors:
There was a problem writing your sitemap file. Make sure the file exists and is writable.
There was a problem writing your zipped sitemap file. Make sure the file exists and is writable.I changed the permission already of the files to 755, but still the same.
I could not find any other sitemap files on my system.
Any ideas?
bye
Ronald
Chris, thank you very much!!!
Forum: Networking WordPress
In reply to: Rename/move multi-site blogOne part I was missing:
5. change wp-config.php
from:
define( ‘DOMAIN_CURRENT_SITE’, ‘test.abc.com’ );
to:
define( ‘DOMAIN_CURRENT_SITE’, ‘blog.abc.com’ );(I hope it was all)
Forum: Networking WordPress
In reply to: Rename/move multi-site blogOne part I was missing:
5. change wp-config.php
from:
define( ‘DOMAIN_CURRENT_SITE’, ‘test.abc.com’ );
to:
define( ‘DOMAIN_CURRENT_SITE’, ‘blog.abc.com’ );(I hope it was all)
Forum: Networking WordPress
In reply to: Rename/move multi-site blogSince my blog site is just a couple of days old the easiest way was:
1. move the directory to the new place
2. exported with phpMyAdmin the entire database (including drop table statement)
3. opened the database dump with a text editor and with search / replace changed the string
4. imported the database with phpMyAdmin and replaced so all tablesWorked!
Forum: Networking WordPress
In reply to: Rename/move multi-site blogUnfortunately, that does not work.
The main site is GREY, I cannot change the URL there. I can change only in the sub-blogs.
I have setup the network as:
https://test.abc.com <– main site
https://test.abc.com/blog-1
https://test.abc.com/blog-2
https://test.abc.com/blog-3
https://test.abc.com/blog-4Forum: Networking WordPress
In reply to: Super admin not showingThank you so much. So far all worked. Only, I did not get an email for the new admins I made for the subsites. I checked spam folders. Not to find any emails.
I will test this now over the next couple of weeks before I use that on a production blog.
Some thoughts I have still:
I use in permalinks:
/%category%/%postname%.htmlWith the new multi-site blog, I will use the same. (I will use the original category as a subsite.) Will this permalink give me troubles? Is there a conflict between site and category?
Where can I read more? Do I install plug-ins as SuperAdmin or as site admin? The main blog is still available, can that be used to give a dynamic content page of all other blogs? Can I move posts from one sub-blog to another?
Next big question is migration. My current blog has all categories and the new blog “test” will get all sub blogs as I have now categories. Is it possible to migrate from old blog per category to the test blog’s sub-blogs, remove old blog and rename test blog to the current old blog’s name?
Forum: Networking WordPress
In reply to: Super admin not showingAndrea, thanks!
Before I start over, can you please help me to get clearer what I want ??
I have a domain I use for other purposes, like shop, www, … and now I would like to add blog.abc.com
Can I have, alex.blog.abc.com and boby.blog.abc.com ? Would that be easier than blog.abc.com/alex and blog.abc.com/boby ???or
should I go with alex.abc.com and boby.abc.com ?
Would that interfer with https://www.abc.com and shop.abc.com ???Forum: Networking WordPress
In reply to: Super admin not showingI checked that too, no luck. And they are spelled correct.
Now I am out of luck totally again. I cannot even login as Superadmin!
I forced to subdir, but forgot to change the .htaccess settings to that. Now, even I change it, I cannot login anymore.
Any hints or should I start over to install it? and what should I take care of?
Forum: Networking WordPress
In reply to: Super admin not showingThank you very much. Now it is setup.
I am at the next problem.
I logged in with my only account I have and added 5 sites. For each site it asked me for a site address, site title and admin’s email. For my testing I used for each site the same email address!It accepted it, but I have not got an email with the login information.
The site itself has information, but no theme.
Any ideas?