Keyword

Empty Category Listing

  • Carlos Bahiana
  • Carlos Bahiana's Avatar Topic Author
  • Offline
  • New Member
More
8 years 2 months ago - 8 years 2 months ago #156074 by Carlos Bahiana
Empty Category Listing was created by Carlos Bahiana
I need to list all K2 articles from a certain category.

In the K2 admin, I can see the Category, it is a root Category, it's published, uses the default template is and public.

I can also see all articles from this Category in the K2 admin, they are public and published.

Two menu items were created:

One for showing that Category (it's public and the desired Category was set). The public path to it is www.int.gov.br/arquivo-int-na-midia and, as you can see, it's completely empty;
One K2 Item, having been selected one item from that Category. It's public path is www.int.gov.br/k2-item and throws us a 404 error.

I tried disabling SEF altogether, but to no avail. No caches are being used.

Running on Joomla 3.4.8, K2 2.7.0
Last edit: 8 years 2 months ago by Carlos Bahiana. Reason: Missed one important information

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 2 months ago #156081 by Krikor Boghossian
Replied by Krikor Boghossian on topic Empty Category Listing
www.int.gov.br/k2-item is a URL generated from a menu item.
Can you double check the menu item's settings?

Furthermore since my Portuguese is really bad, can you point me the location of that item in the menu?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Carlos Bahiana
  • Carlos Bahiana's Avatar Topic Author
  • Offline
  • New Member
More
8 years 2 months ago #156094 by Carlos Bahiana
Replied by Carlos Bahiana on topic Empty Category Listing
Hi Krikor

Yes, both are. I created them in a hidden menu (there's no module to show it) so I could test before moving to an exposed menu.

That the full path of that k2-item is index.php?option=com_k2&view=item&layout=item&id=8431, but the result. is the same.

These are some screen captures

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 2 months ago #156125 by Krikor Boghossian
Replied by Krikor Boghossian on topic Empty Category Listing
/index.php?option=com_k2&view=item&id=8433
/index.php?option=com_k2&view=item&id=8432
/index.php?option=com_k2&view=item&id=8431

These links while work (using proper IDs of course) on my sites, on your site seem to fail.

Are you using any 3rd party SEO extensions? Is this site the result of a migration?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
8 years 2 months ago #156128 by marjan

Please Log in or Create an account to join the conversation.

  • Carlos Bahiana
  • Carlos Bahiana's Avatar Topic Author
  • Offline
  • New Member
More
8 years 2 months ago #156134 by Carlos Bahiana
Replied by Carlos Bahiana on topic Empty Category Listing
I'm not using any SEO or SEF third party extensions. A backup copy on my PC has the same problem even without using SEF at all.

But yes, it's gone through migration from an old Joomla 1.5. It seems that the K2 content ids are not being recognized by Joomla anymore.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 2 months ago #156140 by Krikor Boghossian
Replied by Krikor Boghossian on topic Empty Category Listing
Can you check on your db to see if these ids are being properly displayed?
Eg: is 8831 the correct id?

Furthermore, did this issue appear right out of the blue, or right after the migration?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Carlos Bahiana
  • Carlos Bahiana's Avatar Topic Author
  • Offline
  • New Member
More
8 years 2 months ago #156199 by Carlos Bahiana
Replied by Carlos Bahiana on topic Empty Category Listing
I can't find those ids on the DB, but I can find 25, 254, 256, 426 and many others that, if used, still result in 404 error.

After the migration it's the first time I've accessed these items.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 2 months ago #156205 by Krikor Boghossian
Replied by Krikor Boghossian on topic Empty Category Listing
www.int.gov.br/index.php?option=com_k2&view=itemlist is not working either.

This could be related to either a migration issue (the items would need to remigrated)
or, locked db tables. This can be easily fixed by repairing the db tables.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Carlos Bahiana
  • Carlos Bahiana's Avatar Topic Author
  • Offline
  • New Member
More
8 years 2 months ago #156220 by Carlos Bahiana
Replied by Carlos Bahiana on topic Empty Category Listing
Unfortunately repairing was not enough. It really seems to be a migration problem, I just don't understand why I can see and edit the items in the administration interface, but not point to them through a menu item or category listing.

Might it be the assets table?

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum