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.
WanWizard
a.k.a. WanWizard
Discussions
4
Comments
8242
Activity
Extending package model class from APPPATH
Please explain why FuelPHP would do that, if you request \Model_Profile? If so, we might have a bug in the autoloader. As I don't have it installed, maybe you could add some debugging to the autoloader to see why the wrong class is loaded and/…
Comment by
WanWizard
December 2011
permalink
Lang class
Nope, you're right. I've updated the docs and the docblock in the code. Thanks for reporting it.
Comment by
WanWizard
December 2011
permalink
commande oil generate admin... doesn't work
I guess Phil has to answer this...
Comment by
WanWizard
December 2011
permalink
Oil Refine migrate not working as expected
The only other thing I can think of is that the commandline uses a different Fuel environment from your webserver. Have you checked http://docs.fuelphp.com/installation/troubleshooting.html#/oil_db_error ?
Comment by
WanWizard
December 2011
permalink
Extending package model class from APPPATH
That should not be nessecary for app classes. I assume (I haven't checked the code) that Warden tries to load the model class from within it's code, without namespacing it. Which means it tries to load it in the \Warden namespace (which i…
Comment by
WanWizard
December 2011
permalink
generated oil resulting to a mysql syntax error
The connection method is not the issue here. The problem is that the SQL generated by your create_table() code is not acceptable to your MySQL service because it is running in strict mode. You will even get the error if you would try to execute the…
Comment by
WanWizard
December 2011
permalink
Session flash help needed
I can't comment on that, I can't see your code. If you "Always load" your classes, it should be loaded before the Session class. Session is not loaded by default, the first method call will trigger the load.
Comment by
WanWizard
December 2011
permalink
begginer help me
If this is Phils code, I guess you have to ask him...
Comment by
WanWizard
December 2011
permalink
commande oil generate admin... doesn't work
v1.1-RC1 was tagged on October 18th. The admin feature is from two weeks ago. Please upgrade to v1.1. (should be seamless coming from RC1).
Comment by
WanWizard
December 2011
permalink
begginer help me
$id in the first example has a value because it is passed as parameter to action_view(). But where does $title in the second example come from? It isn't defined anywhere...
Comment by
WanWizard
December 2011
permalink
Oil Refine migrate not working as expected
Does a database named 'blog' exist?
Comment by
WanWizard
December 2011
permalink
Reverse lookup of routes
Yes, I added named routes and reverse routing to the docs a few weeks ago. But since we don't have a dev site at the moment, the new docs only came online after release of v1.1.
Comment by
WanWizard
December 2011
permalink
Twitter-Bootstrap friendly Pagination Class
The current pagination class is under review (see http://github.com/fuel/core/issues), and will probably disappear as-is, since it is application specific, and doesn't belong in the core. Several changes were proposed to fix layout issues, whi…
Comment by
WanWizard
December 2011
permalink
Understanding file structure to put controller, model and view
app/views stores your view files, app/classes/view your viewmodel classes. Just remember that anything in app/classes must be a class.
Comment by
WanWizard
December 2011
permalink
commande oil generate admin... doesn't work
Which version of FuelPHP are you using? Admin generation is a new feature that requires 1.1 (for both the core and all packages used).
Comment by
WanWizard
December 2011
permalink
Oil Refine migrate not working as expected
The error seems pretty clear to me: your PDO database definition (dsn) is incorrect, or oil is not using the correct database environment, and is therefore loading the wrong definition.
Comment by
WanWizard
December 2011
permalink
Oil Problem
If you're using 'php oil', it will use the CLI version of PHP. If you have multiple versions installed, make sure the correct one is used. You can type 'php -v' to check the version. If the paths you use are non-standard (i…
Comment by
WanWizard
December 2011
permalink
Config::get('db') is null?
The current FuelPHP ORM already supports method chaining, which is quite similar to how DataMapper works.
Comment by
WanWizard
December 2011
permalink
install on windows7
Have you tried Google? search for 'git': the first result is the correct one search for 'git-bash': the first result is the correct one, the second one a good tutorial You can also opt for an IDE, such as PHPStorm, which has bu…
Comment by
WanWizard
December 2011
permalink
Understanding file structure to put controller, model and view
I think Phil recently put a new tutorials on NetTuts+ (http://net.tutsplus.com/?s=fuelphp). FuelPHP contains an optional Auth package, which provides the ACM basics, and is easily extendible to suit your needs. If you need more, there are two third…
Comment by
WanWizard
December 2011
permalink
ORM Feature Request
The link is dead since we moved to a new hosting provider. It's a work in progress. You can report bugs, issues, feature requests etc here: http://github.com/fuel/orm/issues.
Comment by
WanWizard
December 2011
permalink
Error: Unknown column 't0.' in 'where clause' ... : using oil ...scaffold with --orm switch
If this means the wrong code is generated in orm mode, please create an issue for this on http://github.com/fuel/oil/issues. Bug reports in the forums will be easily missed...
Comment by
WanWizard
November 2011
permalink
Parameters for find_all()
To which "find_all" method are you referring? ORM? Model_Crud? Something else?
Comment by
WanWizard
December 2011
permalink
Link back to category in forums
It's not you. It disappeared after an upgrade of the CMS, it has already been reported.
Comment by
WanWizard
December 2011
permalink
Fuel modules and Yii modules are they similar
I have no Yii experience, so I can't comment on that, but yes, FuelPHP modules are independent of the global app. Without any special routing config, you access a module using http://example.org/modulename/controllername/methodname/...
Comment by
WanWizard
December 2011
permalink
More Comments
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
About
Username
WanWizard
Joined
January 2011
Visits
2,368
Last Active
12:00AM
Roles
Administrator