YOOtheme Pro is here! The best WordPress and Joomla theme. Learn more

3 Answers

1

Avatar uab.webcomm answered

I am also seeing this error.

WK is looking for the images in a directory in the site root named /sitename/component/ which does not (and should not) exist.

All WK-created or installed media should be located in /sitename/media/widgetkit/, not in the root.

For me, this occurs in slideshow widgets in which the size of the media is set to anything except "auto". When WK doesn't try to create resized versions of the media, it looks to the directory in which I originally uploaded the media file and works properly. When asked to resize the media in the slideshow, I get the 401 errors when it looks for the resized media in the non-existent directory.

Re-installing does not solve the issue.

1

Avatar hendrik Yootheme Online answered

Hi,

the route /component/widgetkit/ results of the SEO_URL setting in Joomla and is the route to the widgetkit component.

It looks like there is a configuration issue with the rewrite rules. Please check for the file .htaccess if it has been edited from the original that comes with Joomla.
You could also temporary disable 'Search Engine Friendly URLs' in the Joomla global settings to see if it does work then.

1

Avatar uab.webcomm answered

Hendrik,

Tried disabling 'Search Engine Friendly URLs' in the Joomla global settings, emptying cache, and that did not work.

We have indeed modified the htacess file

Default Joomla:
# RewriteBase /

.htaccess on this site:
RewriteBase /gbs/home

Because we have multiple sites on the same server. Like hundreds.
But this problem has never occurred until very recently. Maybe Joomla 3.7.3 upgrade?

Anyway, the "/component/" directory does not exist anywhere within our Joomla site. There's of course a "/components/" —with an "S"—directory but that's not what this thing is trying to do.

Another possible clue I found in the site's /cache/mod_search/ directory:

<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";s:669:"        <div class="moduletable">  
                        <div class="search mod_search98">  
    <form action="/gbs/home/component/widgetkit/" method="post" class="form-inline">  
        <label for="mod-search-searchword98" class="element-invisible">Search</label> <input name="searchword" id="mod-search-searchword98" maxlength="200"  class="inputbox search-query input-medium" type="search" size="20" placeholder="Search" /> <button class="button btn btn-primary" onclick="this.form.searchword.focus();">Go</button>        <input type="hidden" name="task" value="search" />  
        <input type="hidden" name="option" value="com_search" />  
        <input type="hidden" name="Itemid" value="" />  
    </form>  
</div>  
        </div>  
    ";s:6:"output";a:3:{s:4:"body";s:0:"";s:4:"head";a:2:{s:5:"style";a:1:{s:8:"text/css";s:52:"div.mod_search98 input[type="search"]{ width:auto; }";}s:7:"scripts";a:1:{s:42:"/gbs/home/media/system/js/html5fallback.js";a:2:{s:4:"type";s:15:"text/javascript";s:7:"options";a:6:{s:7:"version";s:4:"auto";s:8:"relative";b:1;s:9:"framework";b:0;s:8:"pathOnly";b:0;s:13:"detectBrowser";b:1;s:11:"detectDebug";b:1;}}}}s:13:"mime_encoding";s:9:"text/html";}}

Our friend /home/component/widgetkit/ is mentioned in there.

Edited

Know someone who can answer? Share a link to this question via email or twitter.