0

HI! Just setting up my site... first thing I see after domain working is.....

Fatal error: Call to undefined function session_is_registered() in /home/vhosts/www.universal-abundance.com/config.php on line 87

Any ideas..... I'm db impaired!

Thanks,
L-D

4
Contributors
13
Replies
45
Views
4 Years
Discussion Span
Last Post by L-D
0

What script do you try to install?
Make sure that your mysql settings are correct in config file.
What code is on line 87?
Your question is very broad, it can be anything.

1

Warning
This function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.

taken from php manual( http://www.php.net/manual/en/function.session-is-registered.php)

If $_SESSION (or $HTTP_SESSION_VARS for PHP 4.0.6 or less) is used, use isset() to check a variable is registered in $_SESSION.

For eg:-
now use

$_SESSION["name"]="iim";
if(isset($_SESSION["name"]))//this(unset()) is used to check if session variable is set.
{
//your code
}

Hopefully it is clear.

0

Is this for L-D? Don't have a clue... I'm a HTML guy.

0

add a test page to your site containing

<?php phpinfo(); ?>

and see what it displays

0

Back to the error message:
Fatal error: Call to undefined function session_is_registered() in /home/vhosts/www.universal-abundance.com/config.php on line 87

Thanks,
LD

0

Hi paulkd,

I've solved the problem... I moved to another server! But for other reasons...

Thanks for your help... but I may be back!?

L-D

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.