Drupal Blog Page Not Found

If you have the problem of not being able to see the Blog Module page after enabling it, and you are using Clean URL for your site, then it's *probably* because you have accidentally created a subdomain with the name 'blog' (e.g. http://blog.example.com), or you have a subdirectory named 'blog' on your website's root folder (www, htdocs or public_html). You should be able to see Drupal's Blog Module after you remove the subdomain / subdirectory with that same name.

XAMPP Virtual Hosts in Ubuntu

Quick HOWTO to enable Virtual Hosts with XAMPP on Ubuntu (or any *nix distribution).

shell> sudo gedit /opt/lampp/etc/httpd.conf

Uncomment the line below (it should be towards the end of the file):
Include etc/extra/httpd-vhosts.conf

Save & Close the httpd.conf file.

shell> sudo gedit /opt/lampp/etc/extra/httpd-vhosts.conf

Make sure the line below is uncommented:
NameVirtualHost *:80

Add/Edit the following piece of code:
<VirtualHost *:80>
    ServerAdmin admin@localhost

Previous Hosting Server Breakdown

I'm sorry for the inconvenience caused. Most of the resources you're trying to look for are not available. My previous hosting provider recently had a major server breakdown, causing all data to be lost. I will try my best to get the posts back up as soon as possible.

Format USB Thumb drive with NTFS filesystem

In Windows, we all know that we can't format our thumb drive to NTFS by default. There are no options for NTFS when we're trying to format our thumb drive. But that doesn't mean that we can't have NTFS filesystem on our thumb drive. All we have to do is use the Convert utility to change the thumb drive's filesystem to NTFS. Here's how:

1) Open your Command Prompt
2) Assuming the drive for your thumb drive is "X", type the following line in command prompt:-

C:\Users\Yourname> CONVERT X: /fs:ntfs

ASP.NET Client-side Validation & Confirmation Popup

The other day I was working on a project for our client. They wanted some client-side validation to be done on the page to avoid postbacks, since postbacks could take REALLY long on a slow connection. They also wanted a javascript confirmation popup before processing the form.

In the page, I had a few RequiredFieldValidators, as well as some RegularExpressionValidators. Initially, I modified the submit button to include the confirmation message, and check whether the page is valid or not. Below is a snippet of the ASP.NET button that I had in my page.

 

Syndicate content