DonDebonair / pelican-bootstrap3

Bootstrap 3 theme for Pelican
331 stars 259 forks source link

tipue search failed to generate correct url #220

Closed billyzs closed 9 years ago

billyzs commented 9 years ago

Results on the search results page all point to SITEURL/undefined... Here's an example of the symptom: http://users.wpi.edu/~szhou2/search.html?q=this. I do have SEARCH_URL and SITEURL enabled. I've double checked file permission for tipuesearch.json and the json file itself contains the url for the articles in the form of SITEURL/SLUG ... can't really figure out what's wrong. Pelican version 3.6 and server running Apache,

Thanks!

cranmer commented 9 years ago

I also have this problem. Not sure if it is related to having root of site being deeper than domain/ On Fri, Aug 14, 2015 at 6:56 PM billyzs notifications@github.com wrote:

Results on the search results page all point to SITEURL/undefined... Here's an example of the symptom: http://users.wpi.edu/~szhou2/search.html?q=this. I do have SEARCH_URL and SITEURL enabled. I've double checked file permission for tipuesearch.json and the json file itself contains the url for the articles in the form of SITEURL/SLUG ... can't really figure out what's wrong. Pelican version 3.6 and server running Apache,

Thanks!

— Reply to this email directly or view it on GitHub https://github.com/DandyDev/pelican-bootstrap3/issues/220.

billyzs commented 9 years ago

Hey Kyle - I can't rule that out, I have the same setup with site deeper than domain. What have you tried to make tipue work? Out of curiosity, is Disqus working for you?

On Fri, Aug 14, 2015 at 7:00 PM, Kyle Cranmer notifications@github.com wrote:

I also have this problem. Not sure if it is related to having root of site being deeper than domain/ On Fri, Aug 14, 2015 at 6:56 PM billyzs notifications@github.com wrote:

Results on the search results page all point to SITEURL/undefined... Here's an example of the symptom: http://users.wpi.edu/~szhou2/search.html?q=this. I do have SEARCH_URL and SITEURL enabled. I've double checked file permission for tipuesearch.json and the json file itself contains the url for the articles in the form of SITEURL/SLUG ... can't really figure out what's wrong. Pelican version 3.6 and server running Apache,

Thanks!

— Reply to this email directly or view it on GitHub https://github.com/DandyDev/pelican-bootstrap3/issues/220.

— Reply to this email directly or view it on GitHub https://github.com/DandyDev/pelican-bootstrap3/issues/220#issuecomment-131264154 .

spacehobo commented 9 years ago

I had this problem, and solved it by updating tipue to v5.0 per https://github.com/DandyDev/pelican-bootstrap3/pull/198

doctorwidget commented 9 years ago

Same here -- I was getting results that showed the correct title and text, but with undefined URLs. Changing Tipue from version 4.0 to version 5.0 solved the problem.

billyzs commented 9 years ago

Manually copying the v5.0 files helped, thanks guys.

tmpsantos commented 8 years ago

Manually copying the v5.0 files helped, thanks guys.

That also worked for me.

tmpsantos commented 8 years ago

Noticed that are already 2 PR pending fixing this issue.