Friday, August 24, 2012

Re: CakePHP 2.2.1 returning blank page on first run.

Ok, found it. It is a CakePHP bug. On some environments ini_set is avaible only for some settings, i solved by disable the code:

/*
        if (empty($_SESSION)) {
            if (!empty($sessionConfig['ini']) && is_array($sessionConfig['ini'])) {
                foreach ($sessionConfig['ini'] as $setting => $value) {
                    if (ini_set($setting, $value) === false) {
                        throw new CakeSessionException(sprintf(
                            __d('cake_dev', 'Unable to configure the session, setting %s failed.'),
                            $setting
                        ));
                    }
                }
            }
        }*/

--
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate