Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

BLOG plugin Problem


Go to End


24 Posts   20732 Views

Avatar
Willr

Forum Moderator, 5523 Posts

26 June 2008 at 3:58pm

Yep make sure you go to www.yoursite.com/db/build?flush=1 which rebuilds the database.

but blog just come out a blank page, dint come out any warning, or error massages on the blank page.

You might get the error in your PHP or apache logs so have a look in those files

Avatar
gkinane

Community Member, 22 Posts

26 June 2008 at 11:42pm

Edited: 27/06/2008 3:33am

Hi Sean

Changed privilege , went further in install , seemed to create "blog" tab. There were some errors in install dialog. However when I click on "blog" tab I get the following error :

XML Parsing Error: junk after document element
Location: http://www.gerrykinane.com/blog/
Line Number 4, Column 1:<?xml version="1.0" encoding="UTF-8"?>
^

Any thoughts ?

Gerry

PS Seems to run OK in IE but get the above error in Firefox

Avatar
snovvvolf

Community Member, 51 Posts

27 June 2008 at 5:18am

i already go to www.yoursite.com/db/build?flush=1 to rebuilds the database.but blog still come out a blank page, dint come out any warning, or error massages on the blank page.

then i was download agian the blog module, and upload to my cms, and kept trying on that is the blog fill i upload fist time have problem, after this test show that still the same problem that mean my blog module sure no broken file or wrong upload.

you say i might get the error in your PHP or apache logs so have a look in those files, but i dont know where is the file and what shut i look into that file and know that is an error? can pls give more detail.

thank

Avatar
Willr

Forum Moderator, 5523 Posts

27 June 2008 at 9:07am

you say i might get the error in your PHP or apache logs so have a look in those files, but i dont know where is the file and what shut i look into that file and know that is an error? can pls give more detail.

It depends what server your site is running on - do a quick google search to see where to find the logs for your server setup.

Also make sure the site is in dev mode so that if you are getting an error it should be displayed on your screen - as per seans 2nd post

Avatar
snovvvolf

Community Member, 51 Posts

27 June 2008 at 7:21pm

i already adding this "Director::set_environment_type('dev');" to my blog/ _config.php but still no work

then i try to rebuild database, the result come out at below.

Building Database

Creating database tables
# Newsletter
# Newsletter_SentRecipient
# Newsletter_Recipient
# NewsletterType
# PageComment
# Order
# Order_Item
# OrderStatusLog
# Payment
# Product_Attribute
# Post
# Post_Subscription
# GalleryPage_Extension
# Email_BounceRecord
# Email_BlackList
# PageView
# SiteTree
# QueuedEmail
# File
# EditableCheckboxOption
# EditableDropdownOption
# EditableFormField
# EditableRadioOption
# SubmittedForm
# SubmittedFormField
# Group
# Member
# Member_UnsubscribeRecord
# Permission
# Widget
# WidgetArea
# ChequePayment
# DPSPayment
# PayPalPayment
# WorldpayPayment
# Order_Item_Attribute
# Page
# GhostPage
# BlogEntry
# BlogHolder
# UserDefinedForm
# AccountPage
# CheckoutPage
# EcommerceTermsPage
# Product
# ProductGroup
# FlickrGallery
# Forum
# ForumHolder
# GalleryPage
# ErrorPage
# RedirectorPage
# VirtualPage
# SubscribeForm
# Post_Attachment
# Image
# Folder
# Product_Image
# GalleryPage_Image
# Image_Cached
# EditableCheckbox
# EditableCheckboxGroupField
# EditableDateField
# EditableDropdown
# EditableEmailField
# EditableFileField
# EditableFormHeading
# EditableMemberListField
# EditableRadioField
# EditableTextField
# SubmittedFileField
# Group_Unsecure
# ArchiveWidget
# BlogManagementWidget
# RSSWidget
# TagCloudWidget
# FlickrWidget
# CustomPayment

Creating database records
# Newsletter
# Newsletter_SentRecipient
# Newsletter_Recipient
# NewsletterType
# PageComment
# Order
# Order_Item
# OrderStatusLog
# Payment
# Product_Attribute
# Post
# Post_Subscription
# GalleryPage_Extension
# Email_BounceRecord
# Email_BlackList
# PageView
# SiteTree
# QueuedEmail
# File
# EditableCheckboxOption
# EditableDropdownOption
# EditableFormField
# EditableRadioOption
# SubmittedForm
# SubmittedFormField
# Group
# Member
# Member_UnsubscribeRecord
# Permission
# Widget
# WidgetArea
# ChequePayment
# DPSPayment
# PayPalPayment
# WorldpayPayment
# Order_Item_Attribute
# Page
# GhostPage
# BlogEntry
# BlogHolder
# UserDefinedForm
# AccountPage
# CheckoutPage
# EcommerceTermsPage
# Product
# ProductGroup
# FlickrGallery
# Forum
# ForumHolder
# GalleryPage
# ErrorPage
# RedirectorPage
# VirtualPage
# SubscribeForm
# Post_Attachment
# Image
# Folder
# Product_Image
# GalleryPage_Image
# Image_Cached
# EditableCheckbox
# EditableCheckboxGroupField
# EditableDateField
# EditableDropdown
# EditableEmailField
# EditableFileField
# EditableFormHeading
# EditableMemberListField
# EditableRadioField
# EditableTextField
# SubmittedFileField
# Group_Unsecure
# ArchiveWidget
# BlogManagementWidget
# RSSWidget
# TagCloudWidget
# FlickrWidget
# CustomPayment

Avatar
Willr

Forum Moderator, 5523 Posts

27 June 2008 at 8:48pm

Ok well the blogholder and the blog page are created so its including it correct. To debug the issue further you would need to look in your PHP error log.

Avatar
snovvvolf

Community Member, 51 Posts

27 June 2008 at 10:02pm

willr where is my php log, that you ask me look into, and how i know that is an error on my php log?

Avatar
Willr

Forum Moderator, 5523 Posts

27 June 2008 at 10:32pm

As per my post up the top - It depends what server your site is running on - do a quick google search to see where to find the logs for your server setup.

The PHP logs are stored differently on each server - this is a server, php/apache setup not a ss one so you will have to do some research based on your server setup - Heres some quick answers - Are you running your site on a Unix system? then normally the logs are stored at /var/log/apache/php.errors so you would do

tail /var/log/apache/php.errors 

In a terimal window to view the logs.

If you are Using MAMP error logs are stored at /Appilications/MAMP/logs/php_error.log
If you are Using WAMP error logs are stored at C:\wamp\logs\php_error.log.

How I know they would be PHP Error Logs? - I dont, Blank Screens normally happen because of a error so its highly likely the PHP error log will have something useful (as we havent got anything useful with the blankpage)