• Home
  • Get help
  • Ask a question
Last post 6 min ago
Posts last week 89
Average response time last week 30 min
All time posts 67691
All time tickets 10463
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.

#4617 – sh404SEF Control Panel loading site tempate files

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.
Monday, 05 February 2018 21:44 UTC
wires
xxxx.edu
Joomla 3.8.4, Running sh404 SEF 4.13.2.3783.

In the isis administrator template, when going to the sh404 control panel at the default link location (/administrator/index.php?option=com_sh404sef&c=default or /administrator/index.php?option=com_sh404sef), my site homepage is loaded into the about/updates tab. This, in turn, causes a bunch of other problems with this page since the site CSS files are now being loaded and used to render the Administrator page. See the attached screenshot.

I have the same problem in Chrome and Firefox for Windows and Safari on Mac. The browser dev tools are showing a request going to the site root and it shows that it is being initiated by siteroot/media/jui/js/jquery.min.js at this line ->
 g.send(b.hasContent && b.data || null),


We have some other problems with some random 301 redirects on the site so I'm trying to troubleshoot all the bugs on our site to get to the bottom of the problem. Not sure if this is part of the problem, but it is a problem.

Thanks in advance for any input you can give me. Temporary admin credentials can be given if necessary.

Joel
Tuesday, 06 February 2018 08:40 UTC
wb_weeblr
Hi

In the isis administrator template, when going to the sh404 control panel at the default link location (/administrator/index.php?option=com_sh404sef&c=default or /administrator/index.php?option=com_sh404sef), my site homepage is loaded into the about/updates tab. This, in turn, causes a bunch of other problems with this page since the site CSS files are now being loaded and used to render the Administrator page. See the attached screenshot.
I have no information on this, that's obviously not coming from sh404SEF itself, so the most likely reason is interference from the environment.

This section of the screen is filled with a request to the admin part of the site to fetch some HTML. These are the standard requests on the control panel:


it shows that it is being initiated by siteroot/media/jui/js/jquery.min.js at this line ->
That does not give much details because
1 - The first thing to do is to download a new copy and install it over. Then clear all browser and Joomla caches and try again.
2 - If the same happens, then you need to try disabling one by one your system plugins, the most likely cause of interference. Especially anything related to javascript/CSS optimization if you have any.
3 - The query is initiated inside of j3_cp.js, at around line 58:

function shSetupUpdates(forced) {
    forced = forced ? "forced=1" : 'forced=0';
    var url = "index.php?option=com_sh404sef&task=showupdates&layout=updates&format=raw&tmpl=component&noMsg=1&" + forced;
    weeblrApp.spinner.start('toolbar-sh404sef-spinner');
    var onSuccess = function (response) {
        weeblrApp.spinner.stop('toolbar-sh404sef-spinner');
        jQuery('#updatescontent').html(response);
    };
    var onFailure = function () {
        weeblrApp.spinner.stop('toolbar-sh404sef-spinner');
        jQuery('#updatescontent').html('<div class="alert alert-error">Server not responding for Updates check</div>');
    };

    jQuery.get(url, onSuccess).fail(onFailure);
}
so you may want to debug that and check the state of the url, the state of the request, whether there's a redirect coming from the server for instance.

Rgds


 
Wednesday, 21 February 2018 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.