Broken theme categories, wrong/missing article assignment (s9y core?)

Found a bug? Tell us!!
Post Reply
Huhu
Regular
Posts: 104
Joined: Tue Oct 04, 2011 3:22 pm

Broken theme categories, wrong/missing article assignment (s9y core?)

Post by Huhu » Fri Sep 21, 2018 9:57 am

I have observed a strange behavior, independent of the theme installed .

1. I have created custom category links in the General configuration:

Code: Select all

Permalink Category URL structure: eulen/%id%-%name% 
2. created a bunch of 11 categories, along the names of "01-this", "02-that" and such.

3. created articles and assigned the corresponding categories to them,

4. linked the categories in the nav bar through the Template Configuration --> Navigation Option (Menu item #1: This, menu item #2: That)

Now, whether I click on the nav bar or on the category displayed in an entry, I always end up in the same category. The Sub-Header displays the correct category name, but the content is that of another category.

I observed whacky behaviour if using dots and such in a headline, so I removed those, which seemed to help; but now it is back to one single category again.

ModRewrite disabled, since that messed up the htaccess too much.

Tried with FireFox and Opera. Cleared Template Cache and verified integrity. No esoteric plug-ins installed, aside from Extended Properties for Entries and other basic stuff.

UPDATE:
5. Deleted all categories and renamed the path to the custom "categories/" path in Settings.

6. Renamed all headlines that contained dots, since those caused trouble as well.

------------------------------
Example:
Main page here (the entries shown here should in fact be the last in a longer list along other category entries, which is not displayed):
http://www.uhusnest.de/index.php

... shows this category *only*:
https://uhusnest.de/index.php?/categories/16-Vita

... and even replaces the category for Books by the aforesaid category:
https://uhusnest.de/index.php?/categori ... likationen

I even replaced the Umlauts in the category names, yet to no avail.
Last edited by Huhu on Tue Oct 23, 2018 8:39 am, edited 3 times in total.
Fan of post-apocalyptic Jugger: Free ebook on the sport

Huhu
Regular
Posts: 104
Joined: Tue Oct 04, 2011 3:22 pm

Re: Broken theme categories, wrong/missing article assignment

Post by Huhu » Mon Oct 22, 2018 10:39 am

I deleted and replaced all categories with new ones, deleted all "." and "," instances in the titles both of categories and articles, and checked the "_categories" database entry. Also checked the other category-related database entries (entry_cat etc.) and they seem to be okay.
And I let S9y rewrite the htaccess, switched mod_rewrite on and off, cleared the cache and checked the installation integrity. Of course, all is checked with cleared browser caches, both Opera and Firefox.

All seems to be correct, but categories are still not rendered.


When editing and saving entries, sometimes only entries of that category are displayed (everywhere on the blog), sometimes all entries published. Vanished entries turn up after editing and saving.

Bottom line: I have no idea whatsoever why the system doesn't render categories. Er ... help?
Last edited by Huhu on Tue Oct 23, 2018 9:18 am, edited 1 time in total.
Fan of post-apocalyptic Jugger: Free ebook on the sport

Huhu
Regular
Posts: 104
Joined: Tue Oct 04, 2011 3:22 pm

Re: Broken theme categories, wrong/missing article assignment (s9y core?)

Post by Huhu » Tue Oct 23, 2018 8:50 am

Performed update from 2.1.3 to 2.1.4 through the autoupdate plug-in, but the problem persists.
Fan of post-apocalyptic Jugger: Free ebook on the sport

User avatar
Don Chambers
Regular
Posts: 3611
Joined: Mon Feb 13, 2006 3:40 am
Location: Chicago, IL, USA
Contact:

Re: Broken theme categories, wrong/missing article assignment (s9y core?)

Post by Don Chambers » Wed Oct 24, 2018 2:19 am

Garvin? Onli? Anyone else able to look into this issue?

User avatar
onli
Regular
Posts: 2155
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: Broken theme categories, wrong/missing article assignment (s9y core?)

Post by onli » Wed Oct 24, 2018 10:03 pm

Hi. I'm here and am seeing this, but I have no idea what could be the issue here :/

Maybe a picture of the permalink configuration would help? Thee or at the .htaccess level I'd guess the mistake/bug has to be.

Huhu
Regular
Posts: 104
Joined: Tue Oct 04, 2011 3:22 pm

Re: Broken theme categories, wrong/missing article assignment (s9y core?)

Post by Huhu » Thu Oct 25, 2018 11:40 am

onli wrote:
Wed Oct 24, 2018 10:03 pm
Hi. I'm here and am seeing this, but I have no idea what could be the issue here :/

Maybe a picture of the permalink configuration would help? Thee or at the .htaccess level I'd guess the mistake/bug has to be.
Sorry, the htaccess I deleted and let s9y rewrite it from scratch. No changes ...

Permalinks: Sure, here we go:
Image
Fan of post-apocalyptic Jugger: Free ebook on the sport

User avatar
onli
Regular
Posts: 2155
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: Broken theme categories, wrong/missing article assignment (s9y core?)

Post by onli » Thu Oct 25, 2018 2:18 pm

Apart from the nest as archives path that seems just like it should by default

Huhu
Regular
Posts: 104
Joined: Tue Oct 04, 2011 3:22 pm

Re: Broken theme categories, wrong/missing article assignment (s9y core?)

Post by Huhu » Thu Oct 25, 2018 2:59 pm

Yes, I checked. Now even reset the other path to standard.
On htaccess, I edited the landing page to grab a html instead of the php, to get an individual landing page.
But I tried with a completely s9y generated htaccess as well, so that shouldn't be the issue ... and it works fine with other s9y installations as well.

Edit: Here it is, just to have it.

Code: Select all

# BEGIN s9y
ErrorDocument 404 /404.htm 
DirectoryIndex /index.htm

<Files *.tpl.php>
    deny from all
</Files>

<Files *.tpl>
    deny from all
</Files>

<Files *.sql>
    deny from all
</Files>

<Files *.inc.php>
    deny from all
</Files>

<Files *.db>
    deny from all
</Files>

# END s9y
Fan of post-apocalyptic Jugger: Free ebook on the sport

User avatar
onli
Regular
Posts: 2155
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: Broken theme categories, wrong/missing article assignment (s9y core?)

Post by onli » Thu Oct 25, 2018 4:49 pm

That also just looks fine :/

User avatar
Don Chambers
Regular
Posts: 3611
Joined: Mon Feb 13, 2006 3:40 am
Location: Chicago, IL, USA
Contact:

Re: Broken theme categories, wrong/missing article assignment (s9y core?)

Post by Don Chambers » Fri Oct 26, 2018 2:29 am

Are you comfortable editing your theme's *.tpl files? If so, please add the following as the first line of entries.tpl or index.tpl assuming this is not yet a site with any visitors:

Code: Select all

{debug}

Huhu
Regular
Posts: 104
Joined: Tue Oct 04, 2011 3:22 pm

Re: Broken theme categories, wrong/missing article assignment (s9y core?)

Post by Huhu » Fri Oct 26, 2018 11:40 am

Sure, done it for index.tpl.
Fan of post-apocalyptic Jugger: Free ebook on the sport

User avatar
Don Chambers
Regular
Posts: 3611
Joined: Mon Feb 13, 2006 3:40 am
Location: Chicago, IL, USA
Contact:

Re: Broken theme categories, wrong/missing article assignment (s9y core?)

Post by Don Chambers » Sun Oct 28, 2018 6:42 am

That is not working as expected....... so revert your changes.

Huhu
Regular
Posts: 104
Joined: Tue Oct 04, 2011 3:22 pm

Re: Broken theme categories, wrong/missing article assignment (s9y core?)

Post by Huhu » Mon Nov 12, 2018 2:54 pm

I deleted the old installation and did it anew ... not it works.
Fan of post-apocalyptic Jugger: Free ebook on the sport

Post Reply