Forums / Upgrading from 1.3.x to 1.3.9 / Admin>>Tools>>Email Welcome page blank

Admin>>Tools>>Email Welcome page blank

Locked

Views: 1,074

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
27 Dec 2010, 9:22 PM
#1
scriptjunkie avatar

scriptjunkie

Totally Zenned

Join Date:
Jul 2008
Posts:
772
Plugin Contributions:
0

Admin>>Tools>>Email Welcome page blank

Just upgraded from 1.38a to 1.39h and am in the testing phase.

When I logged in to my admin and went to Tools/Email Welcome, I got a blank page.

So I did some checking of this file: admin/email_welcome.php

  • I haven't made any changes to this file
  • WinMerge indicates 1.38a and 1.39h versions of this file are identical
  • Admin>>Tools>>Email Welcome was working fine prior to upgrade.

I know that blank pages are almost always a result of a syntax error, however nothing about the file has changed.

I've already tried over-writing the file on my server with:

  • a fresh copy from the 1.39h zip file
  • a backed up copy from 1.38a
    Same result.

How do I troubleshoot this issue?

*Go that extra mile, you never know what's at the end of the road

* Empowerment Sanctuary

27 Dec 2010, 9:41 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Admin>>Tools>>Email Welcome page blank

Peek in the /cache directory and see what debug logs you have ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

27 Dec 2010, 10:09 PM
#3
scriptjunkie avatar

scriptjunkie

Totally Zenned

Join Date:
Jul 2008
Posts:
772
Plugin Contributions:
0

Re: Admin>>Tools>>Email Welcome page blank

Hi Ajeh,

The debug file in the /cache folder says there's a syntax error on line 39 of includes/languages/english/custom_folder/create_account.php.

But when I use WinMerge to compare the 1.39h original file with my customized version, it says line 39 is identical in both files.

However, I did edit lines 37 and 38 quite a bit, but looking at them I don't see any syntax errors.

Below are lines 37, 38, and 39. Do you see any syntax errors?

define('EMAIL_TEXT', 'You are now registered with our store and have account privileges:  With your account, you can take part in the <strong>various services</strong> we have to offer. Some of these services include:' . "\n\n<ul>" . '<li><strong>Order History</strong> - View the details of all of your previously completed orders.' . "\n\n" . '<li><strong>Permanent Cart</strong> - Any products added to your cart remain there until you remove them, or check them out.' . "\n\n" . '<li><strong>Address Book</strong> - We can deliver your purchases to an address other than yours! This is perfect for sending gifts directly to the person you purchased them for.' . "\n\n" . '<li><strong>Products Reviews</strong> - Share your opinions of our products and services with others.' . "\n\n</ul>");
define('EMAIL_CONTACT', 'For help with any of our products or services, please <a href="mailto:[email protected]">email Customer Service</a>\n\n");
define('EMAIL_GV_CLOSURE', "\n" . 'Sincerely,' . "\n\n" . STORE_OWNER . "\nStore Owner\n\n". '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'.HTTP_SERVER . DIR_WS_CATALOG ."</a>\n\n");

*Go that extra mile, you never know what's at the end of the road

* Empowerment Sanctuary

27 Dec 2010, 10:27 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Admin>>Tools>>Email Welcome page blank

Try something like this for those three lines:

define('EMAIL_TEXT', 'You are now registered with our store and have account privileges:  With your account, you can take part in the <strong>various services</strong> we have to offer. Some of these services include:' . "\n\n<ul>" . '<li><strong>Order History</strong> - View the details of all of your previously completed orders.' . "\n\n" . '<li><strong>Permanent Cart</strong> - Any products added to your cart remain there until you remove them, or check them out.' . "\n\n" . '<li><strong>Address Book</strong> - We can deliver your purchases to an address other than yours! This is perfect for sending gifts directly to the person you purchased them for.' . "\n\n" . '<li><strong>Products Reviews</strong> - Share your opinions of our products and services with others.' . "\n\n</ul>");
define('EMAIL_CONTACT', 'For help with any of our products or services, please <a href="mailto:[email protected]">email Customer Service</a>' . "\n\n");
define('EMAIL_GV_CLOSURE', "\n" . 'Sincerely,' . "\n\n" . STORE_OWNER . "\nStore Owner\n\n". '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . HTTP_SERVER . DIR_WS_CATALOG . "</a>" . "\n\n");  

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

27 Dec 2010, 10:29 PM
#5
scriptjunkie avatar

scriptjunkie

Totally Zenned

Join Date:
Jul 2008
Posts:
772
Plugin Contributions:
0

Re: Admin>>Tools>>Email Welcome page blank

Resolved.

Changed line 38 from

define('EMAIL_CONTACT', 'For help with any of our products or services, please <a href="mailto:[email protected]">email Customer Service</a>\n\n");
```to:

```php
define('EMAIL_CONTACT', 'For help with any of our products or services, please email Customer Service: <a href="mailto:' . STORE_OWNER_EMAIL_ADDRESS . '">'. STORE_OWNER_EMAIL_ADDRESS ." </a>\n\n");

*Go that extra mile, you never know what's at the end of the road

* Empowerment Sanctuary

27 Dec 2010, 10:45 PM
#6
scriptjunkie avatar

scriptjunkie

Totally Zenned

Join Date:
Jul 2008
Posts:
772
Plugin Contributions:
0

Re: Admin>>Tools>>Email Welcome page blank

Thanks for your help Ajeh!

Tested both resolutions and each is equally effective :)

Have a good one :)

*Go that extra mile, you never know what's at the end of the road

* Empowerment Sanctuary