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
Problems with oil in version 1.4
Has been fixed. Thanks for reporting it.
Comment by
WanWizard
November 2012
permalink
Could you tell me the details of Configuration options 'whitelisted_classes'
All data send to a View is encoded by default as a security measure. For objects, it means that the view class will try to encode all properties of the object. For some objects, this is not possible because the properties are read-only, causing err…
Comment by
WanWizard
November 2012
permalink
Noob question: getting results from DB::query as object
This is the correct syntax: $result = DB::select('id','name')->from('users')->as_object()->execute();
Comment by
WanWizard
November 2012
permalink
Noob question: getting results from DB::query as object
as_object() should come before execute(), not after it.
Comment by
WanWizard
November 2012
permalink
Noob question: getting results from DB::query as object
Use as_object() instead of as_array() ?
Comment by
WanWizard
November 2012
permalink
[IIS][Azure]Configure FuelPHP
Great! Can you make a wrap-up of what exactly is needed to get FuelPHP working on Azure (which config examples), so we can add this to the documentation?
Comment by
WanWizard
November 2012
permalink
Adding relations dynamic if module exists
The ORM Model heavily caches data, including processed relation definitions. So if this is not the first instantiation of this class, the relations are already processed and in cache. Subsequent calls will not check the properties again, but load t…
Comment by
WanWizard
November 2012
permalink
Adding relations dynamic if module exists
The ORM Model heavily caches data, including processed relation definitions. So if this is not the first instantiation of this class, the relations are already processed and in cache. Subsequent calls will not check the properties again, but load t…
Comment by
WanWizard
November 2012
permalink
Adding relations dynamic if module exists
The ORM Model heavily caches data, including processed relation definitions. So if this is not the first instantiation of this class, the relations are already processed and in cache. Subsequent calls will not check the properties again, but load t…
Comment by
WanWizard
November 2012
permalink
Adding relations dynamic if module exists
The ORM Model heavily caches data, including processed relation definitions. So if this is not the first instantiation of this class, the relations are already processed and in cache. Subsequent calls will not check the properties again, but load t…
Comment by
WanWizard
November 2012
permalink
Adding relations dynamic if module exists
The ORM Model heavily caches data, including processed relation definitions. So if this is not the first instantiation of this class, the relations are already processed and in cache. Subsequent calls will not check the properties again, but load t…
Comment by
WanWizard
November 2012
permalink
Use Model_CRUD or ORM, but write your own sql?
In FuelPHP both Model_Crud and Orm\Model are layers on top of the query builder, but they are not an extension of that query builder, so you can't do what you can do in Datamapper. Instead, you run a normal query builder query, and ask it to …
Comment by
WanWizard
November 2012
permalink
Returning 404 status when using Controller_Template
Does your controller have an after() method that might interfere with this? With the standard after() method in Controller_Template, if your action returns a Response object, it will use that instead of creating it's own. It looks like in your…
Comment by
WanWizard
August 2012
permalink
[IIS][Azure]Configure FuelPHP
I can't be of more assistance, I'm not a Windows user, and I've never used Azure.
Comment by
WanWizard
November 2012
permalink
[IIS][Azure]Configure FuelPHP
FuelPHP is designed in such a way that the public folder should be your webserver document root. This way there is no "/public" visible for users, and you don't have this issue. This is done so that all your code is not accessable vi…
Comment by
WanWizard
November 2012
permalink
Issue with security.php - get_class() expects 1 parameter
1.4 will have some improvements in that area. The generator is programmed to not blindly overwrite files, since you may have changed then (or even created them by hand). There is a commandline switch available to force the overwrite if you desire t…
Comment by
WanWizard
November 2012
permalink
Issue with security.php - get_class() expects 1 parameter
Just spend the last 15 minutes working through the tutorial on a brand new 1.4/develop installation, and I don't see any issues, everything works as advertised. 1.4 will be released this weekend, so if you're reluctant to work with a deve…
Comment by
WanWizard
November 2012
permalink
Issue with security.php - get_class() expects 1 parameter
I tried to pass NULL to Security::htmlentities(), but no error occurred. That tutorial is very old, and written for v1.1. It's got guaranteed to work on the current release. Which version of FuelPHP are you using, and can you post the code in …
Comment by
WanWizard
November 2012
permalink
Migration issues on Pagoda Box - failing to save to fuel/app/config/production/
It has been scaled down now and some services already moved away, because of that bill. But that has had quite an impact on the performance of the site. We're moving out completely in the next couple of days.
Comment by
WanWizard
November 2012
permalink
Migration issues on Pagoda Box - failing to save to fuel/app/config/production/
This site runs on the same, a 2 web 200Mb instance and 1 DB instance, 200Mb. Bill fluctuates between 0$ and 120$ per month, which I find rediculous. And the big plus of "managed" is that you don't have to. The hosting company will be…
Comment by
WanWizard
November 2012
permalink
I can't get the content of users table
This is not an Auth question. The DB class by default returns database objects (like MySQLi_Result), which are per definition read-only. If you pass such an object to a view, FuelPHP will try to encode it like we encode all data that goes to the vi…
Comment by
WanWizard
November 2012
permalink
Migration issues on Pagoda Box - failing to save to fuel/app/config/production/
I don't run any FuelPHP apps on Pagodabox, so I can't elaborate on that. But we currently run this website, and the other project websites, on pagodabox. Technically that works, but not without availability issues. In part that's pro…
Comment by
WanWizard
November 2012
permalink
Unit Testing question
The Agent results might be related to the fact that the browscap project is dead. We're looking for a fix for that. I'll have a look at the other ones.
Comment by
WanWizard
November 2012
permalink
Session without cookie
Currently being discussed: http://fuelphp.com/forums/topics/view/11363
Comment by
WanWizard
November 2012
permalink
Session::key('session_id') returns false first time it is called
If it works for you, ok. When I start rewriting the Session classes I'll see if I can squeeze in this requirement. I'm going to move all the stuff currently in the cookie to the payload for server-side checking, which means it's poss…
Comment by
WanWizard
October 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,396
Last Active
July 11
Roles
Administrator