Add Transactional Email Template page does not load properly












0















I am just about to finish my first project with Magento and as always I have crashed something right before the finish line:

I'm using Magento 1.9.0.1 (Community Edition).
When I go to Transactional Emails and press the "Add new template" button (I'm sorry for wrong translations, I'm using the German backend (which is quite a mess)) I do not get to the Add template page although it worked yesterday. What I see now is this:
Magento error



I am not too experienced with PHP, but my guess is that there might be php Tags missing or a file needed for only this page is missing. I have of course tried googling for the solution but no results.










share|improve this question





























    0















    I am just about to finish my first project with Magento and as always I have crashed something right before the finish line:

    I'm using Magento 1.9.0.1 (Community Edition).
    When I go to Transactional Emails and press the "Add new template" button (I'm sorry for wrong translations, I'm using the German backend (which is quite a mess)) I do not get to the Add template page although it worked yesterday. What I see now is this:
    Magento error



    I am not too experienced with PHP, but my guess is that there might be php Tags missing or a file needed for only this page is missing. I have of course tried googling for the solution but no results.










    share|improve this question



























      0












      0








      0








      I am just about to finish my first project with Magento and as always I have crashed something right before the finish line:

      I'm using Magento 1.9.0.1 (Community Edition).
      When I go to Transactional Emails and press the "Add new template" button (I'm sorry for wrong translations, I'm using the German backend (which is quite a mess)) I do not get to the Add template page although it worked yesterday. What I see now is this:
      Magento error



      I am not too experienced with PHP, but my guess is that there might be php Tags missing or a file needed for only this page is missing. I have of course tried googling for the solution but no results.










      share|improve this question
















      I am just about to finish my first project with Magento and as always I have crashed something right before the finish line:

      I'm using Magento 1.9.0.1 (Community Edition).
      When I go to Transactional Emails and press the "Add new template" button (I'm sorry for wrong translations, I'm using the German backend (which is quite a mess)) I do not get to the Add template page although it worked yesterday. What I see now is this:
      Magento error



      I am not too experienced with PHP, but my guess is that there might be php Tags missing or a file needed for only this page is missing. I have of course tried googling for the solution but no results.







      email email-templates ce-1.9.0.1 transactional-mail






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 28 mins ago









      Teja Bhagavan Kollepara

      3,00641949




      3,00641949










      asked Aug 5 '14 at 13:27









      BernieBernie

      68413




      68413






















          1 Answer
          1






          active

          oldest

          votes


















          1














          What you are seeing there looks like the file app/code/core/Mage/Core/Model/Email/Template.php.

          it can also be located in app/code/local/Mage/Core/Model/Email/Template.php in case you moved it an modified it there.

          Anyway, check in those 2 locations and see if the opening php tag is <?php and not <? or if you don't have a closing tag ?> before the first line you see as output.






          share|improve this answer
























          • The file seems to be the right one (have not moved or modified it, so it is not in local). But it appears that the php Section ends on every occurence of the ">" sign, no matter if it is inside a comment or not. I do not remember changing anything on this file or relevant to this file

            – Bernie
            Aug 5 '14 at 13:48








          • 1





            Well, get a clean copy of it and replace the one you have.

            – Marius
            Aug 5 '14 at 13:55











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "479"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f31323%2fadd-transactional-email-template-page-does-not-load-properly%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          What you are seeing there looks like the file app/code/core/Mage/Core/Model/Email/Template.php.

          it can also be located in app/code/local/Mage/Core/Model/Email/Template.php in case you moved it an modified it there.

          Anyway, check in those 2 locations and see if the opening php tag is <?php and not <? or if you don't have a closing tag ?> before the first line you see as output.






          share|improve this answer
























          • The file seems to be the right one (have not moved or modified it, so it is not in local). But it appears that the php Section ends on every occurence of the ">" sign, no matter if it is inside a comment or not. I do not remember changing anything on this file or relevant to this file

            – Bernie
            Aug 5 '14 at 13:48








          • 1





            Well, get a clean copy of it and replace the one you have.

            – Marius
            Aug 5 '14 at 13:55
















          1














          What you are seeing there looks like the file app/code/core/Mage/Core/Model/Email/Template.php.

          it can also be located in app/code/local/Mage/Core/Model/Email/Template.php in case you moved it an modified it there.

          Anyway, check in those 2 locations and see if the opening php tag is <?php and not <? or if you don't have a closing tag ?> before the first line you see as output.






          share|improve this answer
























          • The file seems to be the right one (have not moved or modified it, so it is not in local). But it appears that the php Section ends on every occurence of the ">" sign, no matter if it is inside a comment or not. I do not remember changing anything on this file or relevant to this file

            – Bernie
            Aug 5 '14 at 13:48








          • 1





            Well, get a clean copy of it and replace the one you have.

            – Marius
            Aug 5 '14 at 13:55














          1












          1








          1







          What you are seeing there looks like the file app/code/core/Mage/Core/Model/Email/Template.php.

          it can also be located in app/code/local/Mage/Core/Model/Email/Template.php in case you moved it an modified it there.

          Anyway, check in those 2 locations and see if the opening php tag is <?php and not <? or if you don't have a closing tag ?> before the first line you see as output.






          share|improve this answer













          What you are seeing there looks like the file app/code/core/Mage/Core/Model/Email/Template.php.

          it can also be located in app/code/local/Mage/Core/Model/Email/Template.php in case you moved it an modified it there.

          Anyway, check in those 2 locations and see if the opening php tag is <?php and not <? or if you don't have a closing tag ?> before the first line you see as output.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Aug 5 '14 at 13:38









          MariusMarius

          167k28319684




          167k28319684













          • The file seems to be the right one (have not moved or modified it, so it is not in local). But it appears that the php Section ends on every occurence of the ">" sign, no matter if it is inside a comment or not. I do not remember changing anything on this file or relevant to this file

            – Bernie
            Aug 5 '14 at 13:48








          • 1





            Well, get a clean copy of it and replace the one you have.

            – Marius
            Aug 5 '14 at 13:55



















          • The file seems to be the right one (have not moved or modified it, so it is not in local). But it appears that the php Section ends on every occurence of the ">" sign, no matter if it is inside a comment or not. I do not remember changing anything on this file or relevant to this file

            – Bernie
            Aug 5 '14 at 13:48








          • 1





            Well, get a clean copy of it and replace the one you have.

            – Marius
            Aug 5 '14 at 13:55

















          The file seems to be the right one (have not moved or modified it, so it is not in local). But it appears that the php Section ends on every occurence of the ">" sign, no matter if it is inside a comment or not. I do not remember changing anything on this file or relevant to this file

          – Bernie
          Aug 5 '14 at 13:48







          The file seems to be the right one (have not moved or modified it, so it is not in local). But it appears that the php Section ends on every occurence of the ">" sign, no matter if it is inside a comment or not. I do not remember changing anything on this file or relevant to this file

          – Bernie
          Aug 5 '14 at 13:48






          1




          1





          Well, get a clean copy of it and replace the one you have.

          – Marius
          Aug 5 '14 at 13:55





          Well, get a clean copy of it and replace the one you have.

          – Marius
          Aug 5 '14 at 13:55


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Magento Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f31323%2fadd-transactional-email-template-page-does-not-load-properly%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          What other Star Trek series did the main TNG cast show up in?

          Berlina muro

          Berlina aerponto