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
Can't make first migration
There's a third party native pgsql driver available for FuelPHP: https://code.launchpad.net/~sakurai-yuta/+junk/fuel-native-pgsql I think it's even posted here in the "code share" forum...
Comment by
WanWizard
April 2012
permalink
"Error: Unable to read existing migrations" when trying to generate model/scaffold
The error is about the migrations.php config file, that can not be accessed for some reason. Which FuelPHP version are you on? I would suggest using 1.2RC1, which is a lot more stable than 1.1, and contains quite a few bugfixes and improvements in …
Comment by
WanWizard
May 2012
permalink
Can't make first migration
Of all the frameworks out there, you choose that one...
Comment by
WanWizard
April 2012
permalink
Error on create admin posts
1.1 had quite a few issues, I suggest you switch to 1.2RC1, which is very stable. Or wait a few days until 1.2 is released. Part of the admin code is generated, part comes from view templates in the package's views folder. You can copy them to…
Comment by
WanWizard
April 2012
permalink
Routes don't need to match exactly?
No. extensions are not relevant in a URI segment routed framework, making routing decisions based on the extension is not a good design. I can't think of any implementation where it would be logical to throw a 404 based on an extension. But if…
Comment by
WanWizard
May 2012
permalink
FuelPHP success story: the tale about Kohana's memory leak
Yes, FuelPHP's ORM is written from scratch by Jelmer.
Comment by
WanWizard
May 2012
permalink
FuelPHP and secure applications
From an application point of view different hostnames (or IP addresses). When I develop them, I just run them locally in two virtual hosts, and my frontend app has an environment config file where I can define the location of the backend (so I can …
Comment by
WanWizard
May 2012
permalink
Web site list -> Powered by fuelphp
It is the default session cookie name. It can be set in the app/config/session.php configuration file, but apparently most people can't be bothered changing it.
Comment by
WanWizard
April 2012
permalink
Errors during
Currently the installer installs whatever the active branch on github is. And that is always the latest develop, so at the moment it will install 1.2/develop. That is not the purpose of the installer, it should install the latest release. I have al…
Comment by
WanWizard
May 2012
permalink
FuelPHP success story: the tale about Kohana's memory leak
Possible, I can't really comment on that. It is unlikely that the issue is in your piece of code, as you are constantly re-using everything in your loop. Memory leaks are usually very difficult to find, especially if this is a background proce…
Comment by
WanWizard
May 2012
permalink
error related to i18n
That is weird, if the system locale is en_AU, it clearly must be installed. On some systems ( I'm on a Redhat OS, using "en_US" ), the locale is defined as "en_US.utf8". Maybe that is the case here as well. Do an "echo…
Comment by
WanWizard
January 2012
permalink
Getting the processed info rom uploaded file?
After save(), this information should be available in the info array, with the keys 'saved_to' and 'saved_as'. The file info itself is unchanged so you have access to the original details as they were uploaded. You need this for…
Comment by
WanWizard
May 2012
permalink
FuelPHP and secure applications
As far as the framework is concerned, we have taken every precaution to make it as secure as possible. And security is constantly reviewed. Our Auth package has even been checked for flaws by an external security firm, even for complicated hacks li…
Comment by
WanWizard
May 2012
permalink
Routes don't need to match exactly?
If you use a dot in the URL, everything after the dot will be considered the URL extension (like .html) and will be stripped by FuelPHP. So "http://mysite/about.stuff" is actually "http://mysite/about" with the extension…
Comment by
WanWizard
May 2012
permalink
FuelPHP success story: the tale about Kohana's memory leak
Although flattered I don't think this is going to be a quick fix for your problem. Zombor is actually right that the DB layer of FuelPHP 1.x is mainly the same as Kohana's. But the ORM is different, and so is the rest of the framework. A…
Comment by
WanWizard
May 2012
permalink
Asset::css attribute override
This is an issue in the 1.1 release which was fixed on 2012-01-03. So either switch to 1.1/develop (if you're using git), install it manually, or wait a few days for the 1.2 release.
Comment by
WanWizard
May 2011
permalink
dynamic view loader (or something like that)?
You are sure that "mycontroller/mymethod/parms" doesn't also route to this controller you created? HMVC requests are identical to normal requests, meaning their request URI is processed by the routing engine just like a normal browse…
Comment by
WanWizard
April 2012
permalink
How to restrict access to controllers which have not specified in routes.php ???
Like with all question, the answer is: it depends. The quickest way is to end your route definitions with a catch-all: "(:any)" => ...". And either route that to a 404 controller of some sort, or assign a closure that throws a Htt…
Comment by
WanWizard
May 2012
permalink
Where condition on related table
Search for that, this has been answered numerous times. An ORM is not a query builder. Which means in a relation hierarchy a limit() doesn't limit on rows, it limits on resultsets, where it will make sure the resultsets are complete and consis…
Comment by
WanWizard
May 2012
permalink
Errors during
1.1/master is the 1.1 release version, 1.1 is the latest development branch. 1.1/develop is now frozen, 1.2/develop is used to prepare for a new 1.2/master, which will some be released as FuelPHP v1.2. Once that is done we will move to 1.3/develop,…
Comment by
WanWizard
May 2012
permalink
no layout class
You can install 1.1/develop directly from github, either through cloning the repositories using the procedure in the docs or the instructions in the readme, or by downloading the zip files. Note that both app, core and all packages have to be the s…
Comment by
WanWizard
May 2012
permalink
Errors during
Bad timing I'm afraid. The installation script does a 'git clone' from the default repository. We're currrently preparing the release of v1.2, and a new 1.2/develop repository has just been make in preparation for that. You clon…
Comment by
WanWizard
May 2012
permalink
Where condition on related table
Eh? Articles is your main model, why prefix it? You asked the question about related models, articles is not a related model. where('title', 'like', ...) should do just fine. You only need the prefix for "author.name" …
Comment by
WanWizard
May 2012
permalink
How to manage an oil generated app with GIT
It depends a bit what you want, because there are a lot of options. The only repository that is relevant for you is fuel/fuel, as this is where your application will like. All others are git submodules, and I would leave them like that so you can e…
Comment by
WanWizard
May 2012
permalink
Where condition on related table
Like all other items that have a notion of hierarchy, ORM also uses dot-notation: ->or_where('author.name', 'like', $search)
Comment by
WanWizard
May 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,408
Last Active
9:55AM
Roles
Administrator