Categories
Solution

FileRun: This software application is registered to a different server hostname

If you have registered your FileRun while running from one domain and then they to use it over another domain, you will get the error: This software application is registered to a different server hostname

To solve it, log into FileRun over the old domain, go to FileRun > License.
Then on top right, click on the “Unregister” link.

You can also remove the file system/data/.filerun.bin

Once unregistered, access FileRun from your new domain and register it again.

Categories
Solution

Disable mod_pagespeed for a single user

If you need to disable mod_pagespeed for a single user or domain, you can do so simply by adding the following to .htaccess

<IfModule pagespeed_module>
    ModPagespeed off
</IfModule>

Works with cpanel, directadmin, centos, ubuntu, apache… anything!

Categories
Solution

Invalid configuration value: failovermethod=priority – Oracle Cloud

On a CentOS installation over Oracle Cloud, when running dnf or yum, you may get the error:

Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/litespeed.repo; Configuration: OptionBinding with id "failovermethod" does not exist

To solve the issue, using the command line tool sed, we first start off by making a backup of the repository files:

sudo sed -iBAK '/^failovermethod=/d' /etc/yum.repos.d/*.repo

Then we use the sed command again to remove the problematic parameter in the repository files:

sudo sed '/^failovermethod=/d' /etc/yum.repos.d/*.repo

Once you have done it, you can run dnf to check whether the error appears again:

dnf upgrade

Source: https://communicode.io/how-to-fix-failovermethod-error-fedora/

Categories
Solution

Failed loading plugin “osmsplugin”: No module named ‘librepo’ – Oracle Cloud

On a CentOS installation over Oracle Cloud, when running yum or dnf, you may get the error: Failed loading plugin “osmsplugin”: No module named ‘librepo’

To fix this error install the python3-librepo package with:
sudo dnf install python3-librepo

Categories
Solution

Install Photo Viewer on Windows Server

How to install Windows Photo Viewer on Windows Server 2016 or Windows Server 2019 VPS: https://www.windowsworkstation.com/win2016-2019/5-4-installing-windows-photo-viewer/

Categories
Solution

How to enable image thumbnails on Windows Server

If your Windows Server VPS is not showing image thumbnails in folders, here is how to make it show photo thumbnails instead of just icons.

Go to Control Panel -> Folder Options -> View tab, make sure that “Always show icons, never thumbnails” is unchecked.

Categories
Solution

[Fix] Xiaomi MI 4A Router 5 GHz Issue

How to solve MI 4A Router (Gigabit & Regular, Global Version) 5 GHz not being available issue:

Links:
To get available countries: /api/xqsystem/country_code
To set country: /api/xqsystem/set_country_code?country=SG

Known issue with this fix: Mobile app stops working!

Categories
Solution

Restoring visitors IP with mod_remoteip

Restoring visitors IP with mod_remoteip on cPanel: https://support.cpanel.net/hc/en-us/articles/360051107513-Restoring-visitors-IP-with-mod-remoteip

Categories
Solution

How to fix Cpanel Account Permissions

How to fix Cpanel Account Permissions

A script to fix permissions and ownership, on files and directories, for cPanel accounts.: https://github.com/PeachFlame/cPanel-fixperms

Categories
Solution

mysqli_real_connect(): Server sent charset (255) unknown to the client

To solve the issue check out: https://stackoverflow.com/a/43442839