Undefined class ‘String’ when use the console of cakephp
Posted January 29th, 2008 by admintoday ,I try to learn the console of cakephp , when i ran ‘cake schema generate ‘command, i got a undefined the `String` class ,and i try to get answer to #cakephp on IRC.solution:
adding this line :
uses('String');
at the top of all classes in cake\libs\model\datasources\dbo_source.php ,works fine!!
Tags: cakephp
Filed under:Uncategorized
Leave a Reply