I get the following errors:

> 
> A PHP Error was encountered
> 
> 
> Severity: Warning
> 
> 
> Message: chmod() has been disabled for security reasons
> 
> 
> Filename: drivers/Session\_files\_driver.php
> 
> 
> Line Number: 191
> 
> 
> Backtrace:
> 
> 
> File: /home/almsa/public\_html/library/application/controllers/Home.php
>  Line: 23 Function: library
> 
> 
> File: /home/almsa/public\_html/library/index.php Line: 315 Function:
>  require\_once
> 
> 
> 

But if I remove $this->load->library('session'); from my controller then the errors go. 
My controller has only that line.

the controller works fine on localhost but gets that error when I uploaded it to a live server.

Please help, Thank you !