ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

MSM index page does not show custom fields

September 19, 2009 12:56pm

Subscribe [3]
  • #1 / Sep 19, 2009 12:56pm

    Ronin_23

    58 posts

    Hi EE Team!

    I have to sites running on MSM with 1.6.8

    My problem:
    The second sites index page does not show up the “custom weblog fields”.


    Let’s say the template /blog/test is now set as index page.

    The code of the template “test” is just this…

    {exp:weblog:entries site="site2" weblog="blog" limit="1" status="open" rdf="off"}
                <h1>{title}</h1>
                {content}<br>
    {/exp:weblog:entries}

    .. and results in

    TESTTITLE
    {content}


    If I set some other template as index page, the template “test” now results in

    TESTTITLE
    lorem ipsum and so on


    path.php of the 2nd site

    $system_path = "../site1/system/";
    
    // ------------------------------------------------------
    // MANUALLY CONFIGURABLE VARIABLES
    // See user guide for more information
    // ------------------------------------------------------
    
    
    $template_group = "blog";
    $template = "test";
    $site_url = "http://www.site2.com";
    $site_index = "index.php";
    $site_name = 'site2';
    $site_404 = "";
    $cp_url = "http://www.site1.com/admin.php";
    $global_vars = array(); // This array must be associative


    I tested already tested
    - no htacess file
    - strict URLs activated
    - there are no php/sql debug errors
    - weblog creation by the default site theme


    Thank you for your help!

  • #2 / Sep 19, 2009 2:39pm

    Greg Aker

    6022 posts

    What do you have in blog/index?  What if you set the index to that?

    -greg

  • #3 / Sep 19, 2009 2:48pm

    Ronin_23

    58 posts

    sorry forgot to say. I tested blog/index before and as this did not work I tested with blog/test

  • #4 / Sep 19, 2009 3:11pm

    Greg Aker

    6022 posts

    Do you have a link to the site?  What extensions are you running?

    -greg

  • #5 / Sep 19, 2009 3:29pm

    Ronin_23

    58 posts

    in the moment “test” is set as the website index

    http://www.karierter-blog.de
    http://www.karierter-blog.de/index.php/blog/test
    http://www.karierter-blog.de/index.php/blog/index

    Modules:
    Email
    Member
    Query
    Referrer
    Search
    Statistics
    Trackback
    Weblog

    Plugins:
    Character Limiter (v.1.0)
    Magpie RSS Parser (v.1.4)
    Randomizer (v.1.0)
    Word Limiter (v.1.0)
    XML Encode (v.1.2)


    Extensions:
    -


    Btw perhaps this has something to do with the problem.

    I login to the admin at site1.com/admin.php
    And there is an error
    Notice: unserialize() [function.unserialize]: Error at offset 133507 of 133509 bytes in /is/htdocs/wp1072121_YQVDALOHI4/site1/go/plugins/pi.magpie.php on line 1727

  • #6 / Sep 19, 2009 3:49pm

    Greg Aker

    6022 posts

    as a quick test, can you make the following values blank in your path.php file?

    $template_group = '';
    $template = '';

    -greg

  • #7 / Sep 19, 2009 4:01pm

    Ronin_23

    58 posts

    ok, is blank

  • #8 / Sep 19, 2009 4:09pm

    Greg Aker

    6022 posts

    Was this template group / custom field / weblog duplicated when you made the new site?

    -greg

  • #9 / Sep 19, 2009 4:45pm

    Ronin_23

    58 posts

    no, it is new.

    I created also a weblog/template with the default site theme and another with the notebook site theme. same effect

  • #10 / Sep 19, 2009 4:51pm

    Greg Aker

    6022 posts

    okay.  Can you show a screen shot of the custom fields & a screen shot of where you are assigning them to the weblog we are using here?

    -greg

  • #11 / Sep 20, 2009 6:35am

    Ronin_23

    58 posts

    Greg here are the screenshots

  • #12 / Sep 20, 2009 4:01pm

    Greg Aker

    6022 posts

    okay,

    As a quick test, can you please make a new template group & make it the home page of the site.  In that template only put the following code:

    {exp:weblog:entries weblog="blog" status="open" rdf="off"}
                <h1>{title}</h1>
                {blog_inhalt}<br>
    <hr >
    {/exp:weblog:entries}

    Also, flip on template debugging, put the output in a text file, zip and attach here.

    =greg

  • #13 / Sep 20, 2009 5:05pm

    Ronin_23

    58 posts

    I created a new template group called test and made it the home page.
    I copied the ee code in the index template.

    Display Template Debugging and Display SQL Queries is on, but does not show any output in the home page.
    But I can see SQL queries in the preferences.

  • #14 / Sep 21, 2009 2:21am

    John Henry Donovan

    12339 posts

    Ronin_23,

    This is for your second MSM site right?
    So inside of the root of http://www.karierter-blog.de you have just a path.php and index.php, correct? Are you using a .htaccess file?

    Notice: unserialize() [function.unserialize]: Error at offset 133507 of 133509 bytes in /is/htdocs/wp1072121_YQVDALOHI4/site1/go/plugins/pi.magpie.php on line 1727

    FTP into your system/cache and delete all the folders there except for index.html. Double check your permissions for that folder are 777

  • #15 / Sep 21, 2009 1:23pm

    Ronin_23

    58 posts

    yeah, clearing cache per ftp - and it works!

    thank you Greg and John 😊

    can close the thread

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases