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
8243
Activity
Views in Modules
Loading a view is pretty simple: If the current request is for a module controller, the search order is: - module (the module the controller is in only!) - app - packages - core This means you can not (and should not) do direct class calls across …
Comment by
WanWizard
October 2013
permalink
Opauth with GoogleStrategy
Changes always happen in the develop branch, we never change a master branch, unless we release a maintenance or minor release for which development stuff is backported. In case of docs, you can find the development version here: http://dev-docs.fu…
Comment by
WanWizard
October 2013
permalink
Twig with FuelPHP
You can also pop into our IRC channel (#fuelphp on Freenode), there are usually quite a few people online that use Windows for development.
Comment by
WanWizard
October 2013
permalink
Twig with FuelPHP
Normally composer uses the packages available, unless you've defined * or something like dev-master for the version in your composer.json. To install a package you don't need git, they are zipfiles. On linux git is installed in /usr/bin, …
Comment by
WanWizard
October 2013
permalink
Routing Problem: endless loop
Yes, but you shouldn't check on the way to the login, your login action should be publicly available, since Auth::check() should return false in the case of login (you're not logged in yet).
Comment by
WanWizard
October 2013
permalink
Routing Problem: endless loop
I think the problem may be this code, in your controllers' before method: // User isn't logged in if(!\Auth::check()) { \Session::set_flash('error', 'User isn\'t logged in!'…
Comment by
WanWizard
October 2013
permalink
Routing Problem: endless loop
Using oil admin scaffolding? There was a bug there, but it was solved quite some time ago.
Comment by
WanWizard
October 2013
permalink
Twig with FuelPHP
I'm not familiar with Windows, so I can't help you out with this one.
Comment by
WanWizard
October 2013
permalink
cascade delete in 1.6.1 ?
We've been trying to get 1.7 out the door for the last few weeks, but as soon as we mention the word "release", people all of a sudden find new bugs that need fixin' ;-)
Comment by
WanWizard
October 2013
permalink
cascade delete in 1.6.1 ?
If you're not certain it's a bug, it's better to discuss it here first, it keeps the issue tracker clean. Also, if you encounter anything, first try to reproduce it with the latest development branch (currently 1.7/develop). I'm…
Comment by
WanWizard
October 2013
permalink
Twig with FuelPHP
You're supposed to use composer to install Twig, if you manually install it, the autoloader won't know where to find the Twig classes.
Comment by
WanWizard
October 2013
permalink
FuelPHP for a Open Source Social Networking Script
Thanks, and no problem. :-) The current docs were designed about 3 years ago, more as an API kind of documentation. For 2.0, we're going to write more functional documentation (more like a collection of how-to's), and use PHPDocumentor fo…
Comment by
WanWizard
October 2013
permalink
FuelPHP for a Open Source Social Networking Script
Welcome. 1. I don't think there is. There isn't anything special about a theme, it's just a collection of view files in a separate folder structure instead of in app/views or in the module views folder. Other then that, they are st…
Comment by
WanWizard
October 2013
permalink
Cache problem
OrmAuth caches the compiled results for speed purposes. If you change the data, you need to flush the cache so it can be rebuild: \Cache::delete('.groups'); // delete the group cache \Cache::delete('.roles'); // delete the r…
Comment by
WanWizard
October 2013
permalink
OrmAuth database structure
You shouldn't. The ORM models will take care of that. It's a remainder of our application framework (which is the basis of Ormauth), and which stores the user_id of the user that created or last updated the record. You can safely ignore…
Comment by
WanWizard
October 2013
permalink
Can't config file uploading
Yes, it is. But there are lots of people running the latest develop, or not the latest release version. So sometimes it's difficult to give the correct answer, as solutions differ from version to version.
Comment by
WanWizard
October 2013
permalink
Can't config file uploading
You didn't mention the version you're using. To be complete, for FuelPHP 1.6 you need Upload "1.*", for FuelPHP 1.7 you need "2.0".
Comment by
WanWizard
October 2013
permalink
Validation to allow brackets "()" in the input
Currently vald_string() doesn't have an option for that, you can work around it my using match_pattern() and define your own regex pattern. I'll add them for 1.7.
Comment by
WanWizard
October 2013
permalink
Can't config file uploading
What do you mean "no effect"? /data/www/fuelphp/1.7/develop (1.7/develop) [hverton@catwoman] $ php composer.phar update Loading composer repositories with package information Updating dependencies (including require-dev) - Installing m…
Comment by
WanWizard
October 2013
permalink
Upgrade to php 5.5.4 has broken url's
If you have a standard FuelPHP installation, it's in /public.
Comment by
WanWizard
September 2013
permalink
Upgrade to php 5.5.4 has broken url's
Is that all you did? I've been running 5.5.x for quite some time, and without any issue. Did you upgrade apache too? If you get apache's 404, the most obvious issue is a broken mod_rewrite or an .htaccess issue.
Comment by
WanWizard
September 2013
permalink
Migration questions
They are both used, and under normal cicumstances both are in sync. It is used when deploying an application, you can deploy a migrations.php config file that contains additional migrations, and run "migrate:current" on the target server…
Comment by
WanWizard
September 2013
permalink
Problem with multiple query on a model
No, there isn't. But for v2 we're going to completely rewrite the ORM. If you have idea's about features or implementation, create an issue here: https://github.com/fuelphp/orm/issues so it can be discussed.
Comment by
WanWizard
September 2013
permalink
Harro, question on the ORM nestedset using for a Menu
Maybe you can check the Depot code, it uses nestedsets and nestedsortable for the documentation structure.
Comment by
WanWizard
September 2013
permalink
Harro, question on the ORM nestedset using for a Menu
As always, there are many ways to solve a problem. ;-) Our code is at least 5 years old, but it does do the job, so we haven't felt the need to change it.
Comment by
WanWizard
September 2013
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,389
Last Active
11:05AM
Roles
Administrator