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.

Blog Module

Discuss the Blog Module.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Blog 0.5 + SS 2.4.11 - Redirect loop in blogholder


Reply

2 Posts   659 Views

Avatar
Double-A-Ron

25 August 2013 at 11:47pm (Last edited: 25 August 2013 11:59pm), Community Member, 604 Posts

Hi,

I just upgraded to SS 2.4.11 and have tried installing the latest compatible blog module, which I believe is 0.5 since 0.6 requires SS 3.

Install went fine. Dummy holder and post created in CMS. Can edit and save fine, and can view the blog entry fine.

However when I go to visit the blog holder at /blog, I get a redirect loop message and the URL looks like this: /blog?url=/blog&url=/blog&url=/blog&url=/blog&url=/blog&url=/blog&url=/blog&url=/blog&url=/blog&url=/blog

I have the module installed in a directory called /silverstripe_blog. I have made no changes to the code. And in fact I have successfully installed the same blog version on the same SS version (vanilla). So I'm thinking it's a config issue either on my local machine, or .htaccess. But I've stepped through and commented out much of the latter to no avail.

Avatar
Double-A-Ron

26 August 2013 at 12:06am (Last edited: 26 August 2013 12:10am), Community Member, 604 Posts

Managed to track this down to the url of the blog holder "/blog". I changed that to "sa-blog" and all is fine.

Not sure of the reason why yet. No conflict in the database. The module has never been installed before now.

Also replaced .htaccess with the contents of a (working with blog) vanilla installation. No change. If I try to use the url /blog, it just gets this error.