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
php 8.1
Thanks, merged. Looks like an issue caused by a change in order of execution, in turn caused by a misplaced bracket.
Comment by
WanWizard
August 2022
permalink
Fieldset Validation issue
Good you've got it sorted !
Comment by
WanWizard
May 2022
permalink
php 8.1
Pushed a fix for the Serializable deprecation warning.
Comment by
WanWizard
May 2022
permalink
php 8.1
I'll have a look at Serialize. I have no experience with Redis, so you'll have to look into why you get an "Unknown Response"
Comment by
WanWizard
May 2022
permalink
Fieldset Validation issue
Your fieldset looks exactly like how I would do it, I don't see any issue with it. e($form->validation()->error()) won't work, becasuse error() returns an array, not a string, even if there is only one error message. So you need to i…
Comment by
WanWizard
May 2022
permalink
php 8.1
I notice btw that the most issues are in the app itself, mainly string function deprecations like no longer being allowed to pass NULL.
Comment by
WanWizard
May 2022
permalink
php 8.1
I've added some initial changes to support PHP 8.1 I've switched the app I'm currently working on to the latest 8.1, and as far as I've been able to test it, it runs fine (except some issues with installed 3rd-party package that …
Comment by
WanWizard
May 2022
permalink
php 8.1
When I have time to look into it, or someone else contributes. What exactly is the problem you run into?
Comment by
WanWizard
May 2022
permalink
Upgrading Fuelphp from 1.3 to 1.8.2 - Two Issues
Difficult to comment without knowing exactly what you do. You need to debug your code, and see what goes wrong and fix any compatibility issues when upgrading the framework. Changing the framework to adapt to your (now) incorrect code is the wrong w…
Comment by
WanWizard
April 2022
permalink
Upgrading Fuelphp from 1.3 to 1.8.2 - Two Issues
You're making a large leap in versions, I can't comment on what the code does. I've never seen an ORM object with fields mssing, unless select() is used (which should be avoided), and in that case it should be missing from both _data …
Comment by
WanWizard
April 2022
permalink
Upgrading Fuelphp from 1.3 to 1.8.2 - Two Issues
$query->where($pk, '=', $this->_original[$pk]);So I changed it to old $query->where($pk, '=', $this->_data[$pk]); Doing this is dangerous, as you don't take the retrieved value, but the possibly updated one. Besi…
Comment by
WanWizard
April 2022
permalink
php 8.1
I will. It's been delayed a bit, due a late bug report with a BC issue that needs looking into, and me being quite unwell atm...
Comment by
WanWizard
January 2022
permalink
php 8.1
Looks great, only... the logo... here's the correct one, on a white background: http://fuelphp.org/addons/fuelphp_org/themes/fuelphp/img/fuel_logo_light.png
Comment by
WanWizard
January 2022
permalink
php 8.1
Ok, will do. I will try to complete it over the weekend.
Comment by
WanWizard
January 2022
permalink
php 8.1
I've started on the preparations. I'm going to ditch all the different branches, and create a "develop" and a "release" branch, using tags to identify the release versions.
Comment by
WanWizard
January 2022
permalink
php 8.1
We're not at 1.99 yet, so not too bothered about the version number ;). I haven't had time to look at PHP 8.1 in detail, all our apps run on PHP 8.0 (and 1.9-dev). All help is welcome, but breaking backward compatibility is a bad idea, s…
Comment by
WanWizard
January 2022
permalink
Run module migration
Afaik there is no provision for per-module databases. I wonder, if you say the name of the database is determined "at runtime", how a commandline migrate should determine it? If only because it doesn't have a session. We only maintain…
Comment by
WanWizard
December 2021
permalink
php 8.1
Yes, but no timing, haven't had time to look at it yet.
Comment by
WanWizard
November 2021
permalink
[bug?] FTP class '$ftp->close();'
That should also work, but is less efficient. And in that case it would be best to forge the object at the beginning of your code so you can reuse the object, and connect and close outside of your try/catch code so the connection is always closed.
Comment by
WanWizard
November 2021
permalink
[bug?] FTP class '$ftp->close();'
I don't understand what you mean with "the process does not end there". FTP is an interactief protocol (like SNMP, POP3, IMAP, etc), to which you issue commands to do things. This is also why FTP has a control and a data port, so you …
Comment by
WanWizard
November 2021
permalink
Fixed bugs "Fuel requires Sodium support in PHP. Either use PHP 7.2+ ... paragonie.php on 33
Update to 1.9-dev. Still haven't gotten around to tagging it with a 1.8.x release.
Comment by
WanWizard
September 2021
permalink
Question about Form::select
No, It expects a key->value array, with provides the value and the display text of the option tag. I've looked at the code, but haven't seen a way to easily implement this, without seriously breaking the API.
Comment by
WanWizard
September 2021
permalink
Rest Delete throwing array_merge() error?
You might want to upgrade to 1.9-dev, it looks like this is already adressed. I'll try to create a 1.8.3 release soon with the latest fixes.
Comment by
WanWizard
August 2021
permalink
Rest Delete throwing array_merge() error?
I'll have a look.
Comment by
WanWizard
August 2021
permalink
CSRF token
No. You can check ./fuel/core/config, those config files contain the defaults which will be merged with our apps config files. So if you don't specify them, the value from the core config file will be used.
Comment by
WanWizard
August 2021
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,366
Last Active
11:56AM
Roles
Administrator