You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have checked many times that the view is there. when i do something like
nano /var/www/html/new/app/views/emailTemplates/newuser-bg.volt I have open the view in editor.
I can't understand why Phalcon\Mvc\View thinks that It is not there.
Could you help me with this issue.
The text was updated successfully, but these errors were encountered:
in index.php
/**
* Setting up volt
*/
$di->set('volt', function($view, $di) {
In Model:
I Got The Error:
Phalcon\Mvc\View\Exception: View '/var/www/html/new/app/views/emailTemplates/newuser-bg' was not found in the views directory
File=/var/www/html/new/app/vendor/phalcon-ext/mailer/src/Manager.php
Line=312
#0 [internal function]: Phalcon\Mvc\View\Simple->_internalRender('emailTemplates/...', Array)
#1 /var/www/html/new/app/vendor/phalcon-ext/mailer/src/Manager.php(312): Phalcon\Mvc\View\Simple->render('emailTemplates/...', Array)
#2 /var/www/html/new/app/vendor/phalcon-ext/mailer/src/Manager.php(106): Phalcon\Ext\Mailer\Manager->renderView('emailTemplates/...', Array, '/var/www/html/n...')
#3 /var/www/html/new/app/models/Staff.php(37): Phalcon\Ext\Mailer\Manager->createMessageFromView('emailTemplates/...', Array, '/var/www/html/n...')
#4 [internal function]: Staff->beforeCreate()
#5 [internal function]: Phalcon\Mvc\Model->fireEventCancel('beforeCreate')
#6 [internal function]: Phalcon\Mvc\Model->_preSave(Object(Phalcon\Mvc\Model\MetaData\Memory), false, 'id')
#7 [internal function]: Phalcon\Mvc\Model->save()
#8 /var/www/html/new/app/controllers/StaffController.php(233): Phalcon\Mvc\Model->create()
#9 [internal function]: StaffController->createAction()
#10 [internal function]: Phalcon\Dispatcher->dispatch()
#11 /var/www/html/new/public/index.php(288): Phalcon\Mvc\Application->handle()
#12 {main}
I have checked many times that the view is there. when i do something like
nano /var/www/html/new/app/views/emailTemplates/newuser-bg.volt I have open the view in editor.
I can't understand why Phalcon\Mvc\View thinks that It is not there.
Could you help me with this issue.
The text was updated successfully, but these errors were encountered: