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.
Muts
Discussions
48
Comments
100
Activity
Download using header
Okay, sill try and do that. But where can I find the documentation on the download() function? Doesn't seem to be in the file docs...
Comment by
Muts
July 2011
permalink
Kind of complicated queries (example)
Well I suppose I understand the ORM feature... I mean I don't have any problems with writing them. But it's the docs that kind of contradict. Orm is short for Object Relational Mapper which does 2 things: it maps your database table …
Comment by
Muts
May 2011
permalink
Kind of complicated queries (example)
I'm confused... My view just shows the result By sanitizing, you mean sql injection prevention? Why would that be done if there is no form? So how would I need to combine my query with ORM…
Comment by
Muts
May 2011
permalink
Kind of complicated queries (example)
@Huzzi: You can't combine the DB class with ORM I think. As WanWizard said, you wouldn't be able to update it as it is an object result. Which I get! But the point is I'm not modifying it, just setting the result equal to a variable…
Comment by
Muts
May 2011
permalink
Kind of complicated queries (example)
Well the thing is, I'm not modifying it. The error occurs when setting it to a data for the view. $this->template->content = View::factory('test/skills') ->set('skills', $query); //
Comment by
Muts
May 2011
permalink
Log reader
Ow there goes my dream of being the first That was actually exactly what I imagined it to be. Thanks for the link!
Comment by
Muts
May 2011
permalink
Security opinion
thanks, that helps me alot
Comment by
Muts
May 2011
permalink
Security opinion
So how about the URI? You propably would have ROOT/messages/... Should I set message/user_ID/message_ID? Isn't this a security flaw?
Comment by
Muts
May 2011
permalink
Kind of complicated queries (example)
Well I tried using the class $query = DB::select('SELECT groups.groupID AS groupID, groups.groupName AS groupName, invTypes.typeName AS skillName, invTypes.description AS skillDescription, invTypes.typeID FROM ( SELECT * FROM i…
Comment by
Muts
May 2011
permalink
Help with SimpleGroup
Still no solution Anyone able to help us on this? thanks
Comment by
Muts
April 2011
permalink
Log - Non-static method *** should not be called statically
thanks
Comment by
Muts
May 2011
permalink
Capture Errors
You can use your Log! http://fuelphp.com/docs/classes/log.html
Comment by
Muts
May 2011
permalink
Help with SimpleGroup
Isn't there a simpler way for retrieving the group? as I tried Auth::member($id) but doesn't work.
Comment by
Muts
April 2011
permalink
crypt decoding doesn't work
My bad, I thought when encrypting it wouldn't enlarge the length of the key (encoded) but it did. Almost double! And in my sql I initiated the field to the maximum length of the decoded key. So it only saved the crypted key partially Thanks t…
Comment by
Muts
May 2011
permalink
crypt decoding doesn't work
I use this in a model: public function encryptApiKey($api_key){ $value = Crypt::encode($api_key, false); return $value; } public function decryptApiKey($api_key){ $value = Crypt::decode($api_key, false); return $value; } whether I …
Comment by
Muts
May 2011
permalink
crypt decoding doesn't work
I'm not sure if you got my problem... I use the generated keys of fuelphp. So I did give write access and the file has been created. In my decode, I set the key to "false" so it would use the one that has been autogenerated. The enc…
Comment by
Muts
May 2011
permalink
crypt decoding doesn't work
Out of curiosity, is there a maximum length of value you can encode and successfully decode?
Comment by
Muts
May 2011
permalink
form select from array with empty option
Oh... nvm, Had to drink coffee to notice how simple it is. As you can't have id "0" in your database, I did: $users_list[0] = ""; before the foreach.
Comment by
Muts
May 2011
permalink
relation issue, Unknown column
Oh sorry, I thought you were reffering to RC2 with the dev branch... I'm not quite familiar with names and versions So dev branch means still in development? what does RC stands for then? r=release? c=?
Comment by
Muts
May 2011
permalink
update RC2 error
thanks alot... I just didnt think right!
Comment by
Muts
May 2011
permalink
relation issue, Unknown column
K so apparently the update didn't change any issue. But what I did however find was that 'simpleusers_api' isn't reconised cause of the alias 't1'. If I change simpleusers_api to t1 it works however. How come? fyi: t…
Comment by
Muts
May 2011
permalink
update RC2 error
Well I did read the documents, but what isn't mentioned is that you might need to delete the file when updating and refresh the page. That worked thanks!
Comment by
Muts
May 2011
permalink
update RC2 error
forgot to mention, the crypt file isn't located anywhere in the RC2. It is though in my folder. I just updated the core files and left my files intact, including the crypt file. It is as if the crypt file isn't made for the RC2 version. …
Comment by
Muts
May 2011
permalink
relation issue, Unknown column
To be honest I'm not sure on what I'm now. I can only find RC1 on the website. Fyi it might be usefull to put a download link. So what do I need to do? update to ?
Comment by
Muts
May 2011
permalink
relation issue, Unknown column
Oh sorry, here: http://scripttesting.com/phpfuel/index.php/characters
Comment by
Muts
May 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
Muts
Joined
February 2011
Visits
21
Last Active
January 2013
Roles
Member