webmin / authentic-theme

Official theme for the best server management panel of the 21st Century
https://authentic-theme.com
MIT License
947 stars 163 forks source link

Blank page #276

Closed 1ucay closed 9 years ago

1ucay commented 9 years ago

propably problem with latin extended language - before this error I click on yellow star in File Manager - in category "Ostatní"

                    <li class="menu-exclude ui-sortable-handle">
                        <a class="menu-exclude-link" target="page" href="/filemin/index.cgi?path=/var/www"><i data-product="webmin" class="wbm-webmin wbm-sm">&nbsp;</i><span class="f__c">
                            Ostatn�/File Manager: Filemin [/var/www]
                        &nbsp;<small class="hidden" style="font-size: 0.6em; position: absolute; margin-top: -1px"><i class="fa fa-times"></i></small></span></a>
                    </li>
HTTP/1.0 500 Perl execution failed
Server: MiniServ/1.770
Date: Sun, 25 Oct 2015 21:54:22 GMT
Content-type: text/html; Charset=iso-8859-1
Connection: close

<h1>Error - Perl execution failed</h1>
<pre>Wide character in syswrite at /usr/libexec/webmin/miniserv.pl line 3071.
</pre>

whats next? I have blank page..Thanks

iliajie commented 9 years ago

What is the output of cat /etc/webmin/authentic-theme/favorites.json

iliajie commented 9 years ago

I have a guess, that you're not using you Italian language as UTF8. Double check please! Also check Webmin->Language and Theme module.

1ucay commented 9 years ago

[www]# cat /etc/webmin/authentic-theme/favorites.json
{"favorites":[
    {
        "link": "/filemin/index.cgi?path=/var/www",
        "title": "Ostatní/File Manager: Filemin [/var/www]",
        "icon": "webmin"
    },
    {
        "link": "/filemin/index.cgi?path=",
        "title": "Ostatn�/File Manager: Filemin [/]",
        "icon": "webmin"
    },
    {
        "link": "/apache/",
        "title": "Servery/Apache WWW server: Apache Webserver",
        "icon": "webmin"
    }

Im using czech language..so I rename favorites.json and webmin works :) thx

iliajie commented 9 years ago

You shouldn't have had the following part in your favorites.json

Please remove this part manually

 {
        "link": "/filemin/index.cgi?path=",
        "title": "Ostatn�/File Manager: Filemin [/]",
        "icon": "webmin"
    },

JSON file is saved in UTF8 - that shouldn't be the problem.

Thank you but you helped to discover Filemin bug. For example the folder with the name Ostatní or Тест can not be opened due to Filemin bug.