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

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.

Hi,

It is a cashgiftingpro script w/5 levels BUT I converted it to advertising, one banner or text ad per
level. Ads are in a iframe. Starts at $5 up to $250.

I put the config here http://www.greathomechefsrecipes.com/config.txt

The new site, universal-abundance.com is on http://www.freewebhostingarea.com

Can't find info on PHP V5.4 or any other.

Thanks!
LD

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.

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

add a test page to your site containing

<?php phpinfo(); ?>

and see what it displays

I tried http://www.universal-abundance.com/testpage.php and htm and txt with <?php phpinfo(); ?> at top. Just get a blank pg. Told you I'm db impaired!

How do I make it show up? I did this long time ago but don't remember.

:-/ LD

Change it to:-

<?php phpinfo(); die; ?>

Try this

<?php echo PHP_VERSION; die;?>

Now we're talking. 5.4.16

Thanks
LD

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

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.