buy tb500

Archive for the ‘Uncategorized’ Category

How to enable InnoDB for Magento 1.2.1

Sunday, November 29th, 2009

Edit this file with the following vi command in the terminal:

vi /etc/my.cnf

and find the line skip-innodb
You need to comment this line by adding the # sign before it. It should look like this:

#skip-innodb

Now save the file by entering:

:wq

And restart your mysql service with the following command if you are on centos and you are done.

service mysql restart

Your installation should go well now.

References

===

http://linux.blogbus.com/logs/37110827.html

install pdo_mysql

Sunday, November 29th, 2009

these steps to install pdo_mysql

sudo pecl install pdo
sudo pecl install pdo_mysql
sudo updatedb

then you need to restart apache

Thank you

Reason: 551 This mail server requires authentication before sending mail from a locally hosted domain. Please reconfigure your mail client to authenticate before sending mail.

Thursday, November 26th, 2009

disable an options in mailenable

SMTP > security > enable address spoofing
untick this address spoofing

the error u see is come from recipient mail server
so u need to configure the recipient side

SQL tmp/ and change the tmp dirctory

Tuesday, November 17th, 2009

tmpwatch -av 1 /tmp

to change nysql drictory from tmp to tmp2 you need to add tmpdir=/tmp2 in /etc/my.cnf

then to make sure is changed you need to type

mysql
then you will get

>

then you type

>show variables like “tmpdir”;

so you see the changed

Extract compress file in linux tar.gz

Monday, November 16th, 2009

tar -xzf filename.tar.gz

if only finename.tar then we use tar -xf filename.tar


Format Nokia N73

Sunday, November 8th, 2009

This code will help you to format your mobile Nokia N73

*#7370#

But remember to backup your phone before you do this as this will erase all user data, user defined phone settings.

parent path

Wednesday, November 4th, 2009

if you want to enable parent path in windows 2008 server IIS7 ,, you can folow these steps

RDC to the server then go to IIS7 then select the domain then select ASP from your rtie hand then you can see parent path is false so just chaned to True

Refer to this URL you can see the pictures

http://learn.iis.net/page.aspx/566/classic-asp-parent-paths-are-disabled-by-default/

How do I install cPanel

Thursday, October 29th, 2009

Refer to this URL

https://helpdesk.ndchost.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=25

Warning: require(includes/languages/.php) [function.require]: failed to open stream: No such file or directory in C:\wamp\www\oscommerce\catalog\admin\includes\application_top.php on line 157

Wednesday, October 21st, 2009

i’ve seen this happen a few times. it’s caused because you have a session variable (called ‘language’) defined, but it has no value. setting the $language variable to some default value seems to fix it.

you can fix it two ways.

1) a permanent fix: in admin/includes/application_top.php, around line 112 you see:
// set the language
if (!tep_session_is_registered(‘language’) || isset($HTTP_GET_VARS[‘language’])) {

change it to:
// set the language
$language=’english’;
if (!tep_session_is_registered(‘language’) || isset($HTTP_GET_VARS[‘language’])) {

if english is not your default language, set it to whatever you want your default language to be.

2) a quick temporary fix: add a ‘?language=english’ to your url. so instead of going to domain.com/admin/index.php use domain.com/admin/index.php?language=english

i hope that helps.

Reference

http://forums.oscommerce.com/topic/317544-fatal-error/

Fatal error: Call to a member function add_current_page() – around line 312 or

Tuesday, October 20th, 2009

Somehow seems the navigation parameter remains registered so the class is not instantiated. Do this to fix it.

Fatal error: Call to a member function add_current_page() on a non-object in /includes/application_top.php on line 312

1. Backup catalog\includes\application_top.php then open it locate this code:
CODE
// navigation history
if (tep_session_is_registered(‘navigation’)) {
if (PHP_VERSION < 4) {
$broken_navigation = $navigation;
$navigation = new navigationHistory;
$navigation->unserialize($broken_navigation);
}
} else {
tep_session_register(‘navigation’);
$navigation = new navigationHistory;
}
$navigation->add_current_page();

Replace it with this
CODE
// navigation history
if (tep_session_is_registered(‘navigation’)) {
if (PHP_VERSION < 4) {
$broken_navigation = $navigation;
$navigation = new navigationHistory;
$navigation->unserialize($broken_navigation);
} else {
$navigation = new navigationHistory;
}
} else {
tep_session_register(‘navigation’);
$navigation = new navigationHistory;
}
$navigation->add_current_page();