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
8245
Activity
Magic Methods not finding class name
Might be a namespace issue. Class names in strings are always interpreted from global, so you might have to prefix them by "\\packagename\\".
Comment by
WanWizard
April 2012
permalink
Packages gone?
what exactly do you do when it gives you that?
Comment by
WanWizard
January 2012
permalink
How do I upgrade a package?
This functionality is pretty recent, and whoever added it to 1.1/develop didn't update the documentation. I've added a note about module and packages support to the main migrations page. The documentation is online, in it's own githu…
Comment by
WanWizard
April 2012
permalink
Extening Controller_Rest, with action methods.
Too late. I've added Controller_Hybrid to the 1.1/develop core.
Comment by
WanWizard
April 2012
permalink
Extening Controller_Rest, with action methods.
Try http://scrp.at/bjb and see if it works for you. let us know, we might add it to the core if it does...
Comment by
WanWizard
April 2012
permalink
Extening Controller_Rest, with action methods.
If you mean mixing REST and Template functionality in a single controller then no, that is not possible at the moment. It should be possible to create a base controller that does both, but I don't think anyone has merged the two... if not, you…
Comment by
WanWizard
April 2012
permalink
Fuel php and CMS development
I know there's a few people busy with developing a FuelPHP based CMS, I've seen discussions about it on IRC. I'll notify them about this forum thread, so they can respond if they want to.
Comment by
WanWizard
April 2012
permalink
upload trouble cause of validation class
Nothing posted. Makes sense that the validation fails then. You'll have to check your form and application logic.
Comment by
WanWizard
April 2012
permalink
Access denied page
Request::show_404() is deprecated and will be removed in v1.2, which is due in the next couple of weeks.
Comment by
WanWizard
April 2012
permalink
Fatal error: Class 'Asset' not found
I don't think buying a new computer would solve it. Getting rid of Windows might help...
Comment by
WanWizard
April 2012
permalink
Fuel php and CMS development
With FuelPHP, anything is possible. What something like this would cost depends on a long list of factors. I for one hardly ever quote fixed prices, and for a guestimate it would need more detailed information to have it make any sense. In the 25 y…
Comment by
WanWizard
April 2012
permalink
Fatal error: Class 'Asset' not found
Looks like some major digging operation is in order.
Comment by
WanWizard
April 2012
permalink
Access denied page
I would say if (!Auth::has_access("$class_name.$action") && Auth::check()) { throw new Lib_HttpAccessDeniedException(); } instead of calling the deprecated method? And I don't think that Auth::check() is needed. If not l…
Comment by
WanWizard
April 2012
permalink
Fatal error: Class 'Asset' not found
The class is there (in /fuel/core/classes/asset.php)? All lower case? Rights to the file ok? Did you check the PHP logs? Any errors or other messages? I still find it very odd. By the time you get to processing the view file which contains the Ass…
Comment by
WanWizard
April 2012
permalink
Access denied page
Access denied is usually application specific, so it's functionality is not build into the Framework. But you can easily add it, similar to how 404 is handled. Create a HttpAccessDeniedException class, and always load that so it's availab…
Comment by
WanWizard
April 2012
permalink
Email package not stripping BCC recipients?
This forum isn't really for bug reports. Please add an issue for this at http://github.com/fuel/email/issues so someone can have a look and it can be followed up.
Comment by
WanWizard
April 2012
permalink
Using oil and MAMP on OS X Snow Leopard
Normally, the location of the socket is set in your php.ini. The issue here is probably that PHP-Cli uses a different php.ini from the one Apache is using. It's typical of a MAMP setup and cause of lots of misery.
Comment by
WanWizard
February 2012
permalink
Fatal error: Class 'Asset' not found
I was wondering if all repositories were installed, and of the same version. But I assume if you download the zip, the core and some packages are present in the zip, and of the correct version. I'm clueless here, by the time FuelPHP gets to pr…
Comment by
WanWizard
April 2012
permalink
Fatal error: Class 'Asset' not found
What have you exactly installed? And how?
Comment by
WanWizard
April 2012
permalink
ORM, Fieldset and SimpleAuth
The staging site does an automatic sync with the repo. Sometimes it needs a bit of help, for example when updating submodules or running migrations. It should be up again (but you won't be able to see the admin as a normal user). After login y…
Comment by
WanWizard
April 2012
permalink
upload trouble cause of validation class
Nothing strange here too. Perhaps do a Debug::dump($_POST) before your $val->run(), to see what it exactly validates?
Comment by
WanWizard
April 2012
permalink
can't save an orm model
If $id is empty, find() will return an instance of \Orm\Query so you can build your own query. It's a common mistake. When you get an error like this, the first thing I would do it var_dump the return value. You would have quickly seen that so…
Comment by
WanWizard
April 2012
permalink
ORM, Fieldset and SimpleAuth
Check our fuel depot repo. The admin module contains a users section that does just this. It uses an ORM model to access SimpleAuth user data, and uses the profile_fields to store the users full name.
Comment by
WanWizard
April 2012
permalink
Fieldset::set_config()
set_config() is meant to allow you to override items in the forms config file, so only those keys can be used. I have a very customized one that does this: // fetch the definition of this form $formdata = \Config::get('forms'); // add a …
Comment by
WanWizard
April 2012
permalink
Fieldset Generation and date/time selection
Depends a bit on what you exactly want. I have apps that use: extra form fields for day, month, year with dropdowns. Upon form submit, the controller will merge the contents of the three into the date field (Y-M-D), which is then validated. The dat…
Comment by
WanWizard
April 2012
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,410
Last Active
4:18PM
Roles
Administrator