Category Archives: php

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

Google Plus Nickname Generator

google-logo-plus

First of all I would like to thank all my readers for their huge response on my last article on “Google Plus Invitation Trick”. Google Plus is really an awesome social networking platform. After using it for some time, I am very satisfied with its uncluttered design and rich UI. The most appealing feature is the division of your contact list into circles which gives us full control on the visibility of our content.

After spending a lot of time on Google Plus, I also came across an issue, i.e., it didn’t had an option to have share friendly URLs like, Twitter(http://www.twitter.com/shubhamoy) or Facebook(http://www.facebook.com/shubhamoy) rather is uses profile ID similar to Orkut.So I thought of writing a Nickname Generator in PHP, which would enable us to share our Google Plus profiles easily till Google implements it. This will generate a nickname like gp.me/shubhamoy.

For generating a short url, we need to enter our desired nickname and oour Profile ID. Check the following image for getting the Profile ID.

Google Plus Profile ID

Requirements:

Following are the basic requirements to implement Google Nickname Generator on your domain:

  1. A short domain name, e.g., http://gp.me or http://gp.to
  2. PHP
  3. MySQL
  4. jQuery (Google jQuery API Key)

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