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
Problem with PostgreSQL >= v 1.8.1
Hmm... That should still work, that was wat that last commit was about. Does that mean your MySQL test will also fail when you disable the cache? When you process the result. with cache false, one record is fetched from the result for every request …
Comment by
WanWizard
July 2018
permalink
fuelphp 1.8.1 error : hex2bin() only expects hexadecimal characters
The cipherkey is a hexadecimal string, what gave you the idea that your value would work?
Comment by
WanWizard
July 2018
permalink
Configuration error
That is easy to test. Make a typo in your htaccess file, if the server responds with a 500 error, it processes your htaccess. If it doesn't, it's time to contact 1and1.
Comment by
WanWizard
July 2018
permalink
fuelphp 1.8.1 error : hex2bin() only expects hexadecimal characters
Odd. Do you have the correct versions of everything? You updated the composer files in your app as well, and ran a "composer update"? I can't reproduce it: [wanwizard@catwoman] $ php -aInteractive shell php > require('/var/www…
Comment by
WanWizard
July 2018
permalink
Problem with PostgreSQL >= v 1.8.1
What object does execute() return? I don't understand why this can happen, PDO is PDO, there is no RDBMS specific code in the PDO driver, and PDO does the abstaction, all the driver does is do a PDO Fetch, which is the same for both PostgreSQL …
Comment by
WanWizard
July 2018
permalink
Problem with PostgreSQL >= v 1.8.1
The only relevant commit in that period is https://github.com/fuel/core/commit/cd46fc6e4904354ecd2ab32ea6e2aaee15ab5027 I assume you're using the standard PDO driver? I don't have PostgreSQL handy at the moment, but I can test with MariaDB…
Comment by
WanWizard
July 2018
permalink
Configuration error
Then your rewriting doesn't work. Does you webserver have URL rewriting enabled?Have you installed Fuel correctly (with the public folder being the website root)?Does that folder have the correct .htaccess?Is your webserver configured to proces…
Comment by
WanWizard
July 2018
permalink
Problem with Auth Class
Your crypt.php config is not correct or empty.
Comment by
WanWizard
July 2018
permalink
Configuration error
Check the virtualhost log, I assume 1and1 makes those avaialble? Most likely there is something in the htaccess file that isn't supported, altough I won't immediately know what, we went through great lengths to make that as compatible as p…
Comment by
WanWizard
July 2018
permalink
Regarding modules
It doesn't have to, it is entirely up to you. If you're not to bothered with re-use and dependencies, who cares?
Comment by
WanWizard
July 2018
permalink
Regarding modules
The same remark applies. If you want to "modularize" your application/backend code, use packages, not modules. Only use modules for your frontend code, so controllers, views, and everything else that needs to be contained by that module. H…
Comment by
WanWizard
July 2018
permalink
About FuelPHP v2
They will be introduced gradually.
Comment by
WanWizard
July 2018
permalink
Warning showed when property is null
a NULL value is already captured: https://github.com/fuel/core/blob/1.8/master/classes/security.php#L216
Comment by
WanWizard
July 2018
permalink
Model not update twice
Also with an HMVC call to a controller I can not reproduce it.
Comment by
WanWizard
July 2018
permalink
Model not update twice
I've done all my tests using a test, as you asked. But I now see that you have a task that calls a controller, although I don't see how that should make a difference, I'll see if I can try this later. What I do wonder, what is the mea…
Comment by
WanWizard
July 2018
permalink
Edit values in config file
It doesn't matter. Files in app/config are global, for all environments, and can't be written to. Files in app/config/ are specific to that environment, and can be written to. If a config file exists in both, the will be merged when read, …
Comment by
WanWizard
June 2018
permalink
Model not update twice
Tried it also by creating new related objects: $a = \Model_TestA::find(1);$a->testb = \Model_TestB::forge(['name' => \Str::random());$a->save();$a->testb = \Model_TestB::forge(['name' => \Str::random());$a->save…
Comment by
WanWizard
June 2018
permalink
Model not update twice
What exactly do those static methods do? When I change my test code to: $a = \Model_TestA::find(1);$a->testb = \Model_TestB::find(1);$a->save();$a->testb = \Model_TestB::find(2);$a->save();$a->testb = \Model_TestB::find(3);$a->save…
Comment by
WanWizard
June 2018
permalink
About FuelPHP v2
FuelPHP v2 as such does not exist. It has been a trial run to try out different routes and possible framework components. It is not production ready, it isn't even test ready. As of the beginning of the year, Fuel development has been taken ove…
Comment by
WanWizard
June 2018
permalink
Model not update twice
Just to be sure I understand it: So "state" is a foreign key to a related table, and your issue is that the foreign key isn't updated if you change the related object and you save the parent, correct? Are you completely up to date wit…
Comment by
WanWizard
June 2018
permalink
Model not update twice
That means that if you simply do this in a task: $node->state = 2;$node->save();$node->state = 3;$node->save();$node->state = 4;$node->save(); it will fail too? If so I can not reproduce it, it works fine here, I end up with 4 in t…
Comment by
WanWizard
June 2018
permalink
Regarding modules
You should never call other modules like that, that will create a tight coupling between the two, and makes it no longer modules. Further more, modules are frontend code (controllers, models, views), support classes should go into a package (which c…
Comment by
WanWizard
June 2018
permalink
Setting a value for PK
Thanks for the feedback!
Comment by
WanWizard
June 2018
permalink
Does Fuel still use phpseclib besides for legacy (en/de)cryption in Fuel v1.8.1+?
Release docs haven't been updated online yet, so see https://fuelphp.com/dev-docs/classes/crypt/config.html And no, it is not supposed to do that, but without a backtrace it's difficult to pinpoint a cause.
Comment by
WanWizard
June 2018
permalink
Setting a value for PK
Let me know if this works for you, then I can push it to the release.
Comment by
WanWizard
June 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,366
Last Active
11:56AM
Roles
Administrator