Support

Support is part of Event Gallery Extended.

Please get a subscription if you need support. Feel free to use the ticket system or the contact form for reporting defects or pre-sale questions. Make sure you're logged in in order to be able to create a new ticket.

For general information you can also jump to the manual.

Subscribe now!

#3815 404 Category Not Found

Posted in ‘Event Gallery - General’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by sbluege on Friday, 10 April 2020 10:16 UTC

usama91be
 I have created a Page with Event gallery to show a category list. But a 404 Category not Found error appears everytime I try to access it. I have tried everything possible to solve the problem, but really stuck. I first installed the latest version of the extension, but then downgraded to 3.9.4 which works on my other website. But it isn't working on my current website

Attachments

404Category_not_found.jpg
 just a question

sbluege
Hi,

this page shows the same result: https://www.khuddam.fr/purity/index.php?option=com_eventgallery&view=categories

Can you please turn on the debug mode for one request, open the HTTP 404 page, take a screenshot and disable the debug mode, please?

usama91be
Yes please

Attachments

404Category_not_found-with_debug.jpg
 just a question

sbluege
I guess your root category is missing. This is a category which needs to be there. Always and
for all components.

Does this article help to get it back?
https://www.stajduhart.com/tech-tips/fix-for-failed-rebuilding-categories-tree-data-in-joomla/

usama91be
Finally, It worked, Perfect. Thank You Very much!!!
 just a question

usama91be
While working on it, now I get another error page. The main page appears without any error. But when I click on an event I get a error "0 - Call to a member function getChildren() on null". I think it's probably linked to the last one but don't know how to resolve it.

thank you for your help

Attachments

call_to_a_member_function.png
 just a question

sbluege
This still looks like an issue with the root category. There is a rebuild-button in the category manager of Event Gallery. Does it help to use it?

usama91be
I tried to rebuild as mentioned in the other article you sent, but it's still not working
 just a question

sbluege
I set the ticket to public and deleted some of the posts.

Please try to set 1 as the ID of the root category.

usama91be
It doesn't work, my whole website goes 404
 just a question

sbluege
Please try this query:

u pdate purity_categories set parent_id=1 where parent_id=104;


It will fix the invalid references because of the id change of the root category.

usama91be
I think you mean "id" and not "parent_id". It worked. It's strange, when I did it this morning my website went all on 404. But now it worked.

Thank You very much
 just a question

sbluege
Great! The query is correct, as far as see, I did not mix up the column names. I could have made the SQL statement a little smarter by selecting the ID of the root category automatically.