Page 1 of 1

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

Posted: Fri Sep 21, 2018 9:57 am
by Huhu
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.

Re: Broken theme categories, wrong/missing article assignment

Posted: Mon Oct 22, 2018 10:39 am
by Huhu
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?

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

Posted: Tue Oct 23, 2018 8:50 am
by Huhu
Performed update from 2.1.3 to 2.1.4 through the autoupdate plug-in, but the problem persists.

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

Posted: Wed Oct 24, 2018 2:19 am
by Don Chambers
Garvin? Onli? Anyone else able to look into this issue?

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

Posted: Wed Oct 24, 2018 10:03 pm
by onli
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.

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

Posted: Thu Oct 25, 2018 11:40 am
by Huhu
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

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

Posted: Thu Oct 25, 2018 2:18 pm
by onli
Apart from the nest as archives path that seems just like it should by default

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

Posted: Thu Oct 25, 2018 2:59 pm
by Huhu
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

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

Posted: Thu Oct 25, 2018 4:49 pm
by onli
That also just looks fine :/

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

Posted: Fri Oct 26, 2018 2:29 am
by Don Chambers
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}

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

Posted: Fri Oct 26, 2018 11:40 am
by Huhu
Sure, done it for index.tpl.

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

Posted: Sun Oct 28, 2018 5:42 am
by Don Chambers
That is not working as expected....... so revert your changes.

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

Posted: Mon Nov 12, 2018 1:54 pm
by Huhu
I deleted the old installation and did it anew ... not it works.