How do I install cPanel
Thursday, October 29th, 2009Refer to this URL
https://helpdesk.ndchost.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=25
Refer to this URL
https://helpdesk.ndchost.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=25
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/
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();
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.
<?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
Refer to the following URL
http://www.cyberciti.biz/faq/exim-remove-all-messages-from-the-mail-queue/#comments
Refer to the following URL
http://www.magentocommerce.com/knowledge-base/entry/how-do-i-know-if-my-server-is-compatible-with-magento
say thank you for Ayad hahahaha
Refer to the following URL
http://kb.mediatemple.net/questions/242/How+do+I+redirect+my+site+using+a+.htaccess+file%3F
if you got this issue please refer to the following URL
http://forum.mambo-foundation.org/showthread.php?t=16953
If you got this error IISPassword. The page cannot be displayed. then refer to the following URL
http://support.yeahhost.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=15