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.
Jelmer Schreuder
Fuel core developer, check my bio on the about page.
Discussions
1
Comments
792
Activity
i get trailing dot after the domain name on Response::redirect
Most likely you configured your base_url in app/config/config.php without a trailing slash. dirname() returns the directory as "./login" and appends it to the trailing-slash-less url [url=http://virtualdomain]http://virtualdomain[/url] wh…
Comment by
Jelmer Schreuder
October 2011
permalink
show form field error and populate field with data user inputted before it returned error
Pass the Validation instance to the View using $view->set('val', $val, false) (have to disable output encoding to allow it through) or fetch it in the View using Validation::instance(). After that you can use the $val->error() metho…
Comment by
Jelmer Schreuder
October 2011
permalink
show form field error and populate field with data user inputted before it returned error
You can get the input from the Validation instance $val->input('age') as described in the docs: http://fuelphp.com/docs/classes/validation/validation.html#usage If you define your forms using the Fieldset class this can be done easier,…
Comment by
Jelmer Schreuder
October 2011
permalink
Validation data array of form
Write a validation rule that can validate these arrays: http://fuelphp.com/docs/classes/validation/validation.html#methods
Comment by
Jelmer Schreuder
October 2011
permalink
Poll: What PHP framework are you using?
Enthousiasm and popularity are better evaluated looking at forums, IRC channels and repository stats. Especially the latter's contributors, forkers and followers would be far more meaningful indicators of a framework's strength & comm…
Comment by
Jelmer Schreuder
October 2011
permalink
Poll: What PHP framework are you using?
The outcome of any such poll is pretty useless. It can tell you a bit about popularity but that's about it. We actually came up 1st in one such poll about a month after our first beta, that was one that allowed down & up-voting and the tru…
Comment by
Jelmer Schreuder
October 2011
permalink
Release candidate 3 doesn't test well out of the box
You might, just maybe, want to try, one might think, v1.0.1 instead of a very outdated non-stable version.
Comment by
Jelmer Schreuder
October 2011
permalink
Using __get($prop) in an orm model
This is the __get() method: https://github.com/fuel/orm/blob/1.0/master/classes/model.php#L673 Note the & in front of it, that's part of its signature and must be in the extension as well to prevent the warning.
Comment by
Jelmer Schreuder
October 2011
permalink
Specifying a database connection per model - relating across DBs.
You can set the connection name: http://fuelphp.com/docs/packages/orm/creating_models.html#connection You can't connect between databases yet however, it's planned but not yet possible (using joins now, needs to support where-in for that)…
Comment by
Jelmer Schreuder
October 2011
permalink
Problem in extending form class . is this a bug?
@samitral: was that the HTML source or what you got to see after the browser tried to interpret it?
Comment by
Jelmer Schreuder
October 2011
permalink
Problem in extending form class . is this a bug?
Hello all , when i tried to extend the form i got the following error. when i changed the core function to protected it worked is this the bug? ErrorException [ Error ]: Call to private method Form::attr_to_string() from context 'Fuel\Core…
Comment by
Jelmer Schreuder
October 2011
permalink
Setting Up Fuel to work in a MultiSite/Virtual Subdirectory Environment
Check out the public/index.php file, you can configure the paths to core, packages and app individually. I'd still recommend against it, your executable code is publicly accessable this way. If you must, at least put a .htaccess in the program…
Comment by
Jelmer Schreuder
October 2011
permalink
Fuel 1.1 Release Date
There is no expected release date beyond: when it's ready. Next week we'll release the first beta though, so it shouldn't be too long.
Comment by
Jelmer Schreuder
October 2011
permalink
NuSOAP - how to integrate into Fuel
Adding something to the autoloader won't load it, it only tells the autoloader where to find the class when you request it. NuSoap works outside Fuel's normal loading, I'd advice you to just use require to load it when you need it.
Comment by
Jelmer Schreuder
October 2011
permalink
NuSOAP - how to integrate into Fuel
You've told our autoloader where to find the NuSoap class, how would it now where to find "nusoap_client"? Check out the NuSoap docs, it'll probably explain how to load it in a way that makes its classes available to you.
Comment by
Jelmer Schreuder
October 2011
permalink
Relation one to many array indexes
Only by rewriting the array yourself. The key value has to be unique and the only way to ensure that is to index by primary key. Anything else would also add unneeded overhead.
Comment by
Jelmer Schreuder
October 2011
permalink
DB::query() in Migrations
http://fuelphp.com/docs/classes/database/usage.html#running-queries
Comment by
Jelmer Schreuder
October 2011
permalink
NuSOAP - how to integrate into Fuel
Last I looked it had been dead for years, but I see they released a new version last year. Any reason to use it over PHP's native SOAP extension? Converting into a package is often a good idea, another way is to just put it somewhere and load …
Comment by
Jelmer Schreuder
October 2011
permalink
Is 'valid_string' Broken?
Cross post with issue tracker: https://github.com/fuel/core/issues/555 - closing this to avoid 2 separate discussions.
Comment by
Jelmer Schreuder
October 2011
permalink
Parser Package with Caching - Cache
The Parser package does no caching, so you're either using one of the libraries with caching build in or you're using Fuel caching without showing how. Either way you'll need to add more description and/or code examples to get help.
Comment by
Jelmer Schreuder
October 2011
permalink
Understanding Auth:: what is login_hash used for?
1. New logic goes into the login driver, not into the base Auth class - that shouldn't be extended unless you really understand it. 2. There'll be a reset_password() method in Fuel 1.1 for the login driver.
Comment by
Jelmer Schreuder
May 2011
permalink
Error message for callback in Validation class
It returns: Validation rule Controller_Sign:email_check failed for Email address Short names only work for extensions of the Validation class, otherwise the rule key needs to include the classname as shown in this error: 'Controller_Sign:e…
Comment by
Jelmer Schreuder
October 2011
permalink
Error message for callback in Validation class
http://fuelphp.com/docs/classes/validation/validation.html#errors
Comment by
Jelmer Schreuder
October 2011
permalink
Extending \Fuel in 1.1 > Problem
Sorry, forgot about that: Request paths (app & module) are added before the system-wide paths. You need this method to add paths to your request.
Comment by
Jelmer Schreuder
October 2011
permalink
Extending \Fuel in 1.1 > Problem
The core has been fixed. Did you read the docs btw? There's a param which allows you to make the new path prefixed, it's not really hidden or anything...
Comment by
Jelmer Schreuder
October 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
Jelmer Schreuder
Joined
January 2011
Visits
7
Last Active
May 2016
Roles
Administrator