Blesta Addons Posted August 11, 2014 Report Posted August 11, 2014 i my new plugin i get this error when i pass the error or success message . $this->flashMessage("message", Language::_("SomePlugin.!success.cat_added", true)); the error message is from the main_admin views , in admin_manage_plugin no error shown . Files does not exist: /home/xxxxx/public_html/blesta/plugins/xxxxxxx/views/admin/default/message.pdt on line 120 in /home/xxxxxxxxxx/public_html/blesta/lib/view.php why blesta fetch the message.pdt inside the plugin directory , it should fetch from the templatev directory . NOTE : the same code in admin_manage_plugin working fine . the same code in adminçmain givving this error . Quote
Blesta Addons Posted August 11, 2014 Author Report Posted August 11, 2014 UPDATE : the error source is the $this->setMessage("error", $errors); Quote
Blesta Addons Posted August 11, 2014 Author Report Posted August 11, 2014 RESOLVED : i have mised to pass some other pparam in the setMessage, the correct format is : $this->setMessage("error", $errors, false, null, false); Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.