human choroinic gonadotropin

Archive for October, 2009


 Powered by Max Banner Ads 

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();

Warning: I am able to write to the configuration file: /shop/includes/configure.php. This is a potential security risk – please set the right user permissions on this file.

Tuesday, October 20th, 2009

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

Send email using the PHP mail() function

Thursday, October 8th, 2009
<?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

Exim Remove All messages From the Mail Queue

Thursday, October 8th, 2009

Refer to the following URL

http://www.cyberciti.biz/faq/exim-remove-all-messages-from-the-mail-queue/#comments

How do I know if my server is compatible with Magento

Thursday, October 8th, 2009

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

How do I redirect my site using a .htaccess file

Thursday, October 8th, 2009

Refer to the following URL

http://kb.mediatemple.net/questions/242/How+do+I+redirect+my+site+using+a+.htaccess+file%3F

Save button does not work in mambo

Thursday, October 8th, 2009

if you got this issue please refer to the following URL

http://forum.mambo-foundation.org/showthread.php?t=16953

IISPassword. The page cannot be displayed.

Thursday, October 8th, 2009

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