Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Syntax error on class console.php
  • I have a trouble when use oil console. I use fuelphp version 1.1 Purwandi:dk purwandi$ php oil console
    Fuel 1.1 - PHP 5.3.6 (cli) (Sep 8 2011 19:31:33) [Darwin]
    >>> Auth:create_user('admin','password','purwandi.m@gmail.com', 100);
    PHP Parse error: syntax error, unexpected ':' in /Volumes/Storage/www/dk/fuel/packages/oil/classes/console.php(91) : eval()'d code on line 1
    Parse Error - return (Auth:create_user('admin','password','purwandi.m@gmail.com', 100))
  • A static class call requires two colon's: Auth::create_user().
  • Harro Verton wrote on Sunday 25th of December 2011:
    A static class call requires two colon's: Auth::create_user().

    Argghhhhh..... now i see it's my fault :( Thanks @WanWizard

Howdy, Stranger!

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

In this Discussion