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
More detailed error logging
Please create an issue for this on https://github.com/fuel/core/issues so it can be addressed. Include your use case, and any information you can provide about your definition of 'more detailed'.
Comment by
WanWizard
May 2012
permalink
Using routes config file with Modules
@cmullinstu, According to those routes, 'admin/users' should be routed to 'admin/admin/users/index'. You have in your admin module a file called 'classes/controller/admin/users.php', containing a class 'Admin_User…
Comment by
WanWizard
May 2012
permalink
Is FuelPHP usable without Oil on production?
Hmm... Then you're out of luck. Convice your hosting company to do better, or switch hosting companies...
Comment by
WanWizard
May 2012
permalink
Is FuelPHP usable without Oil on production?
I've seen quite a few webhosts that alias 'php' to 'php-cgi', which is the core of the problem here. If you do 'which php' you'll get the path to the php binary. check that path for other available php binari…
Comment by
WanWizard
May 2012
permalink
CSRF logic flaw?
I don't think this is addressed yet. It was on the roadmap for 1.1, but I can't find an issue relating to it. So can you please create one on https://github.com/fuel/core/issues so it can be picked up?
Comment by
WanWizard
July 2011
permalink
Is FuelPHP usable without Oil on production?
You're welcome. If you want to know more, pop in at our IRC channel #fuelphp on freenode. There are always 60+ people online that can help answering questions.
Comment by
WanWizard
May 2012
permalink
Is FuelPHP usable without Oil on production?
Oil isn't required anywhere, so yes, FuelPHP is completely usable. Do you have shell access to your host? If so, you might want to check if the php-cli binary is installed too, and use that to run oil tasks. It's basically all I use oil f…
Comment by
WanWizard
May 2012
permalink
Model_Crud pre_save error
Current docs (and dev-docs) document v1.2. Comparing the code, the only difference i can find is that in the 1.1 release, the parameter was passed by reference. In 1.2, it is passed by value, and the possibly updated query is returned. I don't…
Comment by
WanWizard
May 2012
permalink
Error 500 with Crontab and Tasks
If 'php' runs 'php-cgi', then with a bit of luck you'll have 'php-cli' available too. Can't you run that?
Comment by
WanWizard
May 2012
permalink
Fuelphp support for nested models in Fieldset class?
You can nest fieldsets by adding one as a field to another.
Comment by
WanWizard
February 2012
permalink
ORM, Fieldset and SimpleAuth
Note that this is very much a work-in-progress. But it's going to be a community web app for documentation, api docs, code snippets, how-to's, tutorials, screencasts, and what have to. And the official FuelPHP package repository. We'…
Comment by
WanWizard
April 2012
permalink
Default integer value in ORM
Pretty logical. You set a value, therefore a default no longer applies. Input::post() always returns a value, NULL is a value (especially in a database context, where NULL can be a valid value for a column!). So if you don't want that, check …
Comment by
WanWizard
May 2012
permalink
Where does the Response go when using Controller_Template, ViewModels and Smarty?
In FuelPHP 1.2+, Controller actions MUST return either a Response object, or a value that can be cast to string, as the result of the action. FuelPHP 1.1 doesn't throw an error on this, but will log the warning. Alternatively, your controller …
Comment by
WanWizard
May 2012
permalink
Getting NinjAuth working with FuelPHP 1.2 RC
Our depot project is using a custom version of NinjAuth, but that shouldn't matter for this problemm. You may get some tips from the register controller (https://github.com/fuel/depot/tree/1.0/develop/fuel/modules/users/classes/controller), to…
Comment by
WanWizard
May 2012
permalink
Overriding views from different namespaces
It all depends on your definition of "outside". When you forge a Viewmodel object, it will forge the corresponding View object for you. The view file is located using Finder::search(), which is a context aware search. Part of the context …
Comment by
WanWizard
May 2012
permalink
[DBUtil] Allow NULL when adding fields
The correct definition is 'null' => true
Comment by
WanWizard
May 2012
permalink
Using routes config file with Modules
The admin structure in Depot is generated by oil (and moved from app to the module), it's standard code, so I wouldn't know what your problem is. What is your definition of "doesn't load"? Does something else load? do you g…
Comment by
WanWizard
May 2012
permalink
Error 500 with Crontab and Tasks
Contrary to popular belief, the "cron" function provided by many control panels isn't a cron at all, it's just a script that schedules and spawns background tasks. As a result of that, the scripts don't run using php-cli, w…
Comment by
WanWizard
May 2012
permalink
Default integer value in ORM
Which version of FuelPHP are you using? If you're on 1.1, you might want to switch to 1.2RC1, I remember some issues with default values a few months ago.
Comment by
WanWizard
May 2012
permalink
Routing right after installing v1.2 not working
If you're using CGI, check out the troubleshooting section of the docs: http://fueldocs.exite.eu/installation/troubleshooting.html#404_install.
Comment by
WanWizard
May 2012
permalink
Routing right after installing v1.2 not working
Are you using fastcgi? Or another cgi implementation of PHP? Or another webserver then Apache?
Comment by
WanWizard
May 2012
permalink
Profiler does not show up
Then you have your repo files checked out with CRLF line ends. Or an unzip used which does line end conversion. On Windows? Open fuel/core/vendor/phpquickprofiler/display.php in an editor that understands linux line ends, and save the file with LF …
Comment by
WanWizard
May 2012
permalink
Routing right after installing v1.2 not working
I'm not familiar with that tutorial, but I assume it's using oil to generate the admin backend? There is a file called APPPATH/classes/controller/admin/post.php, containing an Admin_Post class, and has an action_index() method? It should …
Comment by
WanWizard
May 2012
permalink
Profiler does not show up
I can't reproduce that issue here as well. I have several virtual hosts running to test code, and all have the profiler running by default. Check the HTML source to see if the profiler data was added, so you'll know if it is not generated…
Comment by
WanWizard
May 2012
permalink
custom routing (username in URL)
If you have a design where a URI like "users/" has to route to different controllers, and "" may or may not indicate a method name, there's something wrong with your design, and you're making it an awful lot more compl…
Comment by
WanWizard
May 2012
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,407
Last Active
11:45PM
Roles
Administrator