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
Error reporting broken in github master and develop branch?
My laptop crashed. I've lost my dev environment, and locked myself out of my github account (don't know the password). You should not have a backslash in the file spec, it should be a forward slash. If there's a need to support the b…
Comment by
WanWizard
May 2011
permalink
Some params to a ViewModel?
The Viewmodel object has set(), set_raw() and set_safe() methods to add data to the Viewmodel, same as the View object.
Comment by
WanWizard
May 2011
permalink
Relating ORM Models to Users, using simpleauth
The layout has been completely changed recently, there are still quite a few issues that need to be fixed.
Comment by
WanWizard
April 2011
permalink
What is a model?
And if it helps, here is an explaination of Javaworld. To understand MVC in depth, you have to understand that it's build around several design patterns, mainly CompositePattern, ObserverPattern and StrategyPattern, but influenced by some othe…
Comment by
WanWizard
April 2011
permalink
Sticky checkbox
For a checkbox, only a 0/1 value is relevant and directly linked to "checked='checked'". Maybe some more intelligence is needed in the method?
Comment by
WanWizard
April 2011
permalink
Oil r migrate error - mysql.sock
On a Mac, you can not use localhost, you have to use 127.0.0.1.
Comment by
WanWizard
April 2011
permalink
Form, validation, model. Fieldset?
I haven't gotten around to the clever bit yet. I might go for something like simpletags, and provide a tag interface to Fuel methods, something like {fuel:form name="test" action="/here/there"} {/fuel:form}
Comment by
WanWizard
April 2011
permalink
Form, validation, model. Fieldset?
I'm the wrong person to ask (not that you did). I believe in strict separation between bussines logic and presentation, and therefore never use layout defining elements in my code. I'm still contemplating about using the Viewmodel, and de…
Comment by
WanWizard
April 2011
permalink
Get Single Result with a chained ::find()->where()
I know MAMP is a strange beast, but as I don't have a Mac, I can't help you any further. I know though that PHP 5.3.2. wasn't the best of releases, so that might have something to do with it...
Comment by
WanWizard
April 2011
permalink
Get Single Result with a chained ::find()->where()
running anything that does output buffering, caching or accelerating? Running ZendDebugger?
Comment by
WanWizard
April 2011
permalink
How is FuelPHP different/better than CodeIgniter?
Imho Fuel: - develops a lot faster - has a lot cleaner code - has more out-of-the-box functionality - module and HMVC support built-in - full package support built-in - everything is extendable - community driven, no "corporate agenda&q…
Comment by
WanWizard
April 2011
permalink
uri::create() without /index.php
If you use mod_rewrite to remove index.php from the URL, you should also remove it in app/config/config.php.
Comment by
WanWizard
April 2011
permalink
Small but complete fieldset example?
The Fieldset class is Jelmers baby, but he's tied up in ORM at the moment. I'm sure when he has the time he'll add some more examples to the docs.
Comment by
WanWizard
April 2011
permalink
Small but complete fieldset example?
Have a look at Jschreuders' FuelDocGenerator app to get an idea of how it works.
Comment by
WanWizard
April 2011
permalink
Class 'Orm\Model' not found
That should be enough to make the ORM package active. You should not use the ORM from a controller, you should create a model: class Model_Test extends \Orm\Model { // additional configurator or code here } and then in your controller use thi…
Comment by
WanWizard
April 2011
permalink
Can't Use Function Return Value In Write Context.
"Note: Because this is a language construct and not a function, it cannot be called using variable functions"
Comment by
WanWizard
April 2011
permalink
Can't Use Function Return Value In Write Context.
empty() is not a function, it's a language construct. You can't use that on the result value of a function.
Comment by
WanWizard
April 2011
permalink
Upload error message
You have to make the error messages yourself. Foreach over the errors returned and match 'error' against the defined error constants to display the correct message.
Comment by
WanWizard
April 2011
permalink
newbie question
Feature requests, bug reports and other issue go into the issue tracker on http://github.com/fuel. Make sure you select the correct repository. To contribute, follow the branching model (https://github.com/fuel/fuel/wiki/Branching-Model), clone the…
Comment by
WanWizard
April 2011
permalink
Crypt Hash
What Fuel code revision are you using? Do you have phpseclib in fuel/core/vendor?
Comment by
WanWizard
April 2011
permalink
session using memcache bugs?
Memcache: http://php.net/manual/en/book.memcache.php Memcached: http://php.net/manual/en/book.memcached.php Two different things, don't confuse the two...
Comment by
WanWizard
April 2011
permalink
Asset Class and CDN support
You can set the basedir globally, its in the asset config file, the 'url' parameter. If no app/config/asset.php file exists, fuel/core/config/asset.php is loaded, which sets 'url' to the applications base_url.
Comment by
WanWizard
April 2011
permalink
Asset Class and CDN support
At the moment, the asset class supports locating assets in local file paths using Asset:add_path(), and requires your assets to be structured a specific way. Alternatively, you can pass a URI to Asset::js() and Asset::img(), which will be used with…
Comment by
WanWizard
April 2011
permalink
Problems with routing and multiple variables
I'm closing this thread. Please provide feedback about the proposed fix, or any other comments, via the issue tracker: https://github.com/fuel/core/issues/33.
Comment by
WanWizard
April 2011
permalink
Problem with URL rewrite
You are not supposed to put all code inside your webservers docroot. The 'public' folder should be your docroot, all other folders should be outside the docroot for security reasons. If you insist on setting it up like this (which is ok f…
Comment by
WanWizard
January 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,365
Last Active
April 26
Roles
Administrator