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
Forum - Issues
Awilum wrote on Friday 17th of August 2012: When be ready a new forum? Whenever it's ready. We're now looking into data conversion for both user data and forum posts, which is quite a bit of work since we have to write converters for i…
Comment by
WanWizard
August 2012
permalink
Domain-aware routing?
Most of my apps only have some "helper" classes in app/classes, and generic 404 handling. Everything else is in modules.
Comment by
WanWizard
August 2012
permalink
Error with assets folders
You're on Windows? This issue is fixed in 1.3/develop, you can just backport the fix by copying fuel/core/classes/asset/instance.php from 1.3/develop to your core.
Comment by
WanWizard
August 2012
permalink
Response problem while using after() in a Controller
Nothing wrong with your English, and age doesn't matter. Some of us are very young, others are very old... The issue here is that your after() method recieves $response, which is NULL since your action_login() doesn't return anything. The…
Comment by
WanWizard
August 2012
permalink
Creating a new Module
Yes, standard PHP.
Comment by
WanWizard
August 2012
permalink
Forum - Issues
We're working on a new forum system at the moment.
Comment by
WanWizard
August 2012
permalink
Domain-aware routing?
The best option would be a URI "pre-treater", a class method which would get the current URI, and convert it to a format suitable to be processed by your application. You can call your method via the config key "security.uri_filter&q…
Comment by
WanWizard
August 2012
permalink
Documentation suggestion
We have a "vacancy" for the position of DocMaster, so currently nobody is overseeing it. The easiest at the moment is to fork the docs repo, make changes, and send a pull request which we can merge. When our Depot project goes live all do…
Comment by
WanWizard
August 2012
permalink
db type in /config/db.php
The documentation is in its own repository, fuel/docs. Make a fork on github, make your suggested changes, and send a pull request.
Comment by
WanWizard
August 2012
permalink
Returning 404 status when using Controller_Template
In your action method: return \Response::forge($this->template, 404);
Comment by
WanWizard
August 2012
permalink
Creating a new Module
By default no routing is needed, if the first URI segment matches a module, that module will be loaded. Some routing defaults: [url=http://website/pages]http://website/pages[/url] => will load \Pages::Controller_Pages, action_index() [url=http:…
Comment by
WanWizard
August 2012
permalink
Pretty Urls
Hello Sergey, If you have to use that URL then you haven't installed FuelPHP as per the recommendations, but you have installed everything inside your webservers docroot. The recommendation is to make the public folder your docroot, so everyth…
Comment by
WanWizard
August 2012
permalink
Database config file(s) vs the documentation
FuelPHP supports multiple environments, which are folders in the app/config directory. You should use these, and not modify config/db.php, which only contains some defaults. When an environment is loaded, config/db.php and config//db.php are merged…
Comment by
WanWizard
August 2012
permalink
Creating a new Module
what is "$this->output" ? A FuelPHP action method should return either a Reponse object, or something that can be cast to string (like a string, a View object, etc). In the last case FuelPHP will convert that in a Response object for y…
Comment by
WanWizard
August 2012
permalink
db type in /config/db.php
The formatting buttons don't work, so use the BBcode "[ code ]" (without spaces). mysql and mysqli are two different drivers, see php.net. mysqli is preferred over mysql.
Comment by
WanWizard
August 2012
permalink
Getting a 1.3 Fuel app working with composer for php Fog deployment
Don't mix up things. You're mentioning 1.3 and a list of 1.3 repo's, and 1.3 doesn't use composer. Composer is used for 2.0, and the legacy and static packages (which are in the fuelphp repo's, not in fuel) are 2.0 packages…
Comment by
WanWizard
August 2012
permalink
docs.fuelphp.com offline version
Why is it a hassle? Get the zip, toss it in a local docroot, off you go. 10 seconds. You're a developer right, so you must have a webserver handy (or PHP 5.4, which has a built-in one). The new docs will have a different format, I'll look…
Comment by
WanWizard
August 2012
permalink
problems authenticating with facebook
On Windows by any chance? If so, then the required stream wrapper isn't installed or enabled. Make sure you have this in your php.ini: extension=php_openssl.dll
Comment by
WanWizard
August 2012
permalink
MS SQL Stored Procedure Confusion
We don't have any Microsoft environment in the team, so it will be difficult for us to debug it. The DB layer uses standard PDO calls to run MSSQL queries, perhaps you can debug the PDO driver yourself and see what the issue might be?
Comment by
WanWizard
August 2012
permalink
MS SQL Stored Procedure Confusion
What does the profiler show you?
Comment by
WanWizard
August 2012
permalink
Error on "Call procedure"
Different types of queries are handled by different DB drivers, based on the type of query. But there is no driver for queries of type "CALL". So you have to force the query to be handled by the "SELECT" driver by specifying the…
Comment by
WanWizard
August 2012
permalink
DB Class with mysql - select from stored procedure
I think for unknown reasons the current DB drivers only free the result if the result was significant. They were ported from the Kohana framework, so I don't know why. Please create an issue for this on http://github.com/fuel/core/issues to ha…
Comment by
WanWizard
August 2011
permalink
Issues with built in Unit Tests and Base URL
You could, but I don't think we're going to spend any time on it. The focus is on 2.0 now, which will be completely unit tested, and we have to make sure we don't make any assumptions on the environment when we run them.
Comment by
WanWizard
August 2012
permalink
problems authenticating with facebook
I don't think this is the place you're get a reponse, as we are not the authors of the OAuth2 package. I don't know how old that tutorial is, but I know OAuth has changed quite a lot recently, perhaps that is the problem?
Comment by
WanWizard
August 2012
permalink
Issues with built in Unit Tests and Base URL
I don't think this is something to worry about. Most of the methods in the FuelPHP core can be influenced by configuration. And it looks like in some of the test teh configuration isn't set to a known value before running the tests, but d…
Comment by
WanWizard
August 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,374
Last Active
11:29AM
Roles
Administrator