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
The best pratices to integrate bootstrap admin panel in fuelphp
Cut the theme up in partials, create views for every partial, and optionally use the Theme class to construct a page (more flexible than the template controller). For our applications we've gone a step further, we have module controllers for ev…
Comment by
WanWizard
October 2017
permalink
can not access to custom header variable
If it is really SOAP, and not some simple XML, you need a SOAP library to work with it. PHP has an internal SOAPclient that works fine for the basics, but requires a lot of coding to work with it. Internally we use a customized version of https://gi…
Comment by
WanWizard
October 2017
permalink
Route to External Link
That should not be a problem I think, although I've never tried it. Install the index.php and the .htaccess file in your other_app folder, and make sure that index.php has the correct APPPATH, COREPATH etc set. Two apps can not share an app fol…
Comment by
WanWizard
October 2017
permalink
ORM Relationship Issue
Just rename your packages/orm folder, then do a git clone of git@github.com:fuel/orm.git in the packages directory, or download the zip from https://github.com/fuel/orm/archive/1.9/develop.zip and unpack it in the packages/orm directory. Once you…
Comment by
WanWizard
October 2017
permalink
can not access to custom header variable
It should simply ignore it I think. Input of type "application/soap+xml" should be parsed by the application, you can't expect Input to know every form of posted input. SOAP especially is in a class of it's own, certainly if it c…
Comment by
WanWizard
October 2017
permalink
Asset class doesn't return https:// URL
If you don't set a base_url, the base_url will be determined at runtime, from the request URL. There is no way of knowing or detecting that you want something else.
Comment by
WanWizard
October 2017
permalink
Asset class doesn't return https:// URL
Can you give an example of what you get, and what you want to get? Your post isn't entirely clear to me. Also, what is your asset configuration?
Comment by
WanWizard
October 2017
permalink
FileSystemLoader baseDir must be a directory: UTF-8
I feel very ashamed at the moment. Found this issue, a stupid copy and paste error, fixed here: https://github.com/fuel/parser/commit/765b4a2676f87d9b1e0ead524181563207a54e7d Sorry about this... :-(
Comment by
WanWizard
October 2017
permalink
Special structure (Multi apps) with assets
What asset url's are now generated, with your current config?
Comment by
WanWizard
October 2017
permalink
Special structure (Multi apps) with assets
That doesn't work if "404" is not defined as a route, default error routes can't be called this way (this is done on purpose). RewriteRule $ /apps/login/index.php/controllermame/404/ [L] should work, providing Controllername has …
Comment by
WanWizard
October 2017
permalink
Task | Run() | MultiTasking
Multitasking can only be done with a background queue processor, either with mutiple queue workers, or with a queue worker processing spawned tasks asynchronously. Any other solution will only run them sequentially. If that is sufficient, tasks are …
Comment by
WanWizard
October 2017
permalink
Special structure (Multi apps) with assets
lol, these things happen. Good you've got it sorted, thanks for the feedback. As always, there are more solutions to fix a problem. ;-)
Comment by
WanWizard
October 2017
permalink
Special structure (Multi apps) with assets
In a setup like this, you need:to point the DocumentRoot of your vhost to ./public (so you remove "public" from the path). have a fuel index.php + htaccess in each public/ folderto remove any fuel related files from your docrootFuel has be…
Comment by
WanWizard
October 2017
permalink
ORM Relationship Issue
Can you switch the fuel/packages/orm code to 1.9/dev (from https://github.com/fuel/orm/archive/1.9/develop.zip if you don't use composer) and see if you still have the issue?
Comment by
WanWizard
October 2017
permalink
ORM Relationship Issue
Which version of Fuel are you on?
Comment by
WanWizard
October 2017
permalink
Database_Result_Cached is missing 1.9-dev
Ah, that is definitely overlooked. Thanks for debugging it! Can you make an issue for this at https://github.com/fuel/core/issues ?
Comment by
WanWizard
October 2017
permalink
Input::extension() doesn't work in HMVC request
Please make an issue for it at https://github.com/fuel/core/issues so it can be looked at.
Comment by
WanWizard
October 2017
permalink
Error chmod storage file
You need to be file owner to be allowed to change attributes. So if you file is rw-rw-r-- for UserA and Group, and you are UserB and member of Group, you can read and write without problems, but you can't change attributes.
Comment by
WanWizard
October 2017
permalink
save image problem
Not sure why you use the Image class and it's transformation properties to simply save an uploaded image? The upload class does that very well without any help?
Comment by
WanWizard
October 2017
permalink
Form builder custom fields
You can extend the fieldset class, you can extend any Fuel class: https://fuelphp.com/docs/general/extending_core.html#/extend_and_replace You can also propose a change to the fieldset class via a github pull request, in which case we can add it to …
Comment by
WanWizard
September 2017
permalink
Form builder custom fields
The current fieldset - validation combo is a nightmare from a coding perspecfive. If it works, it works, but it's not very easy to make changes. For standard fields, you can use $form->add() / add_after() / add_before() in the controller to …
Comment by
WanWizard
September 2017
permalink
Route to External Link
Doesn't really matter, if it is a URL external to the Fuel App you'll have to redirect to it.
Comment by
WanWizard
September 2017
permalink
Route to External Link
You can not route to a URL, only to URI segments. But you can use a closure: 'my/external/route' => function() { \Response::redirect('https://google.com');},
Comment by
WanWizard
September 2017
permalink
Database_Result_Cached is missing 1.9-dev
Correct. It has been replaced by Database_PDO_Result and Database_PDO_Cached (for the PDO based drivers) and Database_MySQLi_Result and Database_MySQLi_Cached for the platform specific MySQLi driver (and other similar drivers). This evens the functi…
Comment by
WanWizard
September 2017
permalink
Input::extension() doesn't work in HMVC request
Ok, clear. This is logical, the URI to your Controller_Test is "/test/", it doesn't have an extension. It should have if you do return Request::forge('/test.abc', false)->execute(); Input isn't global, the default in…
Comment by
WanWizard
September 2017
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,366
Last Active
April 29
Roles
Administrator