Tuesday, May 5, 2015

Re: Cakephp 2.6.4 - On IIS localhost works fine, after uplocal to Hostgator don't

Try to enable the display_errors options in your php.ini or in .htaccess.
You shouldn't had use the session with the native


Em ter, 5 de mai de 2015 11:18, CLÁUDIO BAIMA <baimaclaudio@gmail.com> escreveu:
Hi all,

At our local server we developed an application (it is a Win 7 environment with IIS 7 and php 5.5) ..

So we upload to a Linux (on hostgator and php 5.5) and the application crush on a blank screen (and really nothing appears) ...

Both of them has php-session under the same conditions ..

I point to the Session because the problem lies in

 public $components = array(
 
'Session',
 
'Auth' => array(
    
'authenticate' => array(
         
'Form' => array(
          
'fields' => array('username' => 'email')...


I just take out the Auth component and the application reappears (with no session function) ...

I tried to start a session into the \app\webroot\index.php.. But the application after the session start still behaves weird (And I also tried to start a session both on the bootstrap as well on the core) ...

I tried that with a simple:

if(!isset($_SESSION)) session_start();

Has anyone experienced this before? Suggestions??

TIA

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: