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
8243
Activity
404 route for a module
This has been fixed a few days ago in the develop branch.
Comment by
WanWizard
March 2011
permalink
Funny, but I Can't Load Even a Controller!
Enable the log in the config and check your logfile for errors. Also check apache's logfile. Maybe that will tell you something...
Comment by
WanWizard
March 2011
permalink
Run action only for HMVC requests
Phil Sturgeon wrote on 03/06/11 4:08 pm: This to me is exactly why HMVC as widgets is a bad idea. Why not just create a Widget class with a method for each widget or a more intelligent system that loads sub-classes and views? I don't agree.…
Comment by
WanWizard
February 2011
permalink
Fuel on MAMP
I don't run MAMP. Was just checking if it was an eAccelerator issue. But it seems not to be that easy, it might be a specific combination of versions running...
Comment by
WanWizard
February 2011
permalink
Fuel on MAMP
Just enabled eAccelerator here, but don't have any problems. Which version is included in MAMP? I'm running PHP 5.3.5., eAccelerator v0.9.6.1 (according to PHPinfo).
Comment by
WanWizard
February 2011
permalink
Run action only for HMVC requests
You can do if (\Request::active() == \Request::main()) { echo "This is the main request"; } else { echo "This is an HMVC request"; } If you use this in your controllers action or router method, you have to make sure y…
Comment by
WanWizard
February 2011
permalink
Modules 404 page
Currently, there is no specific per-controller 404 support, but it's registered as a feature request. To capture calls to unknown methods, use the router() method, see the docs (General, Controllers, Base).
Comment by
WanWizard
February 2011
permalink
How to use Asset::add_path
Correct. Assets should always be accessable by the browser.
Comment by
WanWizard
February 2011
permalink
Run action only for HMVC requests
Your module is not aware of the way it's called, a request is a request. If you don't want it routeable, you have to block it in the routes in the config file. You could try comparing Request::$main and Request::$active. If they're …
Comment by
WanWizard
February 2011
permalink
Session errors
Fixed. Was a cosmetic issue, DB::update actually returns 0 for some DB backends (like MySQL) when nothing in the record has changed.
Comment by
WanWizard
February 2011
permalink
Session errors
I see these as well now, I'll investigate.
Comment by
WanWizard
February 2011
permalink
Same view names in different modules
You're welcome!
Comment by
WanWizard
February 2011
permalink
Run action only for HMVC requests
Make sure you can't route to it, and it won't be accessable from the URI.
Comment by
WanWizard
February 2011
permalink
Session errors
No, that's not normal. You will get this error when you have (lots of) concurrent requests, for example on a page with lots of ajax calls with different processing times. In that case it can happen that the session id rotates on one of the req…
Comment by
WanWizard
February 2011
permalink
Event class improvements
I see a reason for wanting a delete/remove method. Not so sure about the priorities though. As you have no clue what is already in the event queue, and with which priority, there is no guaranty that one event will fire before or after another. What…
Comment by
WanWizard
January 2011
permalink
DataMapper for FUEL
Phil is right. Currently, Datamapper uses the underlying CI framework, especially the Database and CI Activerecord libraries. These would need to be rewritten or emulated to make Datamapper work in Fuel. It's something I've been thinking …
Comment by
WanWizard
January 2011
permalink
wanwizard.eu source ?
Correct. But as I've just started, it is absolutely not useful at the moment. I'm still busy with the basic internal structure of how ExiteCMS should operate. For wanwizard.eu, I've quickly made something hardcoded to get the site up…
Comment by
WanWizard
January 2011
permalink
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,387
Last Active
10:31PM
Roles
Administrator