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
Upload::save() saves duplicated files in Fuel 1.6
Upload in 1.6 has been replaced by the new 2.0 package which has been backported. It's rewritten from scratch. I've never seen this behaviour before. I've looked in the code, but I can't immidiately see where this can go wrong. …
Comment by
WanWizard
May 2013
permalink
1.6 install issues.
First issue is solved. We were still running get.fuelphp.com on Pagodabox on Phil's account, and we had to move that in a hurry. During the move the wrong script was placed on the new server. It should now correctly install the oil script. I&…
Comment by
WanWizard
May 2013
permalink
Session will not persist
You might want to switch to Ormauth in 1.6. It uses an EAV container for user meta data, so you can add an unlimited amount of additional fields. In SimpleAuth, you're supposed to put them in profile_fields, which is a serialized array, useful …
Comment by
WanWizard
May 2013
permalink
Session will not persist
What "advanced" stuff do you need? To be honest, I only see some very complicated stuff in this controller that Simpleauth does out of the box. You also have to be very careful with changing the session settings at runtime. The problem yo…
Comment by
WanWizard
May 2013
permalink
Windows installation, one step from total bliss!
To debug this issue: Put a die() statement in both index.php files, with a "1" and "2". Test it again. If it both shows one, you have an Apache issue, as both virtual hosts load the same index.php, If you do get "1" a…
Comment by
WanWizard
May 2013
permalink
Windows installation, one step from total bliss!
Our setup is a little bit different: We too have a central location for all framework files, but we leave the 'fuelphp-1.6' in place because there will come a time when you have to run multiple versions. For the application side, we have…
Comment by
WanWizard
May 2013
permalink
monolog
1.6 has just been released.
Comment by
WanWizard
May 2013
permalink
Email: SMTP pipelining
Not sure that is possible at the moment. Please create a feature request for it at https://github.com/fuel/email/issues so it can be looked at.
Comment by
WanWizard
May 2013
permalink
Auth package migration file location
Lol. You are reading the 1.5 release docs, and looking at the code just minutes after the 1.6 release. :-) Check http://docs.fuelphp.com, the 1.6 docs should be up now...
Comment by
WanWizard
May 2013
permalink
monolog
1.6 will be released today or tomorrow, with 1.5.0. I've been using it for a while now, and haven't noticed any issues.
Comment by
WanWizard
May 2013
permalink
Trigger a method from a class located on PKGPATH through a task
FuelPHP rules say that: - all classes go into the classes folder (for app, modules and packages) - the combination of namespace and classname should map uniquely to a file - packages and modules have a base namespace equal to the package or module n…
Comment by
WanWizard
May 2013
permalink
Upload::save() says it worked...but the file isn't there
I don't see where this can go wrong, the Upload class does use PHP's native upload functions, it's just a wrapper around it that does a lot of validation and prep work. In the end, it just uses move_uploaded_file(), like you would do…
Comment by
WanWizard
May 2013
permalink
Configuration files with FuelPHP
No, not a clue. The Finder is in the core of the framework, it's used to locate all kinds of files, I;m pretty sure it's not a generic issue. What's your platform (OS, webserver), Which Fuel version? What works and what doesn't?…
Comment by
WanWizard
May 2013
permalink
Configuration files with FuelPHP
The priority in FuelPHP is: - module config - app config - packages config - core config When you load a configuration file, it depends on your current context what is loaded. For example, module configs are only loaded if you are in a controller A…
Comment by
WanWizard
May 2013
permalink
Trigger a method from a class located on PKGPATH through a task
A class should be in a 'classes' folder. Then the autoloader can find it and load it, no need for manual loading. In PKGPATH (which is the root of installed packages) is definitely a bad idea. You get that error because tasks are defined …
Comment by
WanWizard
May 2013
permalink
I got odd error
FuelPHP doesn't do CamelCase, it will convert it lowercase with an underscore separator. I agree it's a bit odd to do that for table names though, that looks like a bug. Can you create an issue for this at https://github.com/fuel/oil/issu…
Comment by
WanWizard
May 2013
permalink
How starting installation W7
Fuel doesn't automagically create databases, so yes, you need to create that yourself, and make sure the configuration in app/config//db.php is ok. For template engines, use the parser package. You can plug in Twig, and it will extend the regu…
Comment by
WanWizard
May 2013
permalink
_many_many Observer
No, the through table wasn't designed to contain anything other then the two FK's. For fancy stuff, creating a model for it, with two has_many/belong_to's, is the best option. You can use that alongside the existing many_many, so you…
Comment by
WanWizard
May 2013
permalink
_many_many Observer
What exactly do you want to accomplish? Reading this you mean the relations through table?
Comment by
WanWizard
May 2013
permalink
Why on earth a public directory?
lol, génial!
Comment by
WanWizard
May 2013
permalink
How starting installation W7
The core contains defaults for all config items, so you only have to set the things you want to change. If you get the welcome controller's index page, then the framework works. If other controllers don't work, what exactly are you trying…
Comment by
WanWizard
May 2013
permalink
User Model
You're mixing static and non-static use. $user is defined as an object property (not static), but you're not in an object context when you call something statically. Which is why you get the error, there is no object, therefore there is n…
Comment by
WanWizard
May 2013
permalink
How to setup code completion in Phpstorm?
It was owned by Dan, and he closed it. FuelPHP has a new paste bin, http://bin.fuelphp.com
Comment by
WanWizard
April 2013
permalink
Trouble saving with ORM
You've hit a "feature" that was deprecated in 1.5, and removed in 1.6, because of this problem, and potentionally serious issues. 1.5 allows you do to find(null), which will return a query object instead of a result. In 1.6, you have…
Comment by
WanWizard
April 2013
permalink
Questions about Fieldset
Even faster: $fieldset->form()->add_csrf();
Comment by
WanWizard
April 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,368
Last Active
4:01PM
Roles
Administrator