Category Archives: web development

Joomla Installation Fix

joomla-installation_fix

Recently I got a project for installing Joomla and configuring a template provided by the client itself. It was a very simple project and usually takes around half an hour at most. But as the installation process started, I was flooded with the following error messages:

Warning: session_start(): open(sess_78ac9881b78726f2fb5c194667f74021, 
O_RDWR) failed:No such file or directory (2) in session.php on line 542
Warning: session_start(): Cannot send session cookie - headers already
sent by(output started at session.php:412) in session.php on line 542

Also received the following error message:

Cookies do not appear to be enabled on your browser client. You will not
be able to install the application with this feature disabled. Alternatively,
there could also be a problem with the server's session.save_path. If this
is the case, please consult your hosting provider if you don't know how to
check or fix this yourself.

After a bit of research I found an easy solution to fix this problem.

Step 1:

Download this file and place it in the installation directory of Joomla.

Step 2:

Open index.php in the installation directory of Joomla. Add the following lines on top of the file(index.php):

include(“repair.php”);
session_save_path($work_path);

 Now initiate the installation process and the problem will disappear.

Shubhamoy

An engineer by chance and a blogger by choice. Love to share my knowledge with the masses. My main focus is always on open source technologies and latest gadgets. This blog provides me the platform to cherish my passion.

Website - More Posts

How to Speed Up your Website?

Hi Folks,

Today I’m going to share some points on speeding up your website or blog. Normally we don’t like a website which has a long loading time. So how to reduce the loading time of our site:

Reduce site loading time

  1. Compress Scripts: Scripts take the main role in increasing the loading time. And when the scripts are heavily commented & has a full formatting then it adds to the trouble. So if we compress the scripts by removing all the comments & removing the formatting then we can save some time. Following are some scripts compressors:
  2. Standard Code: Always code in the standard form defined & maintained by W3C. Since a standard code is quickly read by browsers & search engines. W3C provides the following validators to check whether the given document is according to the standard or not:
  3. Compress Images: Optimize graphics for web before using them. Images take a considerable amount of time & on compressing them saves a lot of time  but sometimes compromises the quality. So CSS Sprites can be used which is basically making a single image after including all the graphics. Check YouTube’s CSS Sprite for better understanding.
  4. Server Side Includes(PHP): Reduce server side inclusion of scripts to increase the processing speed.  Insert HTML directly in the scripts rather than echoing them like in WordPress for displaying the title of blog <?php bloginfo(‘name’); ?> is used instead if we replace it with an echo simply write the title then we would decrease the loading time. Since we would change our blog’s name in a rare condition.
  5. Resizing Images: Never use a large image by simply setting its width & height rather resize the image to the desired dimensions & then use. Since in the both the case we are displaying the same image but in the first case it is having much larger size.
  6. Use CDN: CDN stands for content delivery network. It is really the most effective method to decrease load time. Most of the busy sites are using it. Popular CDN providers are Microsoft Azure, Amazon S3, Akamai, etc.

These few points are highly effective & can reduce the page loading time to a considerable amount. So next when you’re building a website just keep this points in mind or if you’re planning to optimize your present site then also it’ll help you a lot. Do let me know about the results also share you views.

Shubhamoy

An engineer by chance and a blogger by choice. Love to share my knowledge with the masses. My main focus is always on open source technologies and latest gadgets. This blog provides me the platform to cherish my passion.

Website - More Posts

Shubhamoy’s Link Shortener

Hi Folks :) ,

I’ve a good news to share with you: After a long time, I’ve created an online tool. It is a simple link shortener named Shubhamoy’s Link Shortener.

Demo | Download

Shubhamoy's Link Shortener

It is AJAX based & uses a bit of CSS3 in its design. I’ve tried to give it a simple look. All of you might be thinking that why didn’t I bought a short domain name? Well first of all I want to add more features to it before placing it on a domain. So therefore I like to request all my worthy visitors in giving me there views, feedback & suggestions on it.

Shubhamoy

An engineer by chance and a blogger by choice. Love to share my knowledge with the masses. My main focus is always on open source technologies and latest gadgets. This blog provides me the platform to cherish my passion.

Website - More Posts