• Entries (RSS)
  • Comments (RSS)

Joomla does not support PHP 5.3

Posted by | Posted in OpenSource, Tips and Tricks | Posted on 13-01-2010

Tagged Under : ,

Are you getting these errors in Joomla?

Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a reference, value given in /home/xx/public_html/libraries/joomla/cache/handler/callback.php on line 99

or

Warning: Parameter 1 to HTML_content::show() expected to be a reference, value given in /home/xx/public_html/travel/includes/Cache/Lite/Function.php on line 92

Its because Joomla does not support PHP 5.3 or PHP 5.3.1

Just downgrade your PHP version and these errors will go away

Enable Multiple Instances of Windows Live Messenger (WLM) for Multiple Logins

Posted by | Posted in How to, Tips and Tricks, Tutorials | Posted on 14-12-2009

Tagged Under : , , , , , , , , , , ,

I just discovered that the latest version of Windows Live Messenger (WLM) supports multiple instances. That means, we don’t need any third party tool to crack it.

The support for multi-WLM i s not enabled by default, but can be easily turned on and enable with registry hack.

  1. Go to Start -> Run
  2. Type regedit and hit enter
  3. Navigate to the following registry key: KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Live\Messenger (For 64-bit x64 OS, go to following registry branch instead: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows Live\Messenger)
  4. In the right pane, right click on any blank space, select New on context menu, and then click on DWORD Value
  5. Name the registry value as MultipleInstances with a value 1
  6. Close Registry Editor

Start as many WLM instances as you wish. Its handy when you want to run an office and personal id at the same time.

Are you getting “Unfinished transactions remaining … run yum-complete-transaction first” error?

Posted by | Posted in CentOS, How to, Linux, Tips and Tricks, Tutorials | Posted on 26-11-2009

Tagged Under : ,

Are you getting this?

There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.

if so, just do this

yum install yum-utils

and then run

yum-complete-transaction

CentOS yum update missing dependency error

Posted by | Posted in CentOS, How to, Linux, OpenSource, Tips and Tricks, Tutorials | Posted on 07-08-2009

Tagged Under : ,

If you are using

yum update

on CentOS and getting the following errors

Missing Dependency: /usr/lib/python2.4 is needed by package libxml2-python-2.6.26-2.1.2.7.i386 (installed)
gamin-python-0.1.7-8.el5.i386 from installed has depsolving problems
Missing Dependency: /usr/lib/python2.4 is needed by package gamin-python-0.1.7-8.el5.i386 (installed)
Error: Missing Dependency: /usr/lib/python2.4 is needed by package libxml2-python-2.6.26-2.1.2.7.i386 (installed)
Error: Missing Dependency: /usr/lib/python2.4 is needed by package gamin-python-0.1.7-8.el5.i386 (installed)

Don’t panic, the solution is simple … just run the following command

yum clean all

Then do

yum update

Installing PHP 5.2.6 on CentOS box

Posted by | Posted in CentOS, How to, OpenSource, PHP, Resources, Reviews, Tips and Tricks, Tutorials | Posted on 10-07-2009

Tagged Under : , , , , , , , , ,

If you want to install PHP 5.2.x instead of the PHP 1.5.6 offered with default CentOSPlus repo. Please consider installing the utterramblings repo. Setting up this repo is a breeze … just follow these steps

Read the rest of this entry »

How to Install Apache, PHP and MySQL on CentOS

Posted by | Posted in How to, Linux, OpenSource, PHP, Resources, Tips and Tricks, Tutorials | Posted on 02-07-2009

Tagged Under : , , , , ,

I have seen people installing Apache, PHP and MySQL from source code on a production server. You should NEVER, NEVER, NEVER install these packages from source on an RPM or DEB based Linux distributions. Did I say “NEVER” enough times to make your realize that it is not a good practice?

Installing from source is bad idea; there are many reasons for this but the major one is that you will be spending a lot of time keeping the system updated. If you love installing from source then I would suggest using a different distribution e.g. Gentoo.

You can build from source if the package is not available in yum but still, try to use “yum” (or “apt-get” on Ubuntu) because it will save a lot of your time when upgrading your packages.

Read the rest of this entry »

How to Install Webmin in CentOS

Posted by | Posted in How to, Linux, OpenSource, Resources, Tips and Tricks, Tutorials | Posted on 01-07-2009

Tagged Under : , ,

Earlier, I posted a how-to to Install Webmin on Ubuntu, now im going through the tutorial again but this time for CentOS.

Install dependancies before we proceed to install webmin

yum -y install perl-Net-SSLeay

Download the latest version of webmin

wget http://downloads.sourceforge.net/project/webadmin/webmin/1.500/webmin-1.500-1.noarch.rpm?use_mirror=ignum

Once it is downloaded, install the RPM using the following command

rpm -i webmin-1.500-1.noarch.rpm

No more steps required. Its installed :)
Go to your browser and access the control panel with valid ssh credentials

Installing / re-installing and Configuring phpMyAdmin on Ubuntu

Posted by | Posted in How to, Linux, OpenSource, PHP, Resources, Tips and Tricks, Tutorials, Ubuntu | Posted on 17-06-2009

Tagged Under : , , , , ,

phpMyAdmin is a very common and handy tool that most of the developers use. It is available on almost every server.

Installing phpMyAdmin on Ubuntu server is even easier, you just need to

sudo apt-get install phpmyadmin

but what if we accidently skip the configuration screen where phpmyadmin makes modifications to apache?

Dont worry just do the following

Edit Apache’s configuration file (assuming you are using apache2)

sudo nano /etc/apache2/apache2.conf
# better to use the following command instead of the one above
#gksudo gedit /etc/apache2/apache2.conf

Add the following line of code inside apache2.conf:

Include /etc/phpmyadmin/apache.conf

Now restart Apache:

sudo /etc/init.d/apache2 restart

Go to /phpmyadmin/ and login with your mysql username and password.

Firefox Personas does not work with Noia 2.0 theme

Posted by | Posted in How to, Tips and Tricks | Posted on 03-06-2009

Tagged Under : , , ,

After much trouble I can to know that Firefox Personas does not work with Firefox Noia 2.0 theme. It may help somebody.

How to list Stored Procedures and Functions in MySQL database

Posted by | Posted in How to, Resources, Tips and Tricks, Tutorials | Posted on 26-05-2009

Tagged Under : , , ,

How to check if there are any STORED PROCEDURE in MySQL database?

SHOW PROCEDURE STATUS;

Similarly for MySQL database FUNCTIONS

SHOW FUNCTION STATUS;

But it displays a list of all PROCEDURE and all FUNCTIONS, you can chop down the list by appending

## display FUNCTIONS from 'test' db
SHOW FUNCTION STATUS WHERE db LIKE ='test';

Hope it helps somebody.
Enjoy!

Get Adobe Flash playerPlugin by wpburn.com wordpress themes