Thread: Preview Email

Results 1 to 10 of 31

Threaded View

swguy Preview Email 3 Nov 2018, 12:23 AM
swguy Re: Preview Email 5 Mar 2020, 01:22 PM
swguy Re: Preview Email 7 May 2020, 11:36 PM
Doomm Re: Preview Email 8 May 2020, 01:09 PM
swguy Re: Preview Email 8 May 2020, 02:15 PM
Doomm Re: Preview Email 8 May 2020, 09:40 PM
jodean Re: Preview Email 18 Jul 2020, 08:49 PM
swguy Re: Preview Email 18 Jul 2020, 09:01 PM
swguy Re: Preview Email 27 Jul 2020, 01:13 PM
swguy Re: Preview Email 1 Aug 2020, 03:55 PM
swguy Re: Preview Email 21 Jun 2021, 03:59 PM
carlwhat Re: Preview Email 18 May 2022, 04:08 PM
swguy Re: Preview Email 23 May 2022, 12:30 PM
nicksab Re: Preview Email 25 Oct 2022, 03:29 AM
swguy Re: Preview Email 25 Oct 2022, 12:47 PM
swguy Re: Preview Email 26 Oct 2022, 01:52 AM
nicksab Re: Preview Email 26 Oct 2022, 03:21 AM
simon1066 Re: Preview Email 6 Jun 2024, 11:54 AM
swguy Re: Preview Email 6 Jun 2024, 03:29 PM
nicksab Re: Preview Email 1 Jul 2024, 03:37 AM
simon1066 Re: Preview Email 1 Jul 2024, 08:55 AM
swguy Re: Preview Email 1 Jul 2024, 11:05 AM
nicksab Re: Preview Email 2 Jul 2024, 08:55 PM
nicksab Re: Preview Email 2 Jul 2024, 08:55 PM
DirkS Re: Preview Email 17 Nov 2024, 05:20 PM
  1. #18
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,300
    Plugin Contributions
    1

    Default Re: Preview Email

    ZC v1.5.8a
    PHP v8.3.7

    I thought that simply redefining the language file location from /email_extras.php to /lang.email_extras.php would be enough to get this working with ZC v1.5.8a. While doing so enabled me to access the Admin > Customers > Preview Email page, more work is needed I think as I get this blank page error when trying to preview an email template:

    Code:
    [06-Jun-2024 11:31:26 Europe/London] Request URI: /MY_ADMIN/index.php?cmd=preview_email, IP address: 127.0.0.1, Language id 1
    #0 D:\wamp64\www\MY_DOMAIN.co.uk\includes\modules\require_languages.php(13): zen_debug_error_handler()
    #1 D:\wamp64\www\MY_DOMAIN.co.uk\MY_ADMIN\includes\functions\extra_functions\preview_email.php(251): require('D:\\wamp64\\www\\k...')
    #2 D:\wamp64\www\MY_DOMAIN.co.uk\MY_ADMIN\preview_email.php(58): build_checkout_email()
    #3 D:\wamp64\www\MY_DOMAIN.co.uk\MY_ADMIN\index.php(11): require('D:\\wamp64\\www\\k...')
    --> PHP Warning: Undefined variable $languageLoader in D:\wamp64\www\MY_DOMAIN.co.uk\includes\modules\require_languages.php on line 13.
    
    [06-Jun-2024 11:31:26 Europe/London] PHP Fatal error:  Uncaught Error: Call to a member function setCurrentPage() on null in D:\wamp64\www\MY_DOMAIN.co.uk\includes\modules\require_languages.php:13
    Stack trace:
    #0 D:\wamp64\www\MY_DOMAIN.co.uk\MY_ADMIN\includes\functions\extra_functions\preview_email.php(251): require()
    #1 D:\wamp64\www\MY_DOMAIN.co.uk\MY_ADMIN\preview_email.php(58): build_checkout_email()
    #2 D:\wamp64\www\MY_DOMAIN.co.uk\MY_ADMIN\index.php(11): require('D:\\wamp64\\www\\k...')
    #3 {main}
      thrown in D:\wamp64\www\MY_DOMAIN.co.uk\includes\modules\require_languages.php on line 13
    
    [06-Jun-2024 11:31:26 Europe/London] Request URI: /MY_ADMIN/index.php?cmd=preview_email, IP address: 127.0.0.1
    --> PHP Fatal error: Uncaught Error: Call to a member function setCurrentPage() on null in D:\wamp64\www\MY_DOMAIN.co.uk\includes\modules\require_languages.php:13
    Stack trace:
    #0 D:\wamp64\www\MY_DOMAIN.co.uk\MY_ADMIN\includes\functions\extra_functions\preview_email.php(251): require()
    #1 D:\wamp64\www\MY_DOMAIN.co.uk\MY_ADMIN\preview_email.php(58): build_checkout_email()
    #2 D:\wamp64\www\MY_DOMAIN.co.uk\MY_ADMIN\index.php(11): require('D:\\wamp64\\www\\k...')
    #3 {main}
      thrown in D:\wamp64\www\MY_DOMAIN.co.uk\includes\modules\require_languages.php on line 13.
    Last edited by simon1066; 6 Jun 2024 at 11:56 AM.
    Simon

 

 

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