Quote:
Originally Posted by Inigoesdr
Check your phpinfo() to make sure the session module is enabled, too.
|
I wonder if a
function is disabled (by host PHPconfiguration), will this also give error:
Fatal error: Call to undefined function
... or maybe this gives another Error message?
You should, as told, run phpinfo();
and look for session module and also see if any functions are disabled
Function below will show all extensions, including session module, if is loaded:
and the second will check if function exists.
But all this info you will get from phpinfo() as well.
PHP Code:
<?php
echo '<pre>'.print_r( get_loaded_extensions(), true).'</pre>';
if ( function_exists( 'session_start' ))
echo 'YES session_start exists';
else
echo 'NO session_start function';
?>[/b]