November 26th, 2009 by ayad
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
Posted in Uncategorized |
November 17th, 2009 by ayad
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
Posted in Uncategorized |
November 16th, 2009 by ayad
tar -xzf filename.tar.gz
if only finename.tar then we use tar -xf filename.tar
Posted in Uncategorized |
November 8th, 2009 by ayad
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.
Posted in Uncategorized |
November 4th, 2009 by ayad
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/
Posted in Uncategorized |
October 29th, 2009 by ayad
Refer to this URL
https://helpdesk.ndchost.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=25
Posted in Uncategorized |
October 21st, 2009 by ayad
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/
Posted in Uncategorized |
October 20th, 2009 by ayad
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();
Posted in Uncategorized |
October 20th, 2009 by ayad
Not sure the underlying issue, but if you are certain the file is not writable, you can change the includes/application_top.php file at the bottom of the file from:
define(‘WARN_CONFIG_WRITEABLE’, ‘true’);
to
define(‘WARN_CONFIG_WRITEABLE’, ‘false’);
and the warning will go away. Do at your own risk.
0
Posted in Uncategorized |
October 8th, 2009 by ayad
<?php
// Your email address
$email = "you@example.com";
// The subject
$subject = "Enter your subject here";
// The message
$message = "Enter your message here";
mail($email, $subject, $message, "From: $email");
echo "The email has been sent.";
?>
reference
http://totallyphp.co.uk/code/send_email_using_the_php_mail_function.htm
Posted in Uncategorized |