Why do I get a blank page or 500 Internal Server error?

Re: Blank page or 500 Internal Server error

The problems are caused by your code failing. A blank page is usually a PHP error so checking your PHP error_log within your Plesk panel will provide causes as to what the problem is. Usually the best course of action is to re-upload your website or restore from a recent backup.

A 500 internal server error is usually related to a scripting issue using CGI or Perl scripts. Again, this means the script is unable to execute and this generic error which does not give much away means you need to check your scripts or simply upload / restore to your last working copy.

Both of these errors means a quick call to your web designer or just restore from your latest backup in the Backup manager (You do take backups right?!)

UK-Cheapest Ends Ensim Support

As of June 1st, 2012, UK Cheapest no longer be providing support for Ensim powered servers. If you are currently using Ensim, we highly recommend you migrate to Parallels Plesk.

Ensim End Of Life

The last version of Ensim was released on 4/16/2009. Since then there have been a few hot patches but no significant upgrades. Ensim 4 has not been updated since 2007. If you are still using these versions of Ensim, you likely are using an outdated OS. We recommend Red Hat Enterprise 5 and will soon be moving to Red Hat Enterprise 6 once software vendors release their updates for the new RHEL version.

Ensim Mandatory Migrations

We have been offering free upgrades to Plesk since December 2010  but now it’s time to make the final push.

Starting 1st June, any accounts remaining on Ensim will be automatically migrated to Parallels Plesk 10.x. This covers all remaining accounts on Microlite18 to 24 Ensim servers. This process will be complete by June 28th.

All Ensim accounts will remain accessable using your old login details until June 30th when they will be deleted.

If your domain name is not hosted with UK Cheapest, please change your domain name servers to:

  • ns.microlite11.com
  • ns2.microlite11.com

Your new Control Panel URL (still using your old login and password) will be:

Your username and password will remain unchanged.

The old Ensim control panels will still be available until June 30th using the links below:

Additional Differences

FTP – Use ftp.yourdomain.com instead of server.microliteXX.com as your FTP hostname. Your FTP username is now in the format “adminXXXXX” and not “adminXXXXX@yourdomain.com”.

Email – Your email passwords and usernames will remain unchanged.

Webmail – Your default webmail (Horde) can be accessed through http://webmail.yourdomain.com. You will no longer find webmail at www.yourdomain.com/webmail.

Squirrelmail – This application is no longer automatically installed. You can install squirrelmail using the web applications installer within your new Plesk control panel.

Backups – Your old backups will be incompatible with Plesk, please make additiona FTP copies of your data if required.

Frontpage – It is no longer possible to upload using FrontPage HTTP. If you still use Frontpage, you must upload using FrontPage FTP or any other FTP client to upload your files.

Migration – we will handle the conversion and migration of your data as efficiently as possible. If you are using Ensim specific code you will need to make changes to your code to continue functionality in Plesk.

Support – If you require any help or support after the migration, please log a ticket with the helpdesk and ask for “Ensim Migration” support. Ensim support is not available through the Live Support facility.

How to Disable WordPress Comments Block

Re: Disable and Remove Comments from ALL pages without Deleting them

If you are suffering from comment spam but don’t want to delete the comments and just want to disable the comments block from all of you pages in one go, simply do the following.

Locate the file page.php fore your active theme

Find this line:

<?php comments_template(); ?>

Change it to this:

<?php // comments_template(); ?>

The comment block will no longer display and neither can any new comments be posted.

How to show total number of files in folders

Re: Display folder list with numbers of files in each folder and it’s sub folders

If you need to find where you may have large numbers of files stored it is useful to display a list of folders together with how many files are contained within that folder and its subfolders. This enables you to drill down to the area where the most files are stored.

# du -a | cut -d/ -f2 | sort | uniq -c | sort -nr

As an example, I will run this command in my /httpdocs folder, here is the output:

1959 wp-content
424 wp-includes
333 wp-admin
30 img
28 test
22 var

This immediately informs me where the most files are stored and that I have 1,959 files within my wp-content folder and it’s sub folders.

To get the disk usage of these folders instead, do this:

# du -h --max-depth=1

The output is as follows:

98M ./wp-content
4.0K ./plesk-stat
4.0K ./picture_library
20K ./css
128K ./test
5.7M ./wp-includes
3.8M ./wp-admin
8.0K ./blogs
144K ./img
4.0K ./tmp
124K ./var
108M .

These are useful tools when investigating disk space usage problems.

How to list folders with disk usage totals

Re: Show Folders with total disk space used

When finding out where your web space is being used it is useful to be able to list your directories and folders showing total usage for each folder, this allows you to further drill down by concentrating on folders that contain the most usage.

You can perform this task using the du (disk usage) utility:

# du -h --max-depth=1

The output will be in the format as follows:

98M ./wp-content
4.0K ./plesk-stat
4.0K ./picture_library
20K ./css
128K ./test
5.7M ./wp-includes
3.8M ./wp-admin
8.0K ./blogs
144K ./img
4.0K ./tmp
124K ./var
108M .

The -h option shows the usage in human readable form. The –max-depth option ensures we summarise folders in the current directory and not the individual sizes of sub folders.