The uploaded file exceeds the upload_max_filesize directive in php.ini
May27

The uploaded file exceeds the upload_max_filesize directive in php.ini

upload_max_filesize KB ID 0001125  Problem When attempting to upload a file to your website, (in my case from within WordPress). You see this error. Solution: upload_max_filesize Update: 27-05-25: This started plaguing me again recently, and despite me searching all over for php.ini files I could NOT fix it, turns out there was a typo in the php.ini file that was stopping the whole file from loading properly. I uploaded the php.ini...

Read More
Setup RANCID and ViewVC (Part One)
Jul21

Setup RANCID and ViewVC (Part One)

KB ID 0001331 Problem There are couple of good posts out there on setting up Rancid (Really Awesome New Cisco Config Differ). Some even show you how to set it up with ViewVC (Formally ViewVCS, basically a nice web based GUI front end, that does version control and highlights differences). It does this using a system called CVS (Concurrent Version System, hence the original name.) Then I had to do some more searching to get it to back...

Read More
Migrated WordPress Site – Homepage Works, All Other Pages/Links Fail
Jan09

Migrated WordPress Site – Homepage Works, All Other Pages/Links Fail

KB ID 0001126  Problem I’m in the process of migrating the site back to its original VPS now that the site re-write and redesign has been completed. I used a plugin (UpdraftPlus) to backup the site, and its database, and then restored it to the new server. After the restore I connected to the new server and there was the site in all its glory 🙂 However, every single link I clicked gave me a; Not Found The requested URL {Path}...

Read More
Webmin – Read User Mail Error ‘The mail server in the module configuration was not found on your system’
Nov17

Webmin – Read User Mail Error ‘The mail server in the module configuration was not found on your system’

KB ID 0000885  Problem While setting up and configuring a new Postfix mail server, I attempted to use the Webmin ‘Read User Mail’ module, and got this error. Module Config Read User Mail The mail server set in the module configuration was not found on your system, You will need to adjust the configuration to use the correct server. Solution At first I thought I needed to enter a servername into the config. However it seems...

Read More
Can I delete _vti_inf.html and the _vti folders?
Nov17

Can I delete _vti_inf.html and the _vti folders?

KB ID 0000742  Problem I was doing some site tidying this week, usually If I don’t know what something is I leave it alone, but I was on a mission! I had a bunch of files/folders in the root of my website, that, a) I didn’t know what they were doing, and b) wanted to delete. File: _vti_inf Folders: _private, _vti_bin, _vti_cnf, _vti_log, vti_pvt, _vti_txt Solution As it turns out these folders are needed for FrontPage and...

Read More
Google Analytics – Redundant Hostnames
Nov17

Google Analytics – Redundant Hostnames

(Redirecting non www URL’s to www URL’s) KB ID 0001016  Problem I noticed this a while back, apparently Google Analytics started flagging this for many users on October 14th 2014. But I’ve only just got round to sorting it out. If you are seeing this error its because your site is ‘addressable’ in more than one way, in my case you could get to me via http://petenetlive and http://www.petenetlive.com. I...

Read More
Linux – Enable PHP Short Tags
Nov17

Linux – Enable PHP Short Tags

KB ID 0000886  Problem I have a particular web page that uses PHP short tags. Post migration from my old hosting company to a dedicated VPS, this stopped working. As I know little about Linux, and even less about PHP, I asked the question at Experts Exchange about why It was no longer working. I took no time at all, for someone who knew what they were doing to say, “Your code uses ‘Short tags’, but you do not have...

Read More
Apache Web Server – Change the Default Page
Nov17

Apache Web Server – Change the Default Page

KB ID 0000882  Problem Out of the box, Apache expects your website homepage to be called index, on this site the homepage is called home, here’s how to change it. Solution 1. Connect to the server via SSH, (or open a terminal session). The file you need to edit is called httpd.conf. This server is running CentOS, so you should find that file in the /etc/httpd/conf folder. 2. I’m going to edit it with nano. 3. Locate the...

Read More
Apache is Ignoring the .htaccess file
Nov17

Apache is Ignoring the .htaccess file

KB ID 0000890 Problem The .htaccess file is a file that lives in a directory on a web server. Its job is to provide ‘settings’ that would normally be set in the servers httpd.conf file. You can put a .htaccess file in any directory to control the settings for that directory, (providing .htaccess override has been allowed). After having some problems the other day, I made a change to mine, then reliased the change was not...

Read More