To insert code use <code>...</code>.
Multisite questions - archived and kept so users can learn from the mistakes others made....
  • Hi,

    Slowly having a nervous breakdown.... so please help.

    Site: www.corianderglass.com

    I've enabled multisite:
    Only the 3d slider works.
    My font size and color selections changed, specifically in the header (my theme was exactly as the striking demo - black and white)
    Most of the functions, like color, header height, logo bottom (almost everything), will not change/work no matter what I do.
    Suggestions ?? Help please...

    Thanks
    Mike
  • 49 Comments sorted by
  • Would it have something to do with the .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).*) $1 [L]
    RewriteRule ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]


    # END WordPress
  • Ok... so it has something to do with this more... (added to the wp-config file as part of the multisite install)


    define ('WP_ALLOW_MULTISITE', true);
    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', false );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'www.corianderglass.com' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );

    What in this code would break the theme ??

    Mike
  • I too have this same problem on multisite. I have tested that those same sliders do not work but the 3D slider works.

    I have tested on another wordpress install on the same server that is not multisite and it works fine so it is definitely related to multisite. I have checked all permissions and its not those also.

    I do NOT have the domain mapper plugin installed and when I looked at your code in themegenerator.php I noticed you test for that plugin but not everyone uses it, it is a waste and completely not needed.

    This causes my images to be called in this fashion:

    /includes/timthumb.php?src=http://www.domain.com/http://www.domain.com/files/slider-134.jpg&h=250&w=960&zc=1

    Notice the duplicate http://www.domain.com/

    @mapleleaf3
    Are you using the domain mapper plugin on your site?
  • I have it installed but not activated.
    I stripped the multisite code from the wp-config file (above) and changed the .htaccess back to normal and the site is fine.
    After going back and forth, playing with the code, it is definitely something in the php code.
    Just putting in the define ('WP_ALLOW_MULTISITE', true); - the first step in creating a multisite - alone breaks the slider, so only the 3d slider works.
  • Hi mapleleaf3 and paulieb81.

    I am just seeing your comments for the first time - Kappy is supposed to be minding the forum as I am heavily into a business project at this moment, but he seems to be absent today. I hopped onto the forum during a quick coffee break - stupid me!

    I have to take a hard look at what is happening here, which requires I test and try to recreate it. This I cannot do right now.

    I am pretty sure that the issue is the reading of the filepaths by the timthumb script and how it is being served up by the server, when you are in multisite mode. We have run into a similar situation in non-multisite mode for 3 users, where the server was providing a relative file path rather then a direct file path, and you can see that this is the case I think with paulie.

    it took our collective intelligence internally to resolve the other matter (we have a rewrite of some of the timthumb js so it can resolve either method of being served).

    Both of you please email kaptinlin@gmail.com with your ftp and wp logins (note they must be for the ftp domain root and wp master admin - we suggest you just give us yours, and you can change the passwords after this is resolved if you worry about these types of things).

    Provide the hyperlink to this thread in your email and we will get back to you - most likely Kappy as I am unavailable until Sunday at the earliest - in fact these are likely my very last words on the forum until then.

    Best Regards
    Websys Team
    James
  • Sending the email now.

    Many thanks,
    Mike
  • You are not forgotten. Lin is going to take the lead on this. I expect he will have something to say about this on Monday. I already indicated in the other post on this subject that I was unavailable this weekend - although I am taking a few minutes out of my Sunday evening away from my family, to have a quick lookover the forum.

    One of the concerns I have, I might add, is whether the users are implementing multisite correctly and I have relayed this to Lin. For instance, I noticed that some users are trying to implement multisite for sites already built.

    There are two threads on this. I am closing the other.
  • Hi all, just want to drop a note here because I didn't comment in this thread but had the same problem. I am trying to implement multisite with sites that are already built but if there is something else I need to do and can do that without having to recreate all my content again I am happy to do so.

    Thanks!
  • Howdy,

    I'm a bit different (that's what my wife says too :) ), all kidding aside, I just have the one site, and wanted to add one more to it.

    Watched mucho vids on multisite and found the most comprehensive instructions for activating it: http://wpebooks.com/wp-content/uploads/downloads/2011/08/CreateAWordPressNetwork.pdf
    So, I'm not sure what is happening.

    However, of interest, I also use cart66 on my wife's site, and when I turn inventory tracking on (uses ajax) it reports javascript errors/conflicts with the theme (I've turned tracking off).
    I went back through the vids and other versions of activating multisite instructions, and I can't see what errors I'm making (not to say I'm not).
    When I undo the multisite steps, the site goes back to normal.
    Sorry, if I'm repeating myself.
    Thanks again for all your help James/Lin, really appreciate the time you are taking to help us out.

    Kind regards
    Mike
  • I also wanted to note, that I know there are several ways to use multisite. I saw it noted above that someone had multisite setup incorrectly. I also wanted to note that I do NOT use a domain mapping plugin for multisite, so any checks in the code for such plugin will not work for me.

    In order to correctly map my domains without a plugin I simply made the change in my wp-config.php file on this line:

    define( 'DOMAIN_CURRENT_SITE', $_SERVER['HTTP_HOST'] );
    instead of:
    define( 'DOMAIN_CURRENT_SITE', 'www.domain.com' );

    This works properly and routes the domain to the proper database in a multisite install without the use of a domain mapping plugin. I just wanted to note this in case your script is doing a check for a function related to the domain mapping plugin to test for multisite usage.
  • timthumb.php update worked like a charm!! Nice one :)
    Meltdown averted!
    Thank you guys, nice one

    Kind regards
    Mike
  • mapleleaf3 what update did you apply? I am going to download the latest version from their site and give that a try, however please do advise what update you are using.
  • ok I updated the timthumb.php file from the latest SVN trunk from their site and that did not help out :(

    Mapleleaf3, could you please link me to your new timthumb.php file saved as a .txt file?
  • @staff, please advise what update was made for mapleleaf3, I would very much like the update for multisite.
  • sorry for my late reply: https://gist.github.com/1297345

    I assume this timthumb will be in the next update also ??
  • Of course. This timthumb will be included in the new update.
  • @KaptinLin

    Thank you for the reply however maybe my problem is different, please view my site to see exactly what my problem is, as mentioned my path for the image is showing a double domain name, this is an install on a multisite. I have tested the exact theme on the same server with a different wordpress install and it works fine. Also this theme is a child theme, that maybe the difference.

  • @mapleleaf3 thank you for the link to the file, unfortunately it did not help my problem. :(
  • Tried the timthumb upload, nada. I hope someone can help me.... :-(
  • @staff
    Any ideas what may be wrong with my website?
  • No updates? >:( I really need this looked at for a potential client of mine. Please advise, it seams I am not the only one with this problem, although I see there are several reasons it happens.
  • hI paulieb81,
    Sorry for the delay.
    Just go to your site. It return nothing.

    Maybe you can email me with the detail.

    My email is kaptinlin@gmail.com

    Regards,
    KaptinLIN
  • Hi svera1ny ,

    Can you give me your site url?


    Regards,
    KaptinLin
  • Sorry, I had trouble with my server last night, it is now back up. Please review again.
  • KaptinLin, my url is www.loyolausga.com
  • Hi paulieb81,

    Can you give me a permission to your wordpress and a ftp login?

    There seems a url issue in your wordpress

    www.domain.com/wp-content/themes/striking/includes/timthumb.php?src=http://www.domain.com/files/how-to-make-a-butterfly-garden.jpg&h=340&w=960&zc=1


    Regards,
    KaptinLin
  • Yes I have noticed that, I will email you later the login info for my wordpress
  • OK email sent, sorry for the delay.
  • KaptinLin said:

    Of course. This timthumb will be included in the new update.



    Gang,

    New update broke the site, similar to last time.
    Will try to update with the timthumb

    Edit: started a new thread in General Questions

    Mike
  • Hi Paul,

    You should change your sub site fileupload_url from

    www.domain.com/files

    to

    http://www.domain.com/files

    Just go to network site configature page to change it.

    Then it will works.


    Regards,
    KaptinLin


  • very interesting, is there anyway this could be detected via script and notified to the user, or at least just added to the page about the slider issues? I can't believe that was what was wrong, wow I feel pretty dumb!
  • Sorry. I should give more explain.

    First go to your network admin.

    Then go to Sites->All sites.

    Then go to edit your site.

    Then go to settings tab.

    Then locate the Fileupload Url option.

    Change it to http://www.domain.com/files


    Then save.

    Then the images will show.

    Regards,
    KaptinLin

  • :)

    No explanation needed, i knew what you were talking about. I was just saying that I couldn't believe it was something so simple! I am so happy you figured it out. Could you please list that in the thread about slider issues as a possible cause? I am sure I am not the only one who that has happened to.
  • Is anyone else having problems with Multisite in both versions 4 and 5??
    Version 4, my main site works ok now, but the multisite does not.
    Version 5, both sites do not work properly.

    Edit: Do you have to pay additional for multisite support ?

    Mike
  • anyone able to assist ?
  • @mapleleaf3

    No you do not have to pay extra for multisite support. My multisite works perfectly now following the instructions Kaptinlin a couple posts up. My problem was one simple setting.
  • @paulieb81

    Lol, i may add this to the document in future.


    @mapleleaf3
    Sorry fot the delay, you can email me for the issue.
  • Hi KaptinLin,

    I've sent you an email.

    Basically, test multisite (https://www.corianderglass.com/mugs-and-tees/) doesn't pull through the attributes of the theme on 4.03 or 5.01.

    5.01 has the same problem on both the sites (I've reverted back to 4.03)

    Main site is: https://www.corianderglass.com

    Thanks
    Mike
  • Hi Mike,

    I don't have permission to access your child sites. Please give me your network admin account.

    Regards,
    KaptinLin
  • sorry mate... thought I had. I've updated your permissions.

    Mike
  • Hi mapleleaf3,

    Just help you give striking/cache foder and the files in it with 777 permissions.

    Then it works.

    Regards,
    KaptinLin
  • was there a new one created when the multisite was activated ? I'm positive that all those folders were given 777 permissions.

    Edit: aaahhhh! Striking 5 has a new folder, went in, adjusted permissions for some files in: cache, images, framework helpers, & includes and the main site now works with 5.02. How embarrassing :(

    Thanks mate! Legend
  • Is there anyway someone can help me? I'm still having trouble :(
  • Hi svera1ny,

    Sorry for the delay.

    You can email me with this issue.

    My email is kaptinlin@gmail.com

    Regards,
    KaptinLin

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion