Users can no longer browse new posts

txcas

  • Bug Zapper
  • Posts: 202
Users can no longer browse new posts
« on April 22nd, 2014, 09:27 PM »Last edited on April 22nd, 2014, 10:32 PM
This started happening 2 days ago.  User can still make posts in any forum but no one, not even the admin, can view the content of the posts made since April 20.  Today I applied the latest revs, but no luck.  There are no errors in the logs.
Re: Help! Users can no longer browse new posts
« Reply #1, on April 22nd, 2014, 09:39 PM »Last edited on April 22nd, 2014, 09:55 PM
It was guess what....  Pretty URLS!  I disabled the secondary cache and a bunch of errors showed up on the error log.  I disabled all Pretty URLs and it seems everything is working.  As soon as I turn on Pretty URLs hell breaks loose.  I can't understand why one day is working and the next day it is completely broken.

Nao

  • Dadman with a boy
  • Posts: 16,077
Re: Help! Users can no longer browse new posts
« Reply #2, on April 22nd, 2014, 09:48 PM »
Are you sure? The secondary cache brings more trouble than it's worth. In thinking of removing it altogether. Why would disabling it cause trouble..?

txcas

  • Bug Zapper
  • Posts: 202
Re: Help! Users can no longer browse new posts
« Reply #3, on April 22nd, 2014, 09:56 PM »
Quote from Nao on April 22nd, 2014, 09:48 PM
Are you sure? The secondary cache brings more trouble than it's worth. In thinking of removing it altogether. Why would disabling it cause trouble..?
Disabling it and all other pretty URLs options fixed the problem.  It was not until I disabled the secondary cache that I was able to see errors in the logs.
Re: Help! Users can no longer browse new posts
« Reply #4, on April 22nd, 2014, 10:01 PM »
Nao, is there any way to reset all Pretty URL data?  Kind of like purging the cache.  I guess I can do it directly in the database but it would be nice to have a button to reset everything.
Re: Users can no longer browse new posts
« Reply #5, on April 22nd, 2014, 10:37 PM »
I checked the wedge_pretty_topic_urls table and everything looked good.  I truncated the table, enabled pretty URLs on topics, and then recreated the topic subjects.  The table got populated with the topic IDs and all the pretty URLs, but the problem came back.  I could on browse topics created for the last 2 days.  Nao, I am not sure if this is relevant, but all posts with id_topic 2000 or higher stop working when pretty URLs on topics is enabled.  Any topic with id_topic 1999 or less still works and can be browsed.  I have disabled pretty URLs for now.

Farjo

  • "a valuable asset to the community"
  • Posts: 492

txcas

  • Bug Zapper
  • Posts: 202
Re: Users can no longer browse new posts
« Reply #7, on June 7th, 2014, 05:47 PM »
Yes, as soon as I enable Pretty URLs this happens.  There is no error message at all, when they click on a post they are taken to the first page of the board.  I deleted all the Pretty URL data from the database and it got recreated, but the problem is still there.

Pandos

  • Living on the edge of Wedge
  • Posts: 635
Re: Users can no longer browse new posts
« Reply #8, on November 24th, 2014, 04:45 PM »Last edited on November 24th, 2014, 07:33 PM
You can empty the cache in database with e.g. PHPMyAdmin or Webmin, etc...
Just enter:
Code: [Select]
truncate table we_pretty_urls_cache

Give it a try.

Can't reproduce your problem on my install. Hmm...
# dpkg-reconfigure brain
error: brain is not installed or configured