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
Bug in Fuel::find_files() ?
This bug has been fixed in the develop branch.
Comment by
WanWizard
July 2011
permalink
basic session help
Most likely your session config file doesn't return an array, so you'll get this error when the config array's are merged.
Comment by
WanWizard
July 2011
permalink
Package Working on Localhost but not on server
Who or what gives you a 404 error? Your application? Fuel? Your webserver?
Comment by
WanWizard
July 2011
permalink
Bug in Fuel::find_files() ?
This is indeed a bug, which has been corrected now. Fuel itself doesn't load anything by absolute path, so it wasn't impacted by this bug. Question is why you would want to use Fuel::find_file() if you have an absolute filename (which is …
Comment by
WanWizard
July 2011
permalink
Translation to Russian
I don't think anyone minds. But the docs are currently updated on a daily basis, even with some structural changes. You might have a lot of work tracking all changes in the repository, and modifying your translated version accordingly.
Comment by
WanWizard
February 2011
permalink
Package Working on Localhost but not on server
A package can't contain controllers, and therefore routing to it is not possible. What are you trying to do? What do you expect should happen? And what does? Any errors?
Comment by
WanWizard
July 2011
permalink
Loading language error
Why would you use Lang::set() in a language file? It is supported to return an array... And your Lang::set() is missing a closing quote.
Comment by
WanWizard
July 2011
permalink
my own auth?
Fuel autoloads everything, no need to load something manually unless you haven't followed the naming conventions. Do not modify the auth package itself. That will make updates to newer versions difficult. Copy the class file to your app folder…
Comment by
WanWizard
July 2011
permalink
Models in Tasks
What you do mean by "can not insert it'? What have you tried? Error messages?
Comment by
WanWizard
July 2011
permalink
Force Download
File::download(), if you're on develop branch (it was added after RC3). It will autodetect the correct mime type, but you can override that, as well as the filename.
Comment by
WanWizard
July 2011
permalink
im getting this error ..No uploaded files are selected.
No, you need to Upload::process() them before you can save() them...
Comment by
WanWizard
July 2011
permalink
ORM and profiler
Did you enable db profiling in your db config? It is enabled per database definition.
Comment by
WanWizard
July 2011
permalink
Discussion: Development Standards for Packages and Modules etc...
I have to agree with you Phil. For me, packages provide "core" functionality, they add new functionality to the core which you application code can use. Modules provide "app" functionality, they contain controllers, views, model…
Comment by
WanWizard
July 2011
permalink
Anyone knows about this error?
According to the PHP manual, fileinfo should be included in PHP as of 5.3. On Windows, you do need the dll. On Linux, we've noticed that there are hosters that compile their own PHP binary, and use old scripts for that, so fileinfo isn't …
Comment by
WanWizard
July 2011
permalink
How do I reference other controllers if I've got catch-all routing?
Disable routing for this request: \Request::factory('mymodule/widget', false)->execute();
Comment by
WanWizard
July 2011
permalink
CSRF logic flaw?
Currently, the CSRF code only supports a single form at the time (a shortcoming other frameworks have as well), you'll have the same issue if you have multiple forms on a page, or multple pages open to the same site. I ran into this issue as w…
Comment by
WanWizard
July 2011
permalink
How does Environment work?
The environment is set in app/config/config.php. Typical examples are defined as constants in the Fuel class, and a fresh Fuel setup defaults to Fuel::development. Alternatively, you can set the environment variable FUEL_ENV, which will have preced…
Comment by
WanWizard
July 2011
permalink
Responding DB result set in a REST controller
Please add a feature request at http://github.com/fuel/orm/issues, so it can be looked at and it's status tracked. An issue not created is an issue that doesn't exist...
Comment by
WanWizard
July 2011
permalink
Responding DB result set in a REST controller
That is correct, the ORM is currently not designed to produce results for 'batch' type of processing. It is absolutely not a must to use the ORM for every interaction with the database, choose the method that suits the requirement. Nobody…
Comment by
WanWizard
July 2011
permalink
Responding DB result set in a REST controller
Did you actually read Dan's response to that question? $query = \DB::select( 'username' ) ->from( 'users' ) ->execute() ->as_array(null, 'username'); would return an ar…
Comment by
WanWizard
July 2011
permalink
Packages & Models
For classes in app (including modules), there are no "possible" locations. There is only one possible location, directly determined by the class name. A class called "Class_In_Parts" lives in app/classes/class/in/parts.php. And …
Comment by
WanWizard
July 2011
permalink
Responding DB result set in a REST controller
See http://stackoverflow.com/questions/5449787/from-two-dimensional-array-to-one-dimensional-array/5452553#5452553 for an example of what I mean...
Comment by
WanWizard
July 2011
permalink
Packages & Models
Please define "extra loading time"? All the bootstrap does is define the location of a class, because for packages it can not be determined automatically by the name of the class. For app and module classes, that is not the case. There is…
Comment by
WanWizard
July 2011
permalink
oil migration problem
migrate without 'up' or 'down' migrates to the lastest version. In code, it's identical to 'up', only the version to migrate to differs.
Comment by
WanWizard
July 2011
permalink
sqllite3
That is because Kohana's PDO driver is really geared towards MySQL, it's not a real generic driver. A rewrite of the database classes and the Query Builder is on the roadmap for post-1.0. to provide true multi-platform support.
Comment by
WanWizard
June 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,369
Last Active
2:24PM
Roles
Administrator