• Home
  • Get help
  • Ask a question
Last post 10 hours 12 min ago
Posts last week 141
Average response time last week 4 hours 42 min
All time posts 67824
All time tickets 10480
All time avg. posts per day 21

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#7318 – issue while opening SEF URLs submenu

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Tuesday, 21 July 2020 19:26 UTC
Vokado
Dear colleagues
We have an issue while opening SEF URLs submenu. We had a lot of sef Urls in our DB (more than 3million). And when we try to open the page administrator/index.php?option=com_sh404sef&c=urls&layout=default&view=urls It is loading for 5 minutes and ends up with an error (please see screenshot attached)
What can we do in this situation?"
Tuesday, 21 July 2020 20:04 UTC
Vokado
And when we try to access analytics submenu we get error
"Empty list of analytics views, probably using the wrong Analytics account.
If we try to change the date range we get another error "Error fetching analytics reports data (1): No route matched."
could you please point out what might be wrong
Wednesday, 22 July 2020 09:14 UTC
wb_weeblr
Hi

What can we do in this situation?"
3 millions is a lot and you'd need a very, very powerful server to cope with that. Note that it's only a problem in the admin, which does complicated databases queries to show you its reports.
Things that can be done to improve situation are:

1 - Delete all 404 URLs. (under 404 URL manager, there's a Purge button - note that I'm NOT talking about the Purge button on the SEF URL manager. That would delete all URLs instead of just the 404s.
404s are stored in the same database table, so that could help.

2 - Under the "Advanced" tab of configuration, set "Slow server" to "Yes". This will cause simpler admin reports to be used which may alleviate the problem.

3 - Next steps can only be taken after looking at why you have so many URLs. Where are those URLs coming from? which extension? ECommerce? Directory? are many of those pages obsolete and the content has been removed from the site some times ago?

If you can find such patterns, then you should be able to delete many URLs. Either by hand, or by running MYSQL queries agains the database directly - which requires some expertise though.
NB: if you run some queries to delete URLs directly from the database, make sure to set "Activate URL cache" to "No" under "Advanced" to avoid discrepancies between the file cache and the database content.

4 - Lastly, if nothing else works and not being able to access the SEF URL manager affects your operation, you can use the "Purge" button in the SEF URL toolbar. This is the thermonuclear option, it will delete all non-custom URLs (any URLs you manually customized will be preserved). All meta data will be preserved as well.

Purging URLs may generate 404s for your visitors while URLs are rebuilt. If you do that, it's best to use a tool such a Screaming From or a 404 link checker to crawl your site just after Purging URLs. By crawling all the pages on your site, those tools will cause the URL database to be created again, minimizing the number of 404s your visitors may face until URLs are rebuilt.

And when we try to access analytics submenu we get error

"Empty list of analytics views, probably using the wrong Analytics account.

If we try to change the date range we get another error "Error fetching analytics reports data (1): No route matched."

could you please point out what might be wrong
Exactly what the messages says: you're likely not using the correct Analytics account for the website you're trying to look at. The Google account used and the UA-xxx analytics id must match the website URL or else the desired report cannot be found.

Best regards

Yannick Gaultier
weeblr.com
@weeblr
 
Saturday, 22 August 2020 05:34 UTC
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.