Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
oil generate scaffolding error
  • 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 {
  • 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.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion