Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / All Other Contributions/Addons / News Box Manager v2.0.0 [Support Thread]

News Box Manager v2.0.0 [Support Thread]

30 Jan 2019, 9:16 AM
#41
echexxxxxxxx10 avatar

echexxxxxxxx10

New Zenner

Join Date:
Feb 2010
Posts:
58
Plugin Contributions:
0

Post #41 by echexxxxxxxx10

hello, but where do I put the image of the post?:dontgetit:blush::blush:

30 Jan 2019, 12:31 PM
#42
lat9 avatar

lat9

Administrator

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

Post #42 by lat9

echexxxxxxxx10:

hello, but where do I put the image of the post?:dontgetit:blush::blush:
You'd include the image for the post as an <img src="image_name_here" alt="something" /> tag in the post's description, if you use the TEXT editor in the admin. If you use an HTML editor, then you'd use your editor's 'image' control.

7 Mar 2019, 10:12 AM
#43
sammirah avatar

sammirah

Zen Follower

Join Date:
Apr 2012
Location:
Los Angeles, CA
Posts:
185
Plugin Contributions:
2

Post #43 by sammirah

The Admin menu not there!

I am running ZC 1.5.5f, 1st I uploaded a new install of the mod v. 2.0.0 and I followed the instructions to the letter. After uploading he admin section I pressed admin home and the green bar comes across the top to confirm the plugin was installed successfully. I then proceeded to install the includes files when I went to Configuration the Configuration->News Box Manager in not there and neither was the Tools->News Box Manager. So I went to Github and downloaded the master version 2.2.1 and completed the steps again, this time the green bar confirmed the upgrade from 2.0.0 to 2.2.1 was successful. Now only the Configuration->News Box Manager is missing. The plug-in works at least as far as making a news article and I was able to set up the side box but without the configuration I can not use all functionality. What can I do to fix it. Here is the link to my practice site where I uploaded it you will see the side box on the bottom left:http://atmospherebooks.com/webstore2/index.php?main_page=index

7 Mar 2019, 2:03 PM
#44
sammirah avatar

sammirah

Zen Follower

Join Date:
Apr 2012
Location:
Los Angeles, CA
Posts:
185
Plugin Contributions:
2

Post #44 by sammirah

sammirah:

The Admin menu not there!

I am running ZC 1.5.5f, 1st I uploaded a new install of the mod v. 2.0.0 and I followed the instructions to the letter. After uploading he admin section I pressed admin home and the green bar comes across the top to confirm the plugin was installed successfully. I then proceeded to install the includes files when I went to Configuration the Configuration->News Box Manager in not there and neither was the Tools->News Box Manager. So I went to Github and downloaded the master version 2.2.1 and completed the steps again, this time the green bar confirmed the upgrade from 2.0.0 to 2.2.1 was successful. Now only the Configuration->News Box Manager is missing. The plug-in works at least as far as making a news article and I was able to set up the side box but without the configuration I can not use all functionality. What can I do to fix it. Here is the link to my practice site where I uploaded it you will see the side box on the bottom left:http://atmospherebooks.com/webstore2/index.php?main_page=index

Nevermind the above message, I found it.

7 Mar 2019, 10:08 PM
#45
lat9 avatar

lat9

Administrator

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

Post #45 by lat9

sammirah:

Nevermind the above message, I found it.
... and what did you find?

15 Apr 2019, 9:13 PM
#46
boblodi avatar

boblodi

New Zenner

Join Date:
Apr 2019
Posts:
5
Plugin Contributions:
0

Post #46 by boblodi

Hi there i am brand new to Zen Cart (but not web dev) and have been working on this site I inherited for about 2 days. The site has been online and working fine for years, it is not the site that is new. Anyway. I have been tasked with setting up an area for my client to add news to their home page. I thought this looked perfect. I believe I installed everything properly, i got the message that News Box was installed, and i can see and configure it in the admin area. But when I go to add a news item, i get "WARNING: An Error occurred, please refresh the page and try again." If I refresh, i get it again. This site uses v1.5.5 and the English language pack. PHP 5.6. There are no new logs since January 2019, so, something is up with logging, too, I fear. Any advice on troubleshooting or even where to start?

16 Apr 2019, 11:55 AM
#47
lat9 avatar

lat9

Administrator

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

Post #47 by lat9

boblodi:

Hi there i am brand new to Zen Cart (but not web dev) and have been working on this site I inherited for about 2 days. The site has been online and working fine for years, it is not the site that is new. Anyway. I have been tasked with setting up an area for my client to add news to their home page. I thought this looked perfect. I believe I installed everything properly, i got the message that News Box was installed, and i can see and configure it in the admin area. But when I go to add a news item, i get "WARNING: An Error occurred, please refresh the page and try again." If I refresh, i get it again. This site uses v1.5.5 and the English language pack. PHP 5.6. There are no new logs since January 2019, so, something is up with logging, too, I fear. Any advice on troubleshooting or even where to start?
Welcome to the Zen Cart forums!

When you view the site's Tools->Server/Version information, does it show perhaps that the site is running on PHP 5.6 FPM? That PHP installation doesn't like to give up control as to where the PHP error-logs are written. Within that Server/Version information, find the error_log setting (which identifies where PHP logs will be written). For the admin, it *should *show something like c:/xampp/htdocs/mysite/logs/myDEBUG-adm-1555415275-25535.log (that suffix will change on each page reload).

The error logging for zc156 has been modified to take the FPM installations into account, so you might try using the /includes/extra_configures/enable_error_logging.php (and the associated /admin/includes/extra_configures/enable_error_logging) from Zen Cart's GitHub v156 branch (https://github.com/zencart/zencart/tree/v156).

16 Apr 2019, 2:24 PM
#48
boblodi avatar

boblodi

New Zenner

Join Date:
Apr 2019
Posts:
5
Plugin Contributions:
0

Post #48 by boblodi

lat9:

Welcome to the Zen Cart forums!

When you view the site's Tools->Server/Version information, does it show perhaps that the site is running on PHP 5.6 FPM? That PHP installation doesn't like to give up control as to where the PHP error-logs are written. Within that Server/Version information, find the error_log setting (which identifies where PHP logs will be written). For the admin, it *should *show something like c:/xampp/htdocs/mysite/logs/myDEBUG-adm-1555415275-25535.log (that suffix will change on each page reload).

The error logging for zc156 has been modified to take the FPM installations into account, so you might try using the /includes/extra_configures/enable_error_logging.php (and the associated /admin/includes/extra_configures/enable_error_logging) from Zen Cart's GitHub v156 branch (https://github.com/zencart/zencart/tree/v156).

Thank you for replying! So - i have 5.6.21 (Zend: 2.6.0). It tells me the logs are in html/logs - and when I look there, the most recent is Jan 19, 2019. It looks like logging errors is turned ON. Is there something else that has stopped the logging? Does this directory get too full and needs to be cleared out? Or are there really no errors since January?

16 Apr 2019, 3:59 PM
#49
lat9 avatar

lat9

Administrator

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

Post #49 by lat9

Looking at the output of that Server/Version tool, what is your setting for disable_functions? Be sure to look in the Local Value column.

Would you post back with a copy/paste of that local value for the error_log directive?

16 Apr 2019, 8:31 PM
#50
boblodi avatar

boblodi

New Zenner

Join Date:
Apr 2019
Posts:
5
Plugin Contributions:
0

Post #50 by boblodi

lat9:

Looking at the output of that Server/Version tool, what is your setting for disable_functions? Be sure to look in the Local Value column.

Would you post back with a copy/paste of that local value for the error_log directive?

Local value for error_log is: /nfs/c10/h12/mnt/226438/domains/domainame.net/html/logs/myDEBUG-adm-1555446431-966055.log

local value for disable_functions is... "no value"

17 Apr 2019, 10:41 AM
#51
lat9 avatar

lat9

Administrator

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

Post #51 by lat9

I'm running out of ideas, but as the "failure to log" is outside the range of this support-thread, please start a new general thread to address that issue.

22 Apr 2019, 12:30 AM
#52
boblodi avatar

boblodi

New Zenner

Join Date:
Apr 2019
Posts:
5
Plugin Contributions:
0

Post #52 by boblodi

lat9:

I'm running out of ideas, but as the "failure to log" is outside the range of this support-thread, please start a new general thread to address that issue.

I have had a more database-savvy person look into this and i have a followup question - not about logging - about the news not posting.

When we attempt to add a news item, the code tries to execute this database query:

insert into uwyz_box_news_content (news_title, news_content, news_metatags_title, news_metatags_keywords, news_metatags_description, box_news_id, languages_id) values ('Test News Item', 'test', 'test', 'test', 'test', '24', '1') 

So we went into the database to see what was in this uwyz_box_news_content database table, and what we found was this:

table uwyz_box_news_content

{

    box_news_id int 
    languages_id int

    news_title varchar(55)

    news_content text

};

Note that there is no column for news_metatags_title, news_metatags_keywords, news_metatags_description.

Any idea how these fields would not have been added to the table for the newest zen cart/news manager plugin? And is that the or related to the problem?

22 Apr 2019, 11:28 AM
#53
lat9 avatar

lat9

Administrator

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

Post #53 by lat9

I'd apparently found that issue (meta tags not included in initial install) ... back in September! See this (https://github.com/lat9/news_box_manager/issues/7) GitHub issue for the correction.

I'll be getting an updated version going later today.

22 Apr 2019, 11:56 AM
#54
lat9 avatar

lat9

Administrator

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

Post #54 by lat9

I've just submitted v2.2.1 of the News Box Manager to the Zen Cart plugins for review (https://www.zen-cart.com/downloads.php?do=file&id=1968%29; I'll post back here once it's available for download.

 This release contains corrections for the following GitHub issues:

#7: Meta-tags' fields not created on initial install
#8: Unwanted <br />'s added to the more_news page.

22 Apr 2019, 12:36 PM
#55
boblodi avatar

boblodi

New Zenner

Join Date:
Apr 2019
Posts:
5
Plugin Contributions:
0

Post #55 by boblodi

lat9:

I've just submitted v2.2.1 of the News Box Manager to the Zen Cart plugins for review (https://www.zen-cart.com/downloads.php?do=file&id=1968%29; I'll post back here once it's available for download.

 This release contains corrections for the following GitHub issues:

#7: Meta-tags' fields not created on initial install
#8: Unwanted <br />'s added to the more_news page.

Way cool - thank you! I will check in later to see if they approve the update and give it a try!

22 Apr 2019, 12:55 PM
#56
lat9 avatar

lat9

Administrator

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

Post #56 by lat9

boblodi:

Way cool - thank you! I will check in later to see if they approve the update and give it a try!
You can get an early look-see by downloading the zip directly from the plugin's GitHub repository: https://github.com/lat9/news_box_manager/releases/tag/v2.2.1

25 Apr 2019, 3:23 PM
#57
lat9 avatar

lat9

Administrator

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

Post #57 by lat9

lat9:

I've just submitted v2.2.1 of the News Box Manager to the Zen Cart plugins for review (https://www.zen-cart.com/downloads.php?do=file&id=1968%29; I'll post back here once it's available for download.

 This release contains corrections for the following GitHub issues:

#7: Meta-tags' fields not created on initial install
#8: Unwanted <br />'s added to the more_news page.
Now available for download.

6 Jul 2019, 4:36 PM
#58
cottageoven avatar

cottageoven

New Zenner

Join Date:
Jul 2019
Location:
Florida
Posts:
13
Plugin Contributions:
0

Post #58 by cottageoven

Installed and apparently working, but where is the setting for having it show up in the "home page centerbox" or how must I code it to be there? I have looked in many settings that would seem to be applicable, but haven't found anything related to the center box - only side boxes.

Thanks.

6 Jul 2019, 6:10 PM
#59
lat9 avatar

lat9

Administrator

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

Post #59 by lat9

CottageOven:

Installed and apparently working, but where is the setting for having it show up in the "home page centerbox" or how must I code it to be there? I have looked in many settings that would seem to be applicable, but haven't found anything related to the center box - only side boxes.

Thanks.
Did you merge the plugin's changes to YOUR_TEMPLATE's tpl_index_default.php?

6 Jul 2019, 10:25 PM
#60
cottageoven avatar

cottageoven

New Zenner

Join Date:
Jul 2019
Location:
Florida
Posts:
13
Plugin Contributions:
0

Post #60 by cottageoven

lat9:

Did you merge the plugin's changes to YOUR_TEMPLATE's tpl_index_default.php?

No, but the template I'm using (responsive_classic) didn't have a tpl_index_default.php in the distribution zip file but there is one there now and it does contain references to new box.