Zen Cart Logo
Forums / All Other Contributions/Addons / Newsletter-Only Subscriptions for v1.3x

Newsletter-Only Subscriptions for v1.3x

Views: 295,978

Results 1,161 to 1,165 of 1,165
4 Oct 2021, 3:21 AM
#1161
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Newsletter-Only Subscriptions for v1.3x

noppie:

i have been trying to install this.. I get that ##########__WARNING: An Error occurred, please refresh the page and try again.If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

i went through all the files and removed the blank spaces.. and reloaded and still cannot get this to install through the zcplugin manager.
Help
what more info do you need.

What version for Zen Cart? What version Newsletter-only you are trying? Was the query backup before the error?

I think I was working on a higher version before my mind block... both are the installer versions and template changes..

Designed for ZC1.5.7 and tested only with php7.4 and with Newsletter-only v3.1 [https://www.zen-cart.com/downloads.php?do=file&id=29

](https://www.zen-cart.com/downloads.php?do=file&id=29)

4 Oct 2021, 5:03 AM
#1162
noppie avatar

noppie

Zen Follower

Join Date:
Mar 2004
Posts:
210
Plugin Contributions:
0

Re: Newsletter-Only Subscriptions for v1.3x

davewest:

What version for Zen Cart? What version Newsletter-only you are trying? Was the query backup before the error?

I think I was working on a higher version before my mind block... both are the installer versions and template changes..

Designed for ZC1.5.7 and tested only with php7.4 and with Newsletter-only v3.1 [https://www.zen-cart.com/downloads.php?do=file&id=29

](https://www.zen-cart.com/downloads.php?do=file&id=29)

not sure what you mean by backup.. i have about 5 or 6 databases in my cpanel. when I upgrade my store..I just fill in the new database.. less errors that way for me anyway.
(You are presently using: v1.5.7c) zencart'

and the newsletter plugin is the latest on in the plugins.

22 Jul 2022, 6:51 PM
#1163
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,717
Plugin Contributions:
56

Re: Newsletter-Only Subscriptions for v1.3x

Dave, are you still engaged with Zen Cart? There are a bunch of issues with the new version as have been noted here; not sure if we need to recommend the use of the prior version or not.

Here are a couple of logs:

[22-Jul-2022 14:53:01 America/New_York] Request URI: /mystore/newsletter.html, IP address: ::1
#1 require() called at [/Users/scott/sites/mystore/includes/templates/bootstrap/common/tpl_main_page.php:202]
#2 require(/Users/scott/sites/mystore/includes/templates/bootstrap/common/tpl_main_page.php) called at [/Users/scott/sites/mystore/index.php:94]
--> PHP Warning: require(includes/templates/template_default/templates/tpl_newsletter_default.php): failed to open stream: No such file or directory in /Users/scott/sites/mystore/includes/templates/bootstrap/common/tpl_main_page.php on line 202.

[22-Jul-2022 14:53:01 America/New_York] PHP Fatal error: require(): Failed opening required 'includes/templates/template_default/templates/tpl_newsletter_default.php' (include_path='.:/Applications/MAMP/bin/php/php7.4.21/lib/php') in /Users/scott/sites/mystore/includes/templates/bootstrap/common/tpl_main_page.php on line 202


[22-Jul-2022 14:36:18 America/New_York] Request URI: /mystore/, IP address: ::1
#1 require() called at [/Users/scott/sites/mystore/includes/modules/bootstrap/subscribe_header.php:20]
#2 include(/Users/scott/sites/mystore/includes/modules/bootstrap/subscribe_header.php) called at [/Users/scott/sites/mystore/includes/templates/bootstrap/common/tpl_header.php:149]
#3 require(/Users/scott/sites/mystore/includes/templates/bootstrap/common/tpl_header.php) called at [/Users/scott/sites/mystore/includes/templates/bootstrap/common/tpl_main_page.php:124]
#4 require(/Users/scott/sites/mystore/includes/templates/bootstrap/common/tpl_main_page.php) called at [/Users/scott/sites/mystore/index.php:94]
--> PHP Warning: require(includes/templates/template_default/templates/tpl_subscribe_header.php): failed to open stream: No such file or directory in /Users/scott/sites/mystore/includes/modules/bootstrap/subscribe_header.php on line 20.

[22-Jul-2022 14:36:19 America/New_York] PHP Fatal error: require(): Failed opening required 'includes/templates/template_default/templates/tpl_subscribe_header.php' (include_path='.:/Applications/MAMP/bin/php/php7.4.21/lib/php') in /Users/scott/sites/mystore/includes/modules/bootstrap/subscribe_header.php on line 20

Also the images in admin are not found when running the subscription_manager.php page.

22 Jul 2022, 7:54 PM
#1164
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,717
Plugin Contributions:
56

Re: Newsletter-Only Subscriptions for v1.3x

For those using the prior version, there's a bug - if you had the plugin installed from before, the NEWSONLY_SUBSCRIPTION_HEADER config had the values 'on' and 'off' (not 'true' or 'false') so you'd have to update the code or update the database. The code checks for this value are inconsistent - ./includes/modules/bootstrap/subscribe_header.php checks for 'on' and the others check true/false so check carefully.

23 Jul 2022, 12:48 PM
#1165
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,102
Plugin Contributions:
56

Re: Newsletter-Only Subscriptions for v1.3x

I'll also note that One-Page Checkout's "registered customers" feature provides a similar (and supported) means for customers to 'register' without providing address details ... at least until their first order.