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
How to integrate pictures as link rel correctly?
I thought for a second that the ../ would have caused it, but your favicon link works fine, so that can't be it. If you get that error, then file_exists() failed. You're sure it's there, it's spelled correctly, and no case issue…
Comment by
WanWizard
February 2013
permalink
Get an error after installing Fuel on Subdomain
The most likely cause of this is that you have used a Core method somewhere that requires cleaning before the application configuration is loaded. For example Input::uri() or Input::get(), in your index.php or your app/bootstrap.php. You can'…
Comment by
WanWizard
February 2013
permalink
Form validation with messages
I don't understand the question. It's no problem doing a set_flash() and get_flash() within the same request. Using a Messages class to centralize message processing is a better idea though, separate from the flash variable issue.
Comment by
WanWizard
February 2013
permalink
HTML::anchor with image
Yes, it does. Why would you want to create a link with an image that does not exist?
Comment by
WanWizard
February 2013
permalink
Admin interface using modules
We have the logic on the calling side, the module only delivers the data. But you can put the logic on the module side as well, it doesn't really matter.
Comment by
WanWizard
February 2013
permalink
Admin interface using modules
You're welcome. I am a firm believer of good support, it makes or breaks a product. Thanks for the kudos. In our case, every module has a class called Module (in the modules namespace). It has methods that provide the admin module the menu ite…
Comment by
WanWizard
February 2013
permalink
FuelPHP Installation on real webserver with Plesk
If that still happens when you rename the .htaccess to something else (to rule out it's still being used), than the issue is server side (assuming your code doesn't produce a 500 error. The framework doesn't). I have no plesk experie…
Comment by
WanWizard
February 2013
permalink
FuelPHP Installation on real webserver with Plesk
The virtualhost definition looks ok. A 500 is usually a rewrite issue. Are you using the htaccess supplied with FuelPHP? What happens if you request http://staging.tierpensionen-portal.com/index.php (which would bypass the rewrite)?
Comment by
WanWizard
February 2013
permalink
image url
See your other post with the same question.
Comment by
WanWizard
February 2013
permalink
HTML::anchor with image
Html::anchor('linkofimage', Asset::img('image')); will work fine too.
Comment by
WanWizard
February 2013
permalink
Admin interface using modules
We use an application framework where there is an admin module that provides the admin interface. Every module installed registers it's admin component, which then integrates into the admin interface and it's menu system. Access to the d…
Comment by
WanWizard
February 2013
permalink
Upgrading to 1.5 issues
The Orm get() method returns an array of objects, it has always did, and this hasn't changed. That would be a foolish thing to do, it would break all applications, and these forums would be flooded with complaints. All my applications always r…
Comment by
WanWizard
February 2013
permalink
PHPUnit Request error
Router is looking for \Request. All Fuel core classes are aliased to the global namespace so you can easily alias them. The Fuel\Core namespace must NEVER be used in your code, except on a class definition when you extend it. I assume this test ru…
Comment by
WanWizard
February 2013
permalink
router Method
You need the router() method for the same reasons as in CodeIgniter, which is to capture all calls to the controller, for example because there is no one-to-one method mapping. The before() method is a prepping method, to do some initialisation wor…
Comment by
WanWizard
February 2013
permalink
Log changes in 1.5
Correct, you need to add it to always_load, as documented in the change log. I missed the fact that DEBUG and INFO is swapped, but to me it's logical that you display INFO before you display DEBUG, so in a sense Monolog is right and Fuel has b…
Comment by
WanWizard
February 2013
permalink
model crud read test failing
The test doesn't do anything with your database, it sets up a mock class and tests if the read and write connections are setup properly. And since the mock class (defined in the same file as the test) sets the properties for read and write, I…
Comment by
WanWizard
February 2013
permalink
Is the model the best place to add functionality
I would use a layered approach, where Store is your top layer, interfacing with the application. The second layer would be a model layer (a data model, not an ORM model) which would provide the data handling. In your case, you can have more of those…
Comment by
WanWizard
February 2013
permalink
class datetime not found
Datetime is a PHP internal class defined in the global namespace. So if you're using namespaces for your class, you need to use \Datetime.
Comment by
WanWizard
February 2013
permalink
How to use the Models in a Package?
Can you be more specific? What is it exactly what you want?
Comment by
WanWizard
February 2013
permalink
Form validation not working with IE (Internet Explore) browser... Client side validation not working
Client side validation (i.e. javascript) is application specific, and not the task of the framework. So it will never be part of FuelPHP.
Comment by
WanWizard
February 2013
permalink
Form validation not working with IE (Internet Explore) browser... Client side validation not working
As I said: This is NOT related to FuelPHP. The Form class generates HTML5 compliant code, but your browser must support it. As you can read here (http://people.mozilla.com/~prouget/ie9/), IE9 DOES NOT support HTML5 form validation. You'll hav…
Comment by
WanWizard
February 2013
permalink
Form validation not working with IE (Internet Explore) browser... Client side validation not working
1.0 is very old, so you should do something about that (we're on 1.5.2. now). client side validation is an HTML5 feature, that may not be supported by the IE version you are using. I think only IE10 supports that.
Comment by
WanWizard
February 2013
permalink
Long Time When send mail
No, it has nothing to do with it. Priority is a header flag, to indicate the priority of the message to the receipient. If sending email is slow, your mail server is not responding in a timely fashion.
Comment by
WanWizard
February 2013
permalink
oil generate controller in subdir
I think I've only added that to 1.6: oil g subdir/controller posts action1 action2 action3
Comment by
WanWizard
February 2013
permalink
Fuel\Core\Database_Exception [ Error ]: Column not found
Looks like you have 'created_at' in your $_properties list. That list MUST match the columns in your table.
Comment by
WanWizard
February 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,391
Last Active
5:33PM
Roles
Administrator