Currently Browsing: General

Magento: “Fatal error: Uncaught exception” erorr when trying to access Magento Connect manager

That’s a known bug and is present in Magento since version 1.1.2 and still isn’t fixed. The solution is quite easy and takes less than 5 minutes :) Simply edit the following file using cpanel’s file manager: app/code/core/Mage/Core/Model/App.php in it around line 558, you should find...

Magento ‘404 error: Page not found’ fix

The resons for this issue can be quite a few. The issue itself however has the same root in most of the cases. If this error appears, chances are you will nor have access to magento’s admin area either, so reverting the changes which lead to the problem is out of the question. This is literally...

Types of DNS records

If you have a website and often communicate with your host’s support/sales team, I bet you’ve been told at lest once to change some records for your domain. Since not many of you are familiar with the DNS system, I will try to briefly explain some common records, which you will most likely...

Add form fields dynamically with JavaScript

If you have ever used GMail you have most probably already seen this at the attachments page, where you can dynamically add attachment slots without even refreshing the page. You can achieve this effect easily and I will just show you how to do it. For the purpose of course, we will use JavaScript, so...

How to find the exact domain name extension (in PHP)

For one of my projects I had to find the exact domain name extension using a php script. While, this doesn’t seems too hard to do for a simple domain name (i.e domain.com) by just exploding the domain string and separating the two arrays items by the dot character, I had to do it a little bit more...

Set default permissions for files with VSFTP

Today I had to configure my FTP server to apply 755 permissions to all newly uploaded files on the box. So, I am using VSFTP and referred to the online manual for more information regarding the exact directive that should be applied: http://vsftpd.beasts.org/vsftpd_conf.html Well, it is not the best...

How to encrypt your disk with TrueCrypt?

Recently I had to encrypt an entire partition to protected some sensitive data. I found out that TrueCrypt is quite easy to use and provide pretty good protection against attackers with physical access to your machine. You can encrypt your data in two ways: 1) By creating an encrypted file which you...