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
Undefined index: id
I don't really see any issue with the relation defintiion. Is the problem specific to this relation? Or does it also happen with other relations? Do you have details about the erorr? Can you post the info from the error, such as class and line,…
Comment by
WanWizard
July 2020
permalink
Undefined index: id
I assume your "order class" is \\Invoice\\Model_Order? In both models, the 'id' column is defined in $_properties?
Comment by
WanWizard
July 2020
permalink
Undefined index: id
How is the related defined on the other side, in Model_Product? Also, do both models have an "id" column, and is that column defined as auto_increment?
Comment by
WanWizard
July 2020
permalink
Regarding DB connection
Define what you mean by "singleton"? If you mean a persistent connection, you can configure that, see http://docs.fuelphp.com/classes/database/introduction.html#/configuration, just set "persistent" to true.
Comment by
WanWizard
June 2020
permalink
Pagination summary
Our posts crossed... ;)
Comment by
WanWizard
June 2020
permalink
Pagination summary
Assuming $pagination is your pagination object: First row: $pagination->offset; Last row: $pagination->offset + $pagination->per_page - 1;Total rows: $pagination->total_items; That should do it. And if you use the static interface and t…
Comment by
WanWizard
June 2020
permalink
Pagination summary
You have the start row, the number of entries, and the total (as they are all input for Pagination). So you can add that to your view without any problems? It is not really pagination itself, as all that does is generate the pagination navigation …
Comment by
WanWizard
June 2020
permalink
\Security::check_token() give me alwasy false
Security tokens use a cookie. You don't have cookies on the commandline.
Comment by
WanWizard
June 2020
permalink
Page builder for fuel
I don't see why not (by having a quick look at the Laravel integration package). Probably as a module given the fact it is frontend stuff.
Comment by
WanWizard
May 2020
permalink
Future of the framework
We have the fuelphp.org domain available, which was planned for Fuel v2. It runs on Pyro as well (it's one multisite installation), but with a different and brighter theme, while keeping the Fuel purple... I've disabled maintenance mode so…
Comment by
WanWizard
May 2020
permalink
Future of the framework
I can only speak from experience. I am active in several projects, and all of them have difficulties finding people, and holding on to them. I am not talking about occasional contributors (which you need to, absolutely), but team members willing t…
Comment by
WanWizard
May 2020
permalink
Future of the framework
We (as in Fuel) are not free of idea's either, but it all boils down to time, or lack thereof. And unlike 10-15 years ago, there doesn't seem to be much appitite amongst developers to spend many hours a week working on an open source produ…
Comment by
WanWizard
May 2020
permalink
Debugging FuelPHP scripts using Netbeans and XDebug
Perhaps also report that you are or work for CodeLobster, so it is clear for the reader this is a commercial post?
Comment by
WanWizard
April 2020
permalink
How set default value for from_cache ?
ORM cache has nothing to do with DB operations? So if $thisIsCached2 = MUsers::find(13); doesn't give you a full record, you've done an ORM query on this record before with a select (which as you see is a bad thing when using the ORM). In …
Comment by
WanWizard
April 2020
permalink
A few questions regarding
By default, Fieldset uses the form.php config file for the form generation templates. They are documented here: https://fuelphp.com/docs/classes/fieldset/fieldset.html#/form_attributes Alternatively, you can pass a config array to Fieldset::forge(),…
Comment by
WanWizard
April 2020
permalink
Upgrade from 1.7 to 1.8 - Memory Error!
I have no idea what you are doing, but that code is part of multipart/form processing, which is not related to uploading a file. Never seen anything like this.
Comment by
WanWizard
April 2020
permalink
redis cache
Like for databases, redis backends are defined in db.php, using a database name, with these array options: https://fuelphp.com/docs/classes/redis.html#/configuration
Comment by
WanWizard
April 2020
permalink
Fuel root page error after update to 1.8.2 and PHP 7.4.4
Yes. So we will maintain it, if only for ourselfs. Some of these applications are pretty large and complex, and have been in production since 2012, for our clients, there is no business case to spend a fortune to rewrite them. p.s. most of our apps …
Comment by
WanWizard
March 2020
permalink
Fuel root page error after update to 1.8.2 and PHP 7.4.4
Have your tried another browser than Chrome? If I google the error I see a ton of people with this issue, for all sorts of reasons. I've never seen it before myself.
Comment by
WanWizard
March 2020
permalink
After upgrade from 1.3 to 1.8.2, Getting exception for Model save()
And try swapping to 1.9/develop for at least fuel/core and fuel/orm, and see if you still have the problem, as it could have been fixed in the mean time (but not formally released yet).
Comment by
WanWizard
March 2020
permalink
After upgrade from 1.3 to 1.8.2, Getting exception for Model save()
And what is the exact error message?
Comment by
WanWizard
March 2020
permalink
User Interface for Ormauth groups
I understand that, but that should not be relevant. If you have a group or role "HR", to which the permissions for all HR staff are assigned, that either a user works for HR, or doesn't. If at the point of user->group/role assignme…
Comment by
WanWizard
March 2020
permalink
User Interface for Ormauth groups
It depends a bit on your use case, but in most cases, permissions are there to be tested in the code. Which implies that the list of possible permissions are fixed, created as the code is written. We add permissions as lang-strings using migrations,…
Comment by
WanWizard
March 2020
permalink
ORM updates with INT data type
Any feedback?
Comment by
WanWizard
March 2020
permalink
ORM updates with INT data type
This should do it: https://github.com/fuel/orm/commit/fdd84cb31e4d6153122f29ade772166f4bd832b8
Comment by
WanWizard
March 2020
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,373
Last Active
6:36PM
Roles
Administrator