Thread: Preview Email

Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 31
  1. #21
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,282
    Plugin Contributions
    1

    Default Re: Preview Email

    Quote Originally Posted by nicksab View Post
    Anyone got this plugin to work with ZC 2.0.1?

    On my test upgrade site, I am getting an error 500 when trying to preview any of emails option.

    Logs are as follow:

    Code:
    [01-Jul-2024 02:25:28 UTC] Request URI: /upgrade/sweety/index.php?cmd=preview_email, IP address: 24.4.88.128, Language id 1
    #0 /includes/modules/require_languages.php(13): zen_debug_error_handler()
    #1 /sweety/includes/functions/extra_functions/preview_email.php(232): require('/home/zch1akhw6...')
    #2 /sweety/preview_email.php(102): build_welcome_email()
    #3 /sweety/index.php(16): require('/home/zch1akhw6...')
    --> PHP Warning: Undefined variable $languageLoader in /includes/modules/require_languages.php on line 13.
    
    [01-Jul-2024 02:25:28 UTC] PHP Fatal error: Uncaught Error: Call to a member function setCurrentPage() on null in /includes/modules/require_languages.php:13
    Stack trace:
    #0 /sweety/includes/functions/extra_functions/preview_email.php(232): require()
    #1 /sweety/preview_email.php(102): build_welcome_email()
    #2 /sweety/index.php(16): require('/home/zch1akhw6...')
    #3 {main}
    thrown in /includes/modules/require_languages.php on line 13
    
    [01-Jul-2024 02:25:28 UTC] Request URI: /upgrade/sweety/index.php?cmd=preview_email, IP address: 24.4.88.128
    --> PHP Fatal error: Uncaught Error: Call to a member function setCurrentPage() on null in /includes/modules/require_languages.php:13
    Stack trace:
    #0 /sweety/includes/functions/extra_functions/preview_email.php(232): require()
    #1 /sweety/preview_email.php(102): build_welcome_email()
    #2 /sweety/index.php(16): require('/home/zch1akhw6...')
    #3 {main}
    thrown in /includes/modules/require_languages.php on line 13.
    
    [01-Jul-2024 02:25:28 UTC] Request URI: /upgrade/sweety/index.php?cmd=preview_email, IP address: 24.4.88.128
    --> PHP Fatal error: Uncaught Error: Call to a member function setCurrentPage() on null in /includes/modules/require_languages.php:13
    Stack trace:
    #0 /sweety/includes/functions/extra_functions/preview_email.php(232): require()
    #1 /sweety/preview_email.php(102): build_welcome_email()
    #2 /sweety/index.php(16): require('/home/zch1akhw6...')
    #3 {main}
    thrown in /includes/modules/require_languages.php on line 13.
    Thank you for your assistance
    Scroll up the page a couple of posts, to where I posted the same log file, and read on from there.
    Simon

  2. #22
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,232
    Plugin Contributions
    124

    Default Re: Preview Email

    This is still on my list. Will update ASAP.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #23
    Join Date
    Apr 2011
    Posts
    498
    Plugin Contributions
    0

    Default Re: Preview Email

    Quote Originally Posted by simon1066 View Post
    Scroll up the page a couple of posts, to where I posted the same log file, and read on from there.
    ugh another example of me posting before fully reading

    sorry

  4. #24
    Join Date
    Apr 2011
    Posts
    498
    Plugin Contributions
    0

    Default Re: Preview Email

    Quote Originally Posted by swguy View Post
    This is still on my list. Will update ASAP.
    thank you in advance

  5. #25
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,232
    Plugin Contributions
    124

    Default Re: Preview Email

    OK Github is up to date now for the 1.5.8/2.0.x version of this plugin.

    https://github.com/scottcwilson/zencart_preview_email/
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  6. #26
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,232
    Plugin Contributions
    124

    Default Re: Preview Email

    Updated in the Plugins Library.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  7. #27
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,282
    Plugin Contributions
    1

    Default Re: Preview Email

    Quote Originally Posted by swguy View Post
    Updated in the Plugins Library.
    Great, thank you for doing that.
    Simon

  8. #28
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,282
    Plugin Contributions
    1

    Default Re: Preview Email

    ZC v1.5.8a & ZC v2.0.1
    Preview Email v2.0

    E.g. Previewing the Welcome Email

    The content is populated from the defines in \includes\languages\english\lang.create_account.php even when there is an override at \includes\languages\english\MY_TEMPLATE\lang.create_account.php

    How do I ensure the template override file is used?
    Simon

  9. #29
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,232
    Plugin Contributions
    124

    Default Re: Preview Email

    Fixed in Github. Please retest.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  10. #30
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,282
    Plugin Contributions
    1

    Default Re: Preview Email

    Quote Originally Posted by swguy View Post
    Fixed in Github. Please retest.
    Looks good. Thank you.
    Simon

 

 
Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. preview?
    By musicstuff in forum General Questions
    Replies: 2
    Last Post: 9 Mar 2013, 06:00 PM
  2. v151 Preview welcome email and order confirmation email
    By tips007 in forum General Questions
    Replies: 1
    Last Post: 18 Jan 2013, 10:52 PM
  3. Preview of Welcome email in admin showing EMAIL_SUBJECT EMAIL_GREET_NONE etc
    By belaze in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 3 May 2011, 09:55 AM
  4. "Re: Preview Only ... Current Price Status ... Preview Only"
    By ebidei in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 10
    Last Post: 28 Apr 2009, 07:29 PM
  5. Admin preview of welcome email shows red x for an image I added
    By pixelpadre in forum General Questions
    Replies: 6
    Last Post: 15 Jan 2009, 01:36 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR