"read more" link broken #107

Open
trvrplk opened this Issue Nov 9, 2011 · 5 comments

Comments

Projects
None yet
5 participants
@trvrplk

trvrplk commented Nov 9, 2011

When I click the link to the full article I get a 404. What is wrong and how do I fix it?

@Matael

This comment has been minimized.

Show comment
Hide comment
@Matael

Matael Nov 10, 2011

May be you should give us a bit more info.... did you modify templates ? how ? (may be give us parts of templates that fail) Are you using right syntax for articles filenames...

Give us at least the article's title and filename. I think we'll be able to solve your problem with that

Matael commented Nov 10, 2011

May be you should give us a bit more info.... did you modify templates ? how ? (may be give us parts of templates that fail) Are you using right syntax for articles filenames...

Give us at least the article's title and filename. I think we'll be able to solve your problem with that

@regeya

This comment has been minimized.

Show comment
Hide comment
@regeya

regeya Nov 23, 2011

I don't know if this is the same issue, but I noticed the same on heroku. I put a first story in with the title "Welcome", filename 2011-11-22-welcome.txt, for the date 22 November 2011. When I run it on heroku or on shotgun, I get a link to 2011/11/22/welcome. It works fine on shotgun; 404 on heroku. If I modify the url to http://yokelpunk.heroku.com/22/11/2011/welcome, all is well.

I uncommented and modified the line in config.ru
set :date, lambda {|now| now.strftime("%m/%d/%Y") } # date format for articles
but it seems to have no effect.

regeya commented Nov 23, 2011

I don't know if this is the same issue, but I noticed the same on heroku. I put a first story in with the title "Welcome", filename 2011-11-22-welcome.txt, for the date 22 November 2011. When I run it on heroku or on shotgun, I get a link to 2011/11/22/welcome. It works fine on shotgun; 404 on heroku. If I modify the url to http://yokelpunk.heroku.com/22/11/2011/welcome, all is well.

I uncommented and modified the line in config.ru
set :date, lambda {|now| now.strftime("%m/%d/%Y") } # date format for articles
but it seems to have no effect.

@regeya

This comment has been minimized.

Show comment
Hide comment
@regeya

regeya Nov 23, 2011

Now, if you check that URL right now, neither seem to be working. :-}

regeya commented Nov 23, 2011

Now, if you check that URL right now, neither seem to be working. :-}

@awkwords

This comment has been minimized.

Show comment
Hide comment
@awkwords

awkwords Nov 23, 2011

or you could just make sure the file articles/2011-11-23-newentry.txt has the title set to , title: newentry

just sayin.

or you could just make sure the file articles/2011-11-23-newentry.txt has the title set to , title: newentry

just sayin.

@baopham

This comment has been minimized.

Show comment
Hide comment
@baopham

baopham Apr 19, 2012

oh yea, iOnic is right, that always happen to me when you don't name your txt file consistently with the format

baopham commented Apr 19, 2012

oh yea, iOnic is right, that always happen to me when you don't name your txt file consistently with the format

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment