charvey5441
Forum Replies Created
-
Forum: Networking WordPress
In reply to: search not working for blogs in Network – goes to default siteWe found the issue:
in wp-content/themes/magatheme
<form name=”search”
class=”frm_search”
method=”get”
action=”<?php echo $_SERVER[‘PHP_SELF’]; ?>”><input type=”text” name=”s” id=”s” size=”25″ onclick=”if(this.value == ‘Search…’) this.value=”;” onblur=”if(this.value.length == 0) this.value=’Search…’;” tabindex=”1″ />
We changed:
action=”<?php echo $_SERVER[‘PHP_SELF’]; ?>”>
For:
action=”<?php echo $_SERVER[‘REQUEST_URI’]; ?>”>Forum: Networking WordPress
In reply to: Visiting network sites from the admin panel not workingIf I could kiss you I would ….thank you thank you thank you!
that was it – I did a brand new installation because I wanted to make sure it works from nothing – I can see where I am now when I move from one site to the other and I can activate specifically – I have imported both old sites…I have to check the results closely but the behavior so far looks as expected……Tks lots!
??
Forum: Networking WordPress
In reply to: Visiting network sites from the admin panel not workingtks – I will try right now.
??Forum: Networking WordPress
In reply to: Visiting network sites from the admin panel not working.htaccess file:
# 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).*) $1 [L]
RewriteRule ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
RewriteRule . index.php [L]# END WordPress
___________________________wp-config.php:
$table_prefix = ‘wp3_’;
define(‘WPLANG’, ”);
define(‘WP_DEBUG’, false);
define( ‘MULTISITE’, true );
define( ‘SUBDOMAIN_INSTALL’, false );
$base = ‘/’;
define( ‘DOMAIN_CURRENT_SITE’, ‘testsubdir.ca.ourdomain.net’ );
define( ‘PATH_CURRENT_SITE’, ‘/’ );
define( ‘SITE_ID_CURRENT_SITE’, 1 );
define( ‘BLOG_ID_CURRENT_SITE’, 1 );/* That’s all, stop editing! Happy blogging. */
/** Absolute path to the WordPress directory. */
if ( !defined(‘ABSPATH’) )
define(‘ABSPATH’, dirname(__FILE__) . ‘/’);/** Sets up WordPress vars and included files. */
require_once(ABSPATH . ‘wp-settings.php’);
________________________httpd.conf:
<VirtualHost *:80>
ServerAdmin root@localhost
ServerName testsubdir.ca.ourdomain.net
DocumentRoot “/var/www3/html”
<Directory /var/www3/html>
AllowOverride FileInfo Options
</Directory>
ErrorLog logs/error_subdir_log
CustomLog logs/access_subdir_log combined
#</VirtualHost>
Forum: Networking WordPress
In reply to: Visiting network sites from the admin panel not workingI am looking at the tables in my db and it looks fine from what I can tell – It has the root site tables and the other 2 sites as expected:
mysql> show tables;
+————————–+
| Tables_in_test3 |
+————————–+
| wp3_2_commentmeta |
| wp3_2_comments |
| wp3_2_links |
| wp3_2_options |
| wp3_2_postmeta |
| wp3_2_posts |
| wp3_2_term_relationships |
| wp3_2_term_taxonomy |
| wp3_2_terms |
| wp3_3_commentmeta |
| wp3_3_comments |
| wp3_3_links |
| wp3_3_options |
| wp3_3_postmeta |
| wp3_3_posts |
| wp3_3_term_relationships |
| wp3_3_term_taxonomy |
| wp3_3_terms |
| wp3_blog_versions |
| wp3_blogs |
| wp3_commentmeta |
| wp3_comments |
| wp3_links |
| wp3_options |
| wp3_postmeta |
| wp3_posts |
| wp3_registration_log |
| wp3_signups |
| wp3_site |
| wp3_sitemeta |
| wp3_statpress |
| wp3_term_relationships |
| wp3_term_taxonomy |
| wp3_terms |
| wp3_usermeta |
| wp3_users |
+————————–+Forum: Networking WordPress
In reply to: Visiting network sites from the admin panel not workingI am 100% sure – This was a new setup to make sure I had not done something wrong the first time around – I looked at all the site before import – they were all empty- I also tried playing with the various configurations. According to the rules, you should, as site admin, be able to go to your dashboard and activate a plugin just for your site ( this is understood that the plugins you see at this point have not been network activated) – so, I do just that, I activate the plugin in site1 – then I go to site2 and check the status of the plugin…it was changed at the same time….so there is something going on that should not…- Can it have something to do with a bad configuration in the database or in apache…I am not sure where to look.
At the moment I have multiple installations to test and everytime I make sure I use a different db, different table prefix but still…could that have an impact?
I also noticed that when I am in a specific site dashboard( looking at the url is the only way I know where I am), if I make a change and then save the change, upon saving…the url changes and it goes back to the root site url….is that normal?
??
Forum: Networking WordPress
In reply to: Visiting network sites from the admin panel not workingso far I have tried many different scenarios without the expeted behavior.
One of the old sites ( not that old – it was deployed a few months ago) in on 3.01 and it was installed with the multisites option on but no network cofnigured…I am not sure it that helps… or if I should move to verions 3.1.2 anyways…when I go into the site |I which to import into – I can see URL pointing to the proper site dashboard – go to tools/import – select proper export file…import successfull – I see al I want to see….but if I go to the other sites…they all have what i have just imported…all the users, all the posts….
so – if I am suppose to be able to import when I am in the proper dashboard, then is there something I forgot to turn off somewhere so it does nto get populated to the other sites? or is it only possible if you use subdomains?
I saw your response Andrea but that procedure scares me…I am trying to avoid it …lol…
(tks for your help by the way:-))
Forum: Networking WordPress
In reply to: Visiting network sites from the admin panel not workingI was able to fix the first problem – Needed to add in httpd.conf
AllowOverride FileInfo OptionI am able to get to dashboard of all my sites and I though this would also fixe the second issue – that once in the proper site dashboard, I would use the import and it would import in the proper site….nop….I ended up with my import in all the sites…what is it I don’t understand about this…????sorry being new at this it is a bit frustrating…
Here is what I am trying to achieve: I already have two sites on different servers. I want to create a new wp env with multisites -subdirectories – import each of the old site in new site in the multisites env. and from now on be able to create new sites and import a tempate site into it – Am I right to assume this is possible?
Forum: Networking WordPress
In reply to: Visiting network sites from the admin panel not workingI have the same problem but I can’t access my new sites nor from the admin console nor directly.
I am presently testing how we will import old sites into a new and improved wordpress 3.1 because we want to use the multisite features. We want to have a subdirectory structure.
primary site:https://testms.ourdomain.ca/blogs -> that part work fine so faradded new site: this asks for the path and when it does it give on top what your curent default is (https://testms.ourdomain.ca/blogs/) so I added only the extra subdir which makes the whole path look like this:https://testms.ourdomain.ca/blogs/testsite1
Did this twice so now I have 3 sites:
https://testms.ourdomain.ca/blogs -> I have access to the dasboard & site
https://testms.ourdomain.ca/blogs/testsite1 -> can’t access dasboard nor site
https://testms.ourdomain.ca/blogs/testsite2 -> can’t access dasboard nor siteThe error when I try to access the new sites1&2 is: website can not be found ( same behavior to access site or dashboard )
Second issue:
Then I tried to import an old site thinking one of the new site will be the shell for one of the old sites….but…to my surprise it does not ask where you want to import…it just does the import in the root site…which is not at all what we want…what am I doing wrong???