spadefoot/kohana-orm-leap — Issue #21: Guide API unexpected T_CONSTANT_ENCAPSED_STRING, expecting T_CASE or T_DEFAULT or '}'
Author: nyunyu95
Created: 2012-02-06 19:40:21+00:00
State: open

Hello,

I'm getting an error while trying to user my API guide. I'm getting this error :

"ErrorException [ Parse Error ]: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting T_CASE or T_DEFAULT or '}'
MODPATH/leap/classes/base/db/drizzle/schema.php [ 68 ]"

The problem seems to come from the switch() used on the line 67.

switch ($actual_type) {
'blob' => array('type' => 'string', 'binary' => TRUE, 'character_maximum_length' => '65535'),
.....,
}

Are you sure about what you've done there ? :p
I prefer to not try to fix your work. I could misunderstand it ! :)

Regards,

(I do not use drizzle or made any modifications on files)