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
Problem with Routes.php
What do you mean by "the controller 'website' is prepended to every controller/action combination I refer to"?
Comment by
WanWizard
June 2013
permalink
Problem with Netbeans and FuelPHP 1.6
I don't use Netbeans, and I've never heard of that plugin. But it looks like it needs to be updated so that it runs Composer after the full copy.
Comment by
WanWizard
June 2013
permalink
OAuth
It works fine here with github and facebook. I will see if I can find the time to test Instagram.
Comment by
WanWizard
June 2013
permalink
SOAP Web Service
Is there anyone still using SOAP? ;-)
Comment by
WanWizard
June 2013
permalink
OAuth
You did install both the Opauth package, and the Opauth Instagram driver through composer? What does your auth controller look like? You can use http://bin.fuelphp.com as paste bin... The example in the docs is one-on-one taken from one of our wor…
Comment by
WanWizard
June 2013
permalink
OAuth
I haven't tested the Opauth instagram driver, but I checked the code, and it works similar to the facebook driver, which I have tested and which works fine. It's the internal driver that intercepts the callback URL, and sets up the OAuth …
Comment by
WanWizard
June 2013
permalink
Access optimization betwen Config and ORM related
It all depends on your requirements, so it's not easy to give an answer. It would definitely opt for the database. If performance is an issue, it's easy enough to cache it, either to files (which would make it equal to config in terms of …
Comment by
WanWizard
June 2013
permalink
OAuth
What OAuth implementation?
Comment by
WanWizard
June 2013
permalink
Packages using Composer
Processing the composer.json is recursive. First, it will process the main json file in the project root, and install every dependency listed in there. For every dependency installed, it will check after installation if it contains a json file too.…
Comment by
WanWizard
June 2013
permalink
Packages using Composer
In the current Fuel design you can not have a composer.json file in a Fuel Package, since the package is not composer compatible. If the package was installed through composer, it would pick up the json file in the package and install any dependenc…
Comment by
WanWizard
June 2013
permalink
Packages using Composer
All Composer libraries are installed in the same vendor folder. I'm pretty sure Composer is smart enough to detect it already has the library and will not download it again.
Comment by
WanWizard
June 2013
permalink
Can not create a user 'unknown column group_id'
That is what this report is about. You have the option to: - apply the fix manually - switch to 1.7/develop - wait for 1.6.2 to be released
Comment by
WanWizard
June 2013
permalink
Markdown issues
I don't know how you display the rendered markdown output, but if you pass it to a View, by default it will be encoded. This will cause the HTML to be displayed instead of rendered.
Comment by
WanWizard
June 2013
permalink
ErrorException [ Error ]: Class 'Error' not found
Pear packages are usually not installed through composer. What exactly did you install? I think whatever you did broke the Fuel autoloader.
Comment by
WanWizard
June 2013
permalink
LSB bug? Or when can I use ORM models in init process 1.5.x
I don't see why or where that would create an endless loop. Forge returns a new model object, that's what it does. There is no way it will call forge() again.
Comment by
WanWizard
June 2013
permalink
What happens between Fuel\Core\Request::execute End and End of Fuel Execution?
finish() is called by the shutdown event, which is triggered after everything has been processed. The request is executed in your index.php, line 49 (in 1.7). Everything between that line and the end of your index.php is executed between "exec…
Comment by
WanWizard
June 2013
permalink
how best to typecast bool before database entry using fieldsets
if it's not allowed to be null, you also have to define a 'default' value for the property, which the typing observer will assign if the value is null.
Comment by
WanWizard
June 2013
permalink
LSB bug? Or when can I use ORM models in init process 1.5.x
what does find_all() do? That is not an ORM method....
Comment by
WanWizard
June 2013
permalink
PHP error from DB::query()
I think in 1.5.3 there was a bug in the connect attempt loop. You should get an exception. It basically means you don't have a database connection there.
Comment by
WanWizard
June 2013
permalink
Problem with Netbeans and FuelPHP 1.6
Have you changed the default folder structure? When you upgraded, did you also upgrade the app itself (in particular the oil script in the root, and the public/index.php)?
Comment by
WanWizard
June 2013
permalink
Set and get variables using theme templates
Same way as with the template: $this->theme->get_partial('header')->set('title', 'My title');
Comment by
WanWizard
June 2013
permalink
Set and get variables using theme templates
There are no stupid questions, just stupid answers. ;-) The View object has a get() method too, so you can do $title = $this->theme->get_template()->get('title', 'not-set'); This does mean you need to have access to $th…
Comment by
WanWizard
June 2013
permalink
Unescaping whole ORM object.
You're passing objects, and objects are always passed by reference in PHP. In this case, every variable containing an Event object with a specific primary key will point to the same object. So if one is modified, so are all others.
Comment by
WanWizard
June 2013
permalink
Autoload
They serve two different purposes. /app/bootstrap initializes the framework, sets the environment the framework has to run in, and allows you to define classes that extend of replace core components. always_load in the config allows your applicati…
Comment by
WanWizard
June 2013
permalink
Unescaping whole ORM object.
global? It looks like you should swich to the template controller, and use your layout view as the template. Are you accessing $event in the content view itself, or are you passing it on to other views?
Comment by
WanWizard
June 2013
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,368
Last Active
4:01PM
Roles
Administrator