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
issues with using latest Opauth
I haven't had a look at the changes, but since they say "not backward compatible" it means the Fuel code will need to change.
Comment by
WanWizard
June 2014
permalink
Fuelphp 2.0 update problem
Possible, what should it be then (I have no time to test at the moment).
Comment by
WanWizard
June 2014
permalink
Fuelphp 2.0 update problem
I think github creates the zip on the fly from the repository, so it should be up to date. There've been a lot of changes last week, so it could be something is broken, since the notion of "application" has been ditched, which not o…
Comment by
WanWizard
June 2014
permalink
issues with using latest Opauth
See https://github.com/opauth/opauth/tree/1.0: "1.0.x is currently under preview release and not to be used for production yet. See release notes for details. Opauth API and functionalities are fully ready for evaluation. Please try it out and…
Comment by
WanWizard
June 2014
permalink
hash_password function on C#
This is the PHP code that is used: https://github.com/fuel/core/blob/1.8/develop/vendor/phpseclib/Crypt/Hash.php#L360 Perhaps that gives some pointers?
Comment by
WanWizard
June 2014
permalink
Fuel\Core\FuelException [ Error ]:
Thanks!
Comment by
WanWizard
June 2014
permalink
Fuelphp 2.0 update problem
It looks like it doesn't want to look in github for some reason, it only checks packagist (which i don't think has a copy). I've seen it one or twice as well, don't know why this happens. You could try running it with "-dev…
Comment by
WanWizard
June 2014
permalink
Fuel\Core\FuelException [ Error ]:
It still means that all file data you get from the OS will contain backslashes, so you're not completly out of the woods by just using the forward slash in your code. This means another screening of the oil codebase is needed, not looking forw…
Comment by
WanWizard
June 2014
permalink
Fuel\Core\FuelException [ Error ]:
Are you on an older version of Fuel? Not to long ago a lot of effort was put into dealing with the stupid Windows backslashes... Can you try switching to the oil package from 1.8/develop, and see if that still generates incorrect code, before I s…
Comment by
WanWizard
June 2014
permalink
What might cause an “ErrorException [ Error ]: Class 'Error' not found”?
:-) Glad to be of help, happy coding!
Comment by
WanWizard
June 2014
permalink
Fuel\Core\FuelException [ Error ]:
If it work locally, I can only assume that the Fuel side of things is ok. Maybe a problem with syncing the files to the live site, or a rights issue (the webserver on the live site can't read the files)?
Comment by
WanWizard
June 2014
permalink
I think Theme has wrong order.
It will never look at file number 2, and it was designed that way, standard views !== theme views. Why would you want to mix them? You as a developer are in full control, so you can make sure they are in the correct location? If you insist on usin…
Comment by
WanWizard
June 2014
permalink
I think Theme has wrong order.
The theme class always loads from the themes folder, it never loads from the views folder. Even if you configure it to use modules, it will load from a themes folder inside the module. Theme views are completely separated from normal views.
Comment by
WanWizard
June 2014
permalink
Various Views within a Controller Mysteriously Throwing 404's
Alternatively you can make the parameter optional: action_d($param = null) and then it would work too.
Comment by
WanWizard
June 2014
permalink
"Helper" functions for use in apps
A static class method, like Helper::test(), should always work, as long as the class is defined in the correct file. In this case, APPPATH.'classes/helper.php'.
Comment by
WanWizard
June 2014
permalink
What might cause an “ErrorException [ Error ]: Class 'Error' not found”?
Sometimes when in the error handler the PHP autoloader refuses to work. It's a bug in specific PHP versions. Which Fuel version are you using? We've tried to find some workarounds for this issue, not sure if they are in 1.7.1 or i 1.8/de…
Comment by
WanWizard
May 2014
permalink
Fuelphp 2.0
Retired? You make me very jealous! Thanks for the offer. As soon as the new docs system is up and running, I'll ping you.
Comment by
WanWizard
May 2014
permalink
Fuelphp 2.0
Fuel is a community driven framework, which means it's direction can be controlled by the community, but it also means contributions all come from the community, and depend on free time available. Most other frameworks out there are backed by…
Comment by
WanWizard
May 2014
permalink
OrmAuth
For next time, when you bump into issues, always check the latest development branch to see if it is already addressed. We don't release new versions for every bug fixed. If your GUI is constructed properly, there is no need to verify the righ…
Comment by
WanWizard
May 2014
permalink
OrmAuth
Are you sure you're on the latest codebase? These issues have been fixed quite some time ago. Ormauth was developed for our applications, and added to the framework later. The reason it doesn't have a check on an arbitrary user is two-fol…
Comment by
WanWizard
May 2014
permalink
OrmAuth
That should work fine, but it's indeed very clumsy. I have to take this into account for Auth v2.
Comment by
WanWizard
May 2014
permalink
ORM Memory leak
Ok, so just a method to clear cached objects? Should be easy to add, I already gave a pointer on how to do it earlier up. It could have been in already. ;-)
Comment by
WanWizard
May 2014
permalink
Override module config
No, if you have the same config in app and module, the module wins.
Comment by
WanWizard
May 2014
permalink
Need Syntax of between in query builder
Multiple values are not supported in a where clause. The way around it is to use DB::expr(): where('reserve_now.rdate', 'BETWEEN', DB::expr($arrayvalue['startdate'].' AND '.$arrayvalue['enddate']));
Comment by
WanWizard
May 2014
permalink
How to use related() via ORM in one to many (has many)?
No, absolutely not. A group_by will destroy the result, you need the individual child records. So if you have 1 product and 4 related image records, the JOIN should produce 4 records (in which the product part is repeated), the ORM's hydration…
Comment by
WanWizard
May 2014
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,368
Last Active
7:53AM
Roles
Administrator