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:
New Zenner
hello, but where do I put the image of the post?:dontgetit:blush::blush:
Administrator
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.
Zen Follower
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
Zen Follower
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.
Administrator
sammirah:
Nevermind the above message, I found it.
... and what did you find?
New Zenner
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?
Administrator
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).
New Zenner
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?
Administrator
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?
New Zenner
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"
Administrator
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.
New Zenner
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?
Administrator
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.
Administrator
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.
New Zenner
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!
Administrator
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
Administrator
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.
New Zenner
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.
Administrator
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?
New Zenner
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.
Tell staff why this post should be reviewed.