default userpic

Dynamic Publishing - Blank Screen

Vote 0 Votes

Hi,

I have MT 4.21. I have enabled Dynamic publishing for a page (index template) in my blog. For now, I am not even giving any dynamic values in the template.
Earlier, I got these errors in the apache log file-
1) "Options not allowed" ::: I set Allowoverride All for that directory in httpd.conf file and it got resolved.
2) "Negotiation: discovered file(s) matching request: > (None could be negotiated" ::: I removed Multiviews on that directory and it got resolved.

Now, when I try to view the page using the URL of the page, its coming up as a blank screen. The template/page opens fine if set as Static mode/Publish Queue. Could someone throw light if I am missing something in the dynamic publishing settings?

I have set Publishing mode as Dynamic for the template. I saw that the file was renamed as .dynamic after that. All other pages in the pages in the blog (with publishing mode set as other than the DYNAMIC mode) can be viewed without any issues.

Regards,
Sivaram

Reported on Movable Type 4.2

8 Replies

| Add a Reply
  • Hi Sivaram,

    I would guess that your index template contains some coding.

    If it doesn't that's why it displays a blank page (empty page).

    Also, after you're setting a template to be dynamic you should rebuild the indexes so that a file responsible for displaying dynamic content would be created.

    Kind Regards,
    Mihai Bocsaru

  • Hi Mihai,

    Thanks for the response.

    I do have the complete code to display all entries for the blog in this index template. In fact, when set as static, all contents get correctly displayed. Its only when set as dynamic that I get this blank page issue. I have tried this with some other pages in the site also and they all given this same issue.
    Also, as for rebuilding the indexes, I have published the entire site (blog) after the changes, but still there were no changes. Is there something else I am missing?

    Regards,
    Sivaram

  • If you have set Publishing mode as Dynamic for the template, there shouldn't be any problem IMHO.

  • ya, don't know what really is the problem here. :(

  • Has there been any further information for troubleshooting or addressing this issue? I am experiencing the same issue in version 5.01.

    I have setup a very simple test site from the default installation, using the Classic Website 1.0 theme. I created a blog that publishes to "/blog" and a single test entry. The blog is using the Classic Blog 1.0 theme. Everything looks good when publishing statically.

    When I go into the website's templates and set the "Main Index" publishing options to "Dynamically", and republish the site, a empty webpage is loaded. Viewing the source shows no HTML at all.

    Any help would be appreciated. Thanks.

  • I think this post is in the wrong section. It should be under "Design, Templates & Tags" rather than "Documentation".

    Is there a moderator that can move this thread?

    I'm still looking for an answer to the original question as well.

    Thanks.

  • Hi Sivaram and grenade,

    Have you set the file extension to be 'php'?
    For dynamic publishing, the files should have an extension of .php and In Preferences->Publishing, we should set File extension as php under Archive options.

    Thanks,
    Sunil

  • Hello SunilKT,

    thanks for your response. I just tried your suggestion by changing the Output File in Template Options from "index.html" to "index.php". And also under the website General Settings -> Archive Settings -> File Extension to "php".

    The dynamic page is still blank. Any other suggestions?

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

64 196

Last Topic: movable type 5 custom fields by kljx on Mar 17, 2010

1006 3225

Last Topic: When will MT v5.02 be Released? by Jim S. on Mar 18, 2010

483 1985

Last Topic: I have upgraded and I cant login! by Aleksandar on Mar 18, 2010

19 69

Last Topic: Custom main index page by Richard on Feb 7, 2010

11 22

Last Topic: Monthly Calendars Help Needed by joe leblanc on Jan 19, 2010

91 326

Last Topic: SpamLookup Keyword Filter 2.1 not work by b.n09 on Nov 17, 2009

55 206

Last Topic: URL Problems by NoSnaiL on Mar 17, 2010

code.sixapart.com

129 449

Last Topic: Action Stream for Google Buzz by jack lail on Feb 16, 2010