Love Fuel?
Donate
About
Forums
Discussions
Login
FuelPHP Forums
Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Oil
oil generate scaffolding error
onokumus
July 2011
ERROR : PKGPATH/oil/views/default/scaffold/views/_form.php on line 6 echo "<?php echo Form::label('". \Inflector::humanize($field ."', '{$field}'); ?>\n";
FIX : echo "<?php echo Form::label('". \Inflector::humanize($field) ."', '{$field}'); ?>\n";
ERROR : php oil g scaffold monkey ad:string Creating model: .....
.
.
.
.
.
OK but APPPATH/classes/controller/monkeys.php <?php
class Controller_Monkey extends Controller_Template {
....
FIX :
<?php
class Controller_Monkeys extends Controller_Template {
Harro
July 2011
There was a syntax error in the form template, which has been hotfixed last night.
See
https://github.com/fuel/oil/commit/2375b8b7b906aa8d76f4b18cb78e024151e3e60f
. If you download v1.0, or checkout/clone the develop branch, you should get the fixed version.
Add a Comment
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
5,088
General
↳ General
3,364
↳ Job Board
13
↳ Installation & Setup
214
Packages
↳ Oil
213
↳ Orm
700
↳ Auth
260
Development
↳ Tips and Tutorials
126
↳ Code share
145
↳ Applications
52
In this Discussion
Harro
July 2011