What breaks a working $_SESSION on another page?
<p>I have a weird problem. Which, I was using $_SESSION to show login errors to user. It was working with no problem. Few days ago, I have changed my host from a Plesk host to a cPanel host that runs safe_mod off. Somehow my $_SESSIONs at login page doesn't work. I test $_SESSION on index page and it works OK and it show nothing wrong with working of $_SESSION function. Both page included same session starter page. </p>

<p>Also nothing works on login page when my functions file included. (sessions, post items, classes, functions etc. nothing.) But everything works on index page even if functions file included. What's happening here? What can be the reason? </p>

<p>PS: I am using UserCake for members system. My server doesn't allow me to turn PHP errors at htaccess level and nothing seems with </p>

<pre><code>error_reporting(E_ALL);
ini_set('display_errors', '1');
</code></pre>

<p>Also nothing seems relevant at my error logs.</p>

<p>Edit: We succeeded to show errors using</p>

<pre><code>ini_set('error_reporting', 8191); 
ini_set('display_startup_errors', 1); 
ini_set('display_errors', 1);
</code></pre>

<p>thanks to @J A but no errors seems.</p>
