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
Two doubts, hmvc and pagination
But probably only because it's the first call to get() ?
Comment by
WanWizard
August 2012
permalink
Two doubts, hmvc and pagination
No, not yet. There are some other structural changes we want to implement for 1.5, we want to implement those first before we start making code changes, to avoid all sorts of merge issues. So if you need it now, you'll have to deal with it you…
Comment by
WanWizard
August 2012
permalink
Session::key('session_id') returns false first time it is called
Short term the only solution I can think of is to write a custom Session driver. Take the one with the backend you want to use. In case of DB, copy it from core/classes/session/db.php to app/classes/session/db.php. Remove the namespace in your copy…
Comment by
WanWizard
October 2012
permalink
missing good tutorials and up to date code
I don't know. Ask the author of the tutorial?
Comment by
WanWizard
November 2012
permalink
Two doubts, hmvc and pagination
No, the Input class hydrates and (optionally) sanitizes the input on first use, later calls will not access the global anymore.
Comment by
WanWizard
August 2012
permalink
Browscap is closed.
That is bad news. I hope the project gets a restart. I'll have a look to see if we can include a version in the repo on the 1.4 release, so even not 100% up to date, you can still use the Agent class.
Comment by
WanWizard
November 2012
permalink
HMVC Request throws Warning
Neither do I, but I don't have access to your code. As a debug excercise, you can look inside the Fieldset class to where the error is generated, and before that, add a Debug::backtrace() and a die(), so you can see where the second call is co…
Comment by
WanWizard
October 2012
permalink
Two doubts, hmvc and pagination
You should be able to fetch those parameters using $this->param('fieldname'); As to your next question, most of the FuelPHP classes at the moment have a static interface, which means they work globally. Which is a bad idea for some …
Comment by
WanWizard
August 2012
permalink
Setting a URL in assets_folder does not change the base url of the assets as specified
The Theme class determines the asset location by using "asset_base" and "asset_folder", when constructing the theme definition. This results into "asset_path", which is passed to the Asset instance in set_theme(), not …
Comment by
WanWizard
November 2012
permalink
how to set attributes to an item or to each item in the Html::ul???
*** moved to general *** You can't. It's a helper to generate simple lists.
Comment by
WanWizard
November 2012
permalink
Session::key('session_id') returns false first time it is called
The original issue has been fixed a few hours ago, a new session is now setup when the session class loads. I don't know where that notice comes from, as far as I can see the 'created' index is always created in the keys array. The c…
Comment by
WanWizard
October 2012
permalink
File::download() keeps on giving :)
lol. If only all issues where this simple. Glad you've got it sorted!
Comment by
WanWizard
November 2012
permalink
Module controller in sub-directory
You have to include the module name in the URI: [url=http://localhost/fuelphp/public/metadata/metadata]http://localhost/fuelphp/public/metadata/metadata[/url] for the first controller, [url=http://localhost/fuelphp/public/metadata/metadata/schema]h…
Comment by
WanWizard
November 2012
permalink
File::download() keeps on giving :)
Sorry, I think this requires major debugging, I don't have a clue why this is happening...
Comment by
WanWizard
November 2012
permalink
FuelPHP Oil setup in Windows 7
"create" technically isn't part of oil, it's a feature of the bash loader, which only works on *unix, as stated in the docs. It relies on the git binary to clone the repository into a local installation, and on the php binary to…
Comment by
WanWizard
October 2012
permalink
Disabling sessions for API access?
That's what Auth::check() is supposed to do, restore the user context. It's the only way to maintain a session. Otherwise you would never be able to have a logged-in user, the user would be logged out again at the next request. I think …
Comment by
WanWizard
November 2012
permalink
File::download() keeps on giving :)
These URI's don't map to the actions, so I assume you have some custom routing in place? I don't see any reason why a call to action_email() would trigger a download. These are standard links in your view? Or are they triggered by an…
Comment by
WanWizard
November 2012
permalink
Oil create doesn't work?
Welcome here. There is only one version of oil, which is in the root of your fuelphp installation. For *nix operating systems there's a shell script that installs in the /usr/bin folder that allows you to run oil without prefixing it with the …
Comment by
WanWizard
July 2011
permalink
Disabling sessions for API access?
I'm not really sure what the issue is here. Logins don't have anything to do with what's in the session. Whether or not someone is logged in, a login will just overwrite whatever is in the session. SimpleAuth doesn't have any fe…
Comment by
WanWizard
November 2012
permalink
Migration issues on Pagoda Box - failing to save to fuel/app/config/production/
Sorry, no experience with Pagodabox + FuelPHP. Some with other apps, and I can't say very positive. We as a team are moving away from it, too much hassle and too expensive.
Comment by
WanWizard
November 2012
permalink
File::download() keeps on giving :)
I can't comment without seeing how you have implemented it, but these two functions should be different URL's. If not, it might be a browser cache issue.
Comment by
WanWizard
November 2012
permalink
TCPDF error
In a FuelPHP application you can't send data to the client like you would in a plain PHP application: set some headers, output data, exit. It will not work. If you want to send a file to the client, use the File::download() method.
Comment by
WanWizard
November 2012
permalink
Dompdf problem
I've been using tcpdf sofar, but I can't say I'm doing anything fancy. Generating business documents is pretty straight-forward.
Comment by
WanWizard
October 2012
permalink
Database class query builder
The original DB classes ( in FuelPHP 0.x ) were a port from Kohana, and have evolved a lot since then. However, there are quite a lot of shortcomings in the current classes, which are very hard to fix due to the way it's setup. So for 2.0 we…
Comment by
WanWizard
November 2012
permalink
Pagination and Routes
You can configure the pagination class through it's configuation: // set pagination information $pagination['current_page'] = $page; $pagination['per_page'] = 20; $pagination['num_links'] = 10; $pagination['…
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