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
Observer_Typing ignores selected fields
See my answer to your other question. The ORM doesn't support making a sub-selection of columns, it interferes with the mapping part of ORM. However, this being Fuel you can if you want to, but you have to know it's restrictions and side-e…
Comment by
WanWizard
November 2018
permalink
static::query() doesn't support column/field alias?
With a column alias you mean "SELECT a AS b"? Remember that the ORM is not a query builder, if you omit columns from the result, or worse, rename columns, the result is unpredictable as when it hydrates the raw result it won't be able…
Comment by
WanWizard
November 2018
permalink
Dynamic 404 route
There is only one route table, so you can't have unique per-module routes. What should be possible is to have a per-module base controller (one that all controllers in that module extend), and in its constructor replace the _404_ route in the r…
Comment by
WanWizard
November 2018
permalink
Config Groups
Don't think it is a bug as dotted-notation support was added to Lang at a later date. I just think it was never implemented for Config as well, the API also grew apart over the years, for some reason the $reload and $overwrite are swapped in t…
Comment by
WanWizard
November 2018
permalink
Session Issue
Thanks for the kudos, we do our best. ;-)
Comment by
WanWizard
November 2018
permalink
Session Issue
> Is there any reason why fuel/core 1.8.1 would cause mysqli to break like that when the 1.8.0 branches work fine? No clue, I've switched a few of our apps (which al run on develop code, we eat our dogfood ;-) from PDO to mysqli, but I don&…
Comment by
WanWizard
November 2018
permalink
Session Issue
When you have caching disabled, the mysql result object is passed on to a Database result object, and data is fetched as you iterate over the result, and is only freed when all results are processed or the result object is destroyed. This takes les…
Comment by
WanWizard
November 2018
permalink
Session Issue
If I read the MySQL docs correctly, this error means a query is executed before the previous result is used and/or freed. Which suggests the result object doesn't free the result properly in all cases. Which result objects do you use, cached on…
Comment by
WanWizard
November 2018
permalink
Session Issue
Can you switch the database type from "mysqli" to "mysql" in your db.php (which uses PDO), does the error still appear?
Comment by
WanWizard
November 2018
permalink
once again on v2
Yes. And no worries, that is not the same site, not even the same server. They also do managed hosting, and these pages (you'll also find php55, php56, and so on) drive the automatic versioning system of http://phpversions.info/, which indicat…
Comment by
WanWizard
November 2018
permalink
once again on v2
PSR-4 is being worked on at the moment, the first set of code updates where committed to the develop branches (not 1.9-dev) some time ago, but it is not ready yet. Once it is, we'll ditch the non-standard branch names, and us it as the basis fo…
Comment by
WanWizard
November 2018
permalink
once again on v2
There are no immediate plans. Since the beginning of the year, Fuel has been taken over by our long term sponsor, FlexCoders Ltd, a London based development company. This was done to secure the long term support, as due to poor health we couldn…
Comment by
WanWizard
November 2018
permalink
Find freelancer to extend a website developed in FuelPhp
Any indication of rate? We take on project work, but we charge UK rates, which might be outside your budget.
Comment by
WanWizard
October 2018
permalink
Bug in ErrorHandler
;-) These things happen...
Comment by
WanWizard
October 2018
permalink
I found a bug on DB class
Doesn't really matter what the string is. The point remains DB::query() executes whatever string you pass it as-is, it doesn't modify the SQL you pass it, What is possible, is that it doesn't detect it as a SELECT query, so you may h…
Comment by
WanWizard
October 2018
permalink
I found a bug on DB class
So you're passing a query in a string? Fuel doesn't do anything to a hardcoded query (like adding brackets for example), so what is exactly the problem?
Comment by
WanWizard
October 2018
permalink
I found a bug on DB class
What code do you use to construct this query?
Comment by
WanWizard
October 2018
permalink
2002 - SQLSTATE[HY000] [2002] in ./fuel/core/classes/database/pdo/connection.php on line 109
The message means that you run your database locally, connect to it via a socket, but the socket file could not be found. That could be wrong environment ( = not working db config ), database not running, wrong php.ini (some server setups have multi…
Comment by
WanWizard
October 2018
permalink
2002 - SQLSTATE[HY000] [2002] in ./fuel/core/classes/database/pdo/connection.php on line 109
Sounds like it was run in the wrong environment, and couldn't find the database connection?
Comment by
WanWizard
October 2018
permalink
Why ignore git management in "/fuel/app/config/crypt.php"?
If you have multiple servers in a horizontal scaling scenario, you need to make sure ALL config is the same, not only this file. That is your responsibility, not that of the framework. The git configuration of the repo's is created for developm…
Comment by
WanWizard
October 2018
permalink
Bug in QueryBuilder
Addressed here: https://github.com/fuel/core/commit/d6e3b00eef166b25dd5ddc1e7708e5d8b927e2de
Comment by
WanWizard
October 2018
permalink
Bug in QueryBuilder
It shouldn't return false, the PDO driver sets the error mode to PDO::ERRMODE_EXCEPTION to throw exceptions on errors instead of silently fail. Did you override the PDO attributes in your config?
Comment by
WanWizard
October 2018
permalink
Bug in QueryBuilder
Sounds like something isn't completely up to date? All our apps run on 1.9-dev, and none have this in the log. edit: Following the code it is possible that $result is a boolean there if PDO::query() returns false, i.e. if your INSERT statement …
Comment by
WanWizard
October 2018
permalink
Scaffolding/Admin in a Module
Can you create an issue for it at https://github.com/fuel/oil/issues so the request doesn't get lost?
Comment by
WanWizard
September 2018
permalink
Scaffolding/Admin in a Module
I don't think there is module support for those, only for the indiviual types.
Comment by
WanWizard
September 2018
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,365
Last Active
April 26
Roles
Administrator