SHARE
TWEET

Untitled

a guest Feb 20th, 2019 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div class="contact-form">
  2.           {% if craft.app.session.hasFlash('notice') %}
  3.           <div class="notification">
  4.     <p class="message notice">{{ craft.app.session.getFlash('notice') }}</p>
  5.     </div>
  6. {% elseif craft.app.session.hasFlash('error') %}
  7.     <p class="message error">{{ craft.app.session.getFlash('error') }}</p>
  8. {% else %}
  9. <form method="post" action="" accept-charset="UTF-8">
  10.     {{ csrfInput() }}
  11.     <input type="hidden" name="action" value="contact-form/send">
  12.     {{ redirectInput('contact') }}
  13.       <div class="element">
  14.       <label for="name">Name <span class="required">*</span></label>
  15.       <input id="name" type="text" required name="fromName" value="{{ message.fromName ?? '' }}">
  16.       </div>
  17.       <div class="element">
  18.       <label for="email">Email Address <span class="required">*</span></label>
  19.       <input id="email" type="email" required name="fromEmail" value="{{ message.fromEmail ?? '' }}">
  20.       </div>
  21.       <div class="element">
  22.       <label for="phone">Telephone Number</label>
  23.       <input id="phone" type="text" required name="message[phone]" value="{{ message.phone ?? '' }}">
  24.       </div>
  25.       <div class="element">
  26.         <p class="required-info text-small"><span class="required">*</span> Required Fields</p>
  27.       </div>
  28.       <div class="element">
  29.         <label for="message">Message</label>
  30.         <textarea rows="10" cols="40" id="message" name="message">{{ message.message ?? '' }}</textarea>
  31.       </div>
  32.     <input type="submit" value="Submit">
  33. </form>
  34. {% endif %}
  35. </div>
  36.      
  37. craftwebtwigTemplateLoaderException: Unable to find the template “”. in /Users/user/Dropbox/GIANT/Potter Group Website/Site/build/craft/vendor/craftcms/cms/src/web/twig/TemplateLoader.php:122
  38. Stack trace:
  39. #0 /Users/user/Dropbox/GIANT/Potter Group Website/Site/build/craft/vendor/craftcms/cms/src/web/twig/TemplateLoader.php(75): craftwebtwigTemplateLoader->_resolveTemplate('')
  40. #1 /Users/user/Dropbox/GIANT/Potter Group Website/Site/build/craft/vendor/twig/twig/lib/Twig/Environment.php(270): craftwebtwigTemplateLoader->getCacheKey('')
  41. #2 /Users/user/Dropbox/GIANT/Potter Group Website/Site/build/craft/vendor/twig/twig/lib/Twig/Environment.php(350): Twig_Environment->getTemplateClass('')
  42. #3 /Users/user/Dropbox/GIANT/Potter Group Website/Site/build/craft/vendor/craftcms/cms/src/web/twig/Environment.php(40): Twig_Environment->loadTemplate('', NULL)
  43. #4 /Users/user/Dropbox/GIANT/Potter Group Website/Site/build/craft/vendor/twig/twig/lib/Twig/Environment.php(289): craftwebtwigEnvironment->loadTemplate('')
  44. #5 /Users/user/Dropbox/GIANT/Potter Group Website/Site/build/craft/vendor/craftcms/cms/src/web/View.php(337): Twig_Environment->render('', Array)
  45. #6 /Users/user/Dropbox/GIANT/Potter Group Website/Site/build/craft/vendor/rias/craft-contact-form-extensions/src/ContactFormExtensions.php(136): craftwebView->renderTemplate('', Array)
  46. #7 [internal function]: riascontactformextensionsContactFormExtensions->riascontactformextensions{closure}(Object(craftcontactformeventsSendEvent))
  47. #8 /Users/user/Dropbox/GIANT/Potter Group Website/Site/build/craft/vendor/yiisoft/yii2/base/Event.php(310): call_user_func(Object(Closure), Object(craftcontactformeventsSendEvent))
  48. #9 /Users/user/Dropbox/GIANT/Potter Group Website/Site/build/craft/vendor/yiisoft/yii2/base/Component.php(636): yiibaseEvent::trigger('craft\contactfo...', 'beforeSend', Object(craftcontactformeventsSendEvent))
  49. #10 /Users/user/Dropbox/GIANT/Potter Group Website/Site/build/craft/vendor/craftcms/contact-form/src/Mailer.php(93): yiibaseComponent->trigger('beforeSend', Object(craftcontactformeventsSendEvent))
  50. #11 /Users/user/Dropbox/GIANT/Potter Group Website/Site/build/craft/vendor/craftcms/contact-form/src/controllers/SendController.php(59): craftcontactformMailer->send(Object(craftcontactformmodelsSubmission))
  51. #12 [internal function]: craftcontactformcontrollersSendController->actionIndex()
  52. #13 /Users/user/Dropbox/GIANT/Potter Group Website/Site/build/craft/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
  53. #14 /Users/user/Dropbox/GIANT/Potter Group Website/Site/build/craft/vendor/yiisoft/yii2/base/Controller.php(157): yiibaseInlineAction->runWithParams(Array)
  54. #15 /Users/user/Dropbox/GIANT/Potter Group Website/Site/build/craft/vendor/craftcms/cms/src/web/Controller.php(109): yiibaseController->runAction('', Array)
  55. #16 /Users/user/Dropbox/GIANT/Potter Group Website/Site/build/craft/vendor/yiisoft/yii2/base/Module.php(528): craftwebController->runAction('', Array)
  56. #17 /Users/user/Dropbox/GIANT/Potter Group Website/Site/build/craft/vendor/craftcms/cms/src/web/Application.php(297): yiibaseModule->runAction('contact-form/se...', Array)
  57. #18 /Users/user/Dropbox/GIANT/Potter Group Website/Site/build/craft/vendor/craftcms/cms/src/web/Application.php(561): craftwebApplication->runAction('contact-form/se...', Array)
  58. #19 /Users/user/Dropbox/GIANT/Potter Group Website/Site/build/craft/vendor/craftcms/cms/src/web/Application.php(281): craftwebApplication->_processActionRequest(Object(craftwebRequest))
  59. #20 /Users/user/Dropbox/GIANT/Potter Group Website/Site/build/craft/vendor/yiisoft/yii2/base/Application.php(386): craftwebApplication->handleRequest(Object(craftwebRequest))
  60. #21 /Users/user/Dropbox/GIANT/Potter Group Website/Site/build/public_html/index.php(21): yiibaseApplication->run()
  61. #22 {main}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top