related news stopped working, website # issues
Rushian 0
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: related news stopped working, website # issues
Rushian
OP
0
From: -
From: -
related news stopped working, website # issues
Ok, thx for the info..
Ok, thx for the info..
1 Re: related news stopped working, website # issues
Philipp
From: Austria
Administrator
1342From: Austria
related news stopped working, website # issues
The related search feature is looking for the first 8 (or 4 after the modification) characters of a title. In your example it would look for "CC: ".
The related search feature is looking for the first 8 (or 4 after the modification) characters of a title. In your example it would look for "CC: ".
1 Re: related news stopped working, website # issues
Rushian
OP
0
From: -
From: -
related news stopped working, website # issues
Ok, that worked for one of the stories (with the shorter title), but curiously, not the one with the longer title.
I managed to fix that one as well by changing the stoy title. Instead of CC: First to Fight, I just made it First to Fight and then it found related items too.
Maybe the colon in the title was screwing up the query somehow?
Ok, that worked for one of the stories (with the shorter title), but curiously, not the one with the longer title.
I managed to fix that one as well by changing the stoy title. Instead of CC: First to Fight, I just made it First to Fight and then it found related items too.
Maybe the colon in the title was screwing up the query somehow?
1 Re: related news stopped working, website # issues
Philipp
From: Austria
Administrator
1342From: Austria
related news stopped working, website # issues
I assume that the title is to short to work with the related feature. You could try to changing the following line in story.php and your templates:
with:
This will change the search character limit from 8 to 4.
I assume that the title is to short to work with the related feature. You could try to changing the following line in story.php and your templates:
$searchstory = addslashes(substr($insert[story_title], 0, 8));
with:
$searchstory = addslashes(substr($insert[story_title], 0, 4));
This will change the search character limit from 8 to 4.
1 Re: related news stopped working, website # issues
Rushian
OP
0
From: -
From: -
related news stopped working, website # issues
http://www.specforce.net/cgi-bin/storyteller/story.php?id=2540
I only have 1 category: general
http://www.specforce.net/cgi-bin/storyteller/story.php?id=2540
I only have 1 category: general
1 Re: related news stopped working, website # issues
Philipp
From: Austria
Administrator
1342From: Austria
related news stopped working, website # issues
Can you post a link to that news item in question? Also, are the two news in a different category?
Can you post a link to that news item in question? Also, are the two news in a different category?
1 Re: related news stopped working, website # issues
Rushian
OP
0
From: -
From: -
related news stopped working, website # issues
Ok, I did that, and the stories moved fine, but the related news still doesn't work for the 2 newest items, but does for everything else.
If I manually search for similar items, I do get 5-10 results returned, so there woulld be related items for each story.
I tried moving all the stores to website 1 but that didn't help either. (FYI: When I imported my previous news db into ST, it put all the news into website #1, which seemed correct to me..)
What can we try next?
Ok, I did that, and the stories moved fine, but the related news still doesn't work for the 2 newest items, but does for everything else.
If I manually search for similar items, I do get 5-10 results returned, so there woulld be related items for each story.
I tried moving all the stores to website 1 but that didn't help either. (FYI: When I imported my previous news db into ST, it put all the news into website #1, which seemed correct to me..)
What can we try next?
1 Re: related news stopped working, website # issues
Philipp
From: Austria
Administrator
1342From: Austria
related news stopped working, website # issues
Website #0 means that this news are available to all installed websites. This is the default setting while running a single site setup.
To set all stories to website #0, run the following SQL query in phpMyAdmin:
Website #0 means that this news are available to all installed websites. This is the default setting while running a single site setup.
To set all stories to website #0, run the following SQL query in phpMyAdmin:
UPDATE esselbach_st_stories SET story_website ='0'
For some reason, the releated news feature has stopped working for the 2 newest news items I've posted.
I rebuilt the search index twice but no help.
Related to this, any new news item I post is being stored in website #0, and not website #1.
I'm only running 1 website, which is configured as website #1.
What's weird is that I noticed the last 20 or so news items were being stored in Website 0, but the releated news WAS working fine until these last 2 items.
So, what determines which website the news items gets stored in? (I'm using the plaintext editor) How can I move the news items that are in my db in the 0 website to the #1 site? And if that works, I'm assuming the related news will start working again?
Help!