I can second that, happened to me on a client's site (1.5.5e)
Printable View
LOL thanks Frank, I thought I was going crazy. I have installed this mod certainly a dozen times or more with zero issues. Thanks @a_berezin.
Hello
Thank you for the form.
Greetings
Hello
You know why the sheet below generates an error HTTP 500 server error ?.
Anyone can help me?
No open admin administrator, closed store
config.sitemapxml.php
Best regards
CDGL
Hello,
My Setup: Sitemap.xml version 3.91, Zencart version 1.54
Getting strange results on last sitemapproducts.xml file. I have over 50,000 products in my store. When I rebuild all sitemaps the plugin produces the sitemapproducts.xml, 001, 002 etc. to 006 files without a problem but when it gets to sitemapproducts007.xml It says, under Type, "undefined!!!". Also the sitemap.xml file does not list the sitemapproducts007.xml file. No error logs ???????????
Anybody run into this problem?
Frank
Sitemap Link - http://religious-shop/sitemap.xml
You will notice that there is no sitemapproducts007.xml listed but it exists but shows error as stated above and is not formatted correctly.
Thanks for your help.
Frank
Maybe this url - http://religious-shop.com/sitemap.xml? :)
I see a problem with the http://religious-shop.com/sitemap/si...roducts007.xml - It's not finished.
1. How do you run the sitemap script? cron cli?
2. Check the error logs in the /logs directory.
1. I run the script from admin tools.
2. Here is an error:
[22-Jun-2017 18:51:45 UTC] Request URI: /admin/sitemapxml.php, IP address: 72.78.229.223
#1 mysqli_real_escape_string() called at [/home/religiousshop/public_html/includes/classes/db/mysql/query_factory.php:115]
#2 queryFactory->prepare_input() called at [/home/religiousshop/public_html/includes/classes/db/mysql/query_factory.php:496]
#3 queryFactory->prepareInput() called at [/home/religiousshop/public_html/admin/includes/functions/database.php:108]
#4 zen_db_input() called at [/home/religiousshop/public_html/admin/sitemapxml.php:100]
[22-Jun-2017 18:51:45 UTC] PHP Warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in /home/religiousshop/public_html/includes/classes/db/mysql/query_factory.php on line 115
3.What do you mean that the 007 file is not finished???? I noticed that it is not formatted correctly.
I changed the admin directory from the real one.
I hope the error sheds some light on the problem.
Thanks,
Frank
1. Try to start generating sitemap via cron cli, to remove the time limit.
2. Very strange error log. admin/sitemapxml.php:100 does not contain zen_db_input() - https://github.com/AndrewBerezin/zen...sitemapxml.php Check the date and time the generation was started and the date / time when the error logs were created. They must coincide. Generating sitemap though it is launched from the admin, but it is executed on the front, so in the logs you should search for error messages in the store.
3. When I said that the 0007 file was not finished, I had in mind just this - the file is not finished, it does not have closing tags. This can happen in the event of an unexpected (abnormal) termination of the script. For example, due to time limits, due to lack of memory or other.
I have installed this on 1.5.5e
The install works fine, however in Tools > Sitemap XML I get the following screenshots:
Attachment 17117
Attachment 17118
If I click the button to upgrade, it does something but then the screen remains the same asking me to upgrade the database.
Can you help please?
Right, well tried downloading the GitHub version, installed it and the same issue occurred. Still seeing the Upgrade button rather than the tools to generate a sitemap. What was your fix SWGUY? If it's in the current version that is for downloading from Zen Cart Modules, then it isn't working for me.
This post explains the fix:
https://www.zen-cart.com/showthread....92#post1330192
Just a follow up:
I managed to rebuild the sitemaps by doing this:
https://www.MYWEBSITE.co.uk/index.ph...ml&rebuild=yes
Yep my code already reads with that commented out like so:
sitemapxml_install.php
//$current_version = '3.9.3';
require_once(DIR_FS_ADMIN . DIR_WS_LANGUAGES . $_SESSION['language'] . '/sitemapxml.php');
Just wanted to offer up a recent lesson learned from an upgrade of an older version of this plugin to the most recent ZC published version (3.9.5). In includes/classes/sitemapxml.php, there was a change/correction in spelling of the constant SITEMAPXML_MAX_ENTRYS to SITEMAPXML_MAX_ENTRIES in all locations of use which is relatively good to see corrected, but also one of those "did it need to be" situations. Regardless, unfortunately for me the site on which the upgrade was occurring used a different setting of 50000 instead of 5000 on line 15
Well, if you focus on the number only as an obvious difference and forget to update the "language" part for that one line (updating all other uses), then upon execution of the code, the value will effectively be undefined and every record will be treated as an individual record rather than a group of records and further as a result, you will generate a file for each such record. Ie. if you have 10000 product in 300 categories, just the product and category sitemap files to be generated, you get 10300 files minimum...Code:define('SITEMAPXML_MAX_ENTRIES', 50000);
So, be sure that when updating this code from some of the older versions that the entirety of differences are addressed, both the changes in the code as well as the differences applied on the site.
I might have suggested that there be some minimum programmed expectation of the max entries, but really the only reason to have that is in such a clutzy situation of not properly/fully installing the software. I could have just as easily stored the new file and changed the number and been off in the running not to have "learned" this lesson with this program.
Hi at all,
I try to install this module on zencart 1.3.9.h.
As a instruction guide, after copying the files, I go to admin page but I receive a blank page error 500.
Can you help me?
A nice feature for sitemap would be: a list in admin of categories to skip over in building the sitemap. It could likely be used the same way hidecategories is handled.
I installed this plugin on 2 new site with zc 1.5.5e, same plugins, same hosting, only different sites...
In one site works perfectly, in another site doesn't work, but the real problem is that under tools>Sitemap XML I only have the button Upgrade sitemap xml sql (the version is yet 3.9.5), and I don't have the button Uninstall sitemap xml sql (like instructions say).
So I don't know how to uninstall and then re install.
I tried to upgrade, but says installed and on tools>sitemap xml I only have again button of upgrade...
How can I do?
Thanks
Was it a fresh install of the SitemapXML or an upgrade ?
fresh install, but then trying to solve I clicked on button upgrade
I attach 2 images Attachment 17243
the second trying clicking on button upgrade...
Attachment 17244
Aftre looking at your image, I don't undesrstand why you are installling 6 different versions...?
neither I, I don't understand, also because I did a fresh install also of zencart on the first of august 2017...
If I have to install everything again, I will do it, but I would know if I can solve it in some way
Just installed V 3.9.5 on fresh ZC 1.5.5e without any problems.
I think you did not install it well.
You need to make new directories (such as cgi-bin) and make the sitemap directory permission 777 etc'.
Please follow all instructions on a fresh ZC 1.5.5e and advice.
OK. But when I installed it on a fresh ZC 1.5.5e I did not see any of this...
fresh install of zc, and fresh install of sitemap xml, I have again the incremental updates, but now it works perfectly!!!
Thanks for support :hug:
Glad could help while the US zenners were sleeping... :cheers:
nothing, I installed then user tracking and I have same issue with sitemap xml... (but on the other site works!!!)
:blink:
site is hxxp://treexmas . com
exactly, fresh install of only zc, sitemap and user tracking...
If someone paying can help me, because I will be crazy...
Send PM to me
delete files and database of user tracking the sitemap xml works again!!!
I will ask on that forum...
thanks to everyone
does Sitemap xml have any influence in Google indexing images? all my sites except one have product urls and images indexed, one site is only product urls .... or is this a Google thing?
Hi Jim and thanks for your response - there is nothing in robots text blocking images.
As you are aware Images folder is in the root and I doubt that Googlebot would index every image in the folder as it contains all manner of images so I can only assume that Googlebot will index images from the Products pages - so I don't know if there is any instructions in the sitemapproducts.xml telling Googlebot to look specifically for images in the products sitemap - I somehow doubt it but it is strange that normally images show up in Google Webmaster Tools in sitemaps in addition to url's with a graph showing how many submitted and how many indexed. This is happening as it should with 5 of 6 of my sites but not with one in particular - only url's submitted/indexed - no mention of images at all.
Any ideas?
cheers, Mike
hello, just playing around with the news box, (read that you haven't look at it for a decate) and found what actually caused the problem. it's the name of a table which has changed. so I corrected the table name to reflect the db
from this
to thisPHP Code:
$last_date = $db->Execute("SELECT MAX(GREATEST(news_added_date, IFNULL(news_modified_date, '0001-01-01 00:00:00'), [COLOR="#FF0000"]news_published_date[/COLOR])) AS last_date
now it does not longer throw an error, but no data is written to the xml filePHP Code:
$last_date = $db->Execute("SELECT MAX(GREATEST(n.news_added_date, IFNULL(n.news_modified_date, '0001-01-01 00:00:00'), [COLOR="#FF0000"]n.news_start_date[/COLOR])) AS last_date
the result is
XML Parsing Error: no root element found
Location: https://xxxxxxxxxxxx/sitemap/sitemapboxnews.xml
Line Number 1, Column 1:
any idea where to look now?
thanks for reading.
Hi all,
I'm trying to install SitemapXML on an existing site running zencart 1.55e. The problem i'm facing has already been reported a couple of page back but not the cause nor the solution (the solution given was simply reinstall on a fresh 1.55e install, but i cannot do it).
In a few words, installed SitemapXML (renamed admin directory and copied all the stuff, all went good). Under Configuration the menu show correctly with all the options.
Under Tools the menu shows, if i enter It there is the Button "Upgrade SitemapXML SQL", pressing it runs the script and all seems ok (like in the pictures posted before) but no changes in the page, simply it show anly the button.
Maybe it is something related to the database, even if the script seems to work it really doesnt do anything... no error log.. nothing so i'm quite in a dire situation...
What should the script do? Is ther a way to do it manually (to test it)?
Any help would be appreciated
Best Regards.
Zencart 1.55e
SitemapXML 3.95
MySQL 5.5.57
Version PHP: 5.6.31
Not sure if this should be here but wasn't sure where else to put it.
I have SiteMapXml setup and it is working but every time I try to run a Cron job, via Bluehost, using the different examples given I always get an error back via email stating:
"/bin/sh: 5: command not found"
The last Cron job command line was as follows:
5 * * * curl -s 'http://www.wildsteedworx.com/index.php?main_page=sitemapxml\&rebuild=yes\&ping=yes'
I have tried all the examples but I am new at this so I don't fully understand it yet.
To have update sitemaps and automatically notify crawlers, you will need to set up a Cron job via your host's control panel.
To run it as a cron job (at 5:0am like you wanted), put in your crontab something like the following:
"0 5 * * * GET 'http://your_domain/index.php?main_page=sitemapxml\&rebuild=yes\&ping=yes'
or
0 5 * * * wget -q 'http://your_domain/index.php?main_page=sitemapxml\&rebuild=yes\&ping=yes' -O /dev/null
or
0 5 * * * curl -s 'http://your_domain/index.php?main_page=sitemapxml\&rebuild=yes\&ping=yes'
or
0 5 * * * php -f <path to shop>/cgi-bin/sitemapxml.php rebuild=yes ping=yes"
Any assistance would be greatly appreciated.
Thank You
ZC-1.5.5e, PHP 5.6.32, Database patch level 1.5.5
I'm getting the following error:
[14-Dec-2017 05:00:01 America/Denver] Request URI: /mysite/index.php?main_page=sitemapxml\&rebuild=yes\ping=yes, IP address: 173.254.47.110
#1 mysqli_free_result() called at [/home2/sub/public_html/mysite/includes/modules/pages/sitemapxml/sitemapxml_products.php:122]
#2 include(/home2/sub/public_html/mysite/includes/modules/pages/sitemapxml/sitemapxml_products.php) called at [/home2/sub/public_html/mysite/includes/templates/template_default/sitemapxml/tpl_main_page.php:21]
#3 require(/home2/sub/public_html/mysite/includes/templates/template_default/sitemapxml/tpl_main_page.php) called at [/home2/sub/public_html/mysite/index.php:97]
[14-Dec-2017 05:00:01 America/Denver] PHP Warning: mysqli_free_result() expects parameter 1 to be mysqli_result, null given in /home2/sub/public_html/mysite/includes/modules/pages/sitemapxml/sitemapxml_products.php on line 122
All of the sitemap files seem to be generated without any other problems.
Any help would be appreciated
ZC-1.5.5e, PHP 5.6.32, Database patch level 1.5.5
Resoled the previous issue (curl error)but now getting another log error.
Where is the above request coming from? The error is reproduced every time with that address entered into a browser.
[24-Dec-2017 11:15:46 America/Denver] Request URI: /xxx/index.php?main_page=sitemapxml&inline=yes, IP address: 100.2.73.215
#1 mysqli_free_result() called at [/home2/sub/public_html/xxx/includes/modules/pages/sitemapxml/sitemapxml_products.php:122]
#2 include(/home2/sub/public_html/xxx/includes/modules/pages/sitemapxml/sitemapxml_products.php) called at [/home2/sub/public_html/xxx/includes/templates/mmm/sitemapxml/tpl_main_page.php:21]
#3 require(/home2/sub/public_html/xxx/includes/templates/mmm/sitemapxml/tpl_main_page.php) called at [/home2/sub/public_html/xxx/index.php:97]
[24-Dec-2017 11:15:46 America/Denver] PHP Warning: mysqli_free_result() expects parameter 1 to be mysqli_result, null given in /home2/sub/public_html/xxx/includes/modules/pages/sitemapxml/sitemapxml_products.php on line 122
If this address is used, no errors: /xxx/sitemap.xml
Same here, on
ZC 1.5.5e,
PHP 7.0.22-0ubuntu0.16.04.1 (Zend: 3.0.0)
MySQL 5.7.20-0ubuntu0.16.04.1
MySQL Mode: STRICT_TRANS_TABLES, ERROR_FOR_DIVISION_BY_ZERO, NO_AUTO_CREATE_USER, NO_ENGINE_SUBSTITUTION
Keeps giving the upgrade button, does the upgrade (at least says so) and back to the upgrade button.
Anyone have a fix ?
Same problem as above in post #1857. Anyone have a fix?
Using Zen 1.55e
XMLsitemap 3.95
Could go a little further with moving a few lines into the code bracket:
Changing:
to:Code:$sitemapXML->SitemapClose();
}
mysqli_free_result($products->resource);
unset($products);
unset($catsArray);
The variable $products is only set within that if statement group and therefore regarding the mysqli_free_result there wouldn't be anything to free if $sitemapXML->SitemapOpen('products', $last_date) returns false.Code:$sitemapXML->SitemapClose();
mysqli_free_result($products->resource);
unset($products);
}
unset($catsArray);
It seems that some of my disabled products are included in the sitemap. Is this normal?
Hey guys! I am upgrading to 1.5.5.f and just installed the mod. Seems to be working, except the Configuration Menu is not formatting correctly.
Here is a screenshot:
Attachment 17654
Any idea what is wrong? We had existing configuration from our previous install, so do we need to uninstall the Sitemap Configuration table, and then do a fresh install?
Seems that the line:
Active plugins sitemapxml_categories.php;sitemapxml_mainpage.php;sitemapxml_manufacturers.php;s itemapxml_products.php;sitemapxml_products_reviews.php;sitemapxml_testimonials.p hp
Is too long... it's not editable and I don't know if the code has a trim to apply to it, but if the list were generated with a space between each module, perhaps it would wrap around and allow the edit box to either be on the right or down at the bottom.
As far as anything wrong with the module itself, no that is not the cause of this responsive screen response. The configuration menu is made of a set of code to apply to all configurations and just renders what is in the database.
Yeah, I just was doing a little experiment and the problem is definitely due to that "Active Plugins" line. When I remove the value from the database, the Admin Menu looks normal.
I have no idea why it's even a configuration variable if it's not editable. Here is a screenshot to illustrate that point:
Attachment 17655
I just thought it was strange to give an "update" button, when you can't really update anything in that variable configuration.
Overall, it's not a huge deal since the module still works. I just wonder, "Is your menu all wonky like mine with that long string?" Or do you not have a long string in your Active Plugins value?
I'm getting the following error logged when installing on zc 1.5.5f, running on PHP 5.6.30
PHP Warning: Illegal string offset 'SITEMAPXML_DIR_WS' in /Applications/MAMP/htdocs/tier1test/stOry-NTp-cOast/includes/modules/sitemapxml_install.php on line 34
Any ideas what is causing this?
The next thought would be that $default may not be properly identified to be an array.
Would suggest that starting at line 17 to insert the following and leave a line between the bottom of this and the top of the next if statement:
Code:if (!isset($default) || !is_array($default)) $default = array();
That solved the problem. I uploaded the module with your edit to a fresh install and no error was generated. The module appears to have installed correctly as all the expected menu items are there under configuration, and the page under Tools is present.
Thanks for the help.
Just following up mc12345678 about adding spaces to stop the menu going all over. That worked for me.
I edited sitemapxml_install.php on roughly line 56 like this:
'SITEMAPXML_PLUGINS' => array(CFGTITLE_SITEMAPXML_PLUGINS, 'sitemapxml_categories.php; sitemapxml_mainpage.php; sitemapxml_manufacturers.php; sitemapxml_products.php; sitemapxml_products_reviews.php; sitemapxml_testimonials.php', CFGDESC_SITEMAPXML_PLUGINS, 15, null, 'zen_cfg_read_only('),
And the menu formatted correctly.
I have another problem though. When you go to Tools > Sitemap XML all I get is a button saying 'Upgrade SitemapXML SQL'. When I click it, it upgrades Sitemap XML even though it was a fresh install. But after upgrading, the button remains. I've tried commenting the button out of admin/sitemapxml.php but that doesn't work and leaves a blank screen. Any ideas?
Attachment 17691
This is what is happening
The installer is looking a little buggy:
admin/includes/modules/sitemapxml_install.php - line 24 - 27:
if (defined('SITEMAPXML_CHECK_DUBLICATES')) {
$sql = "UPDATE " . TABLE_CONFIGURATION . " SET configuration_key='SITEMAPXML_CHECK_DUPLICATES' where configuration_key='SITEMAPXML_CHECK_DUBLICATES'";
$db->Execute($sql);
}
wants to be:
if (defined('SITEMAPXML_CHECK_DUPLICATES')) {
$sql = "UPDATE " . TABLE_CONFIGURATION . " SET configuration_key='SITEMAPXML_CHECK_DUPLICATES' where configuration_key='SITEMAPXML_CHECK_DUPLICATES'";
$db->Execute($sql);
}
That doesn't make sense. The first set of code says: if the configuration_key is misspelt, correct the spelling. The second says: if it is spelt correctly just make it the same with no change.
Historically the plugin had an incorrect spelling for that key. In more recent versions, the spelling was changed. The installer recognizes and corrects the historical mistake.
Just updating you guys on my issue. I had my website running locally on my machine using MAMP. When I put it live the Sitemap module worked correctly. So it was an issue when installing on a website if running a site through MAMP.
I just used the stock files after recreating a website that had it installed before. What I saw before did not look like the normal sitemap mod so I figured it was a version created by someone else. Now I have the same issue reported before with the uneditable and weird looking settings. I do think it best to uninstall this first as the database was the only thing pulled from the site for this new site. So first I installed it on a test site with 1.5.5.f. Same results so there is something wrong with this.
Suggest at least two things. As usual addressing the items of the posting tips, little assistance can be directly offered when not knowing the conditions involved (results in a post similar to this in most cases). Second reviewing at least the recent posts. There have been a few things identified as a result of the way some things were coded as compared to the direction more up-to-date php has gone.
Sorry. The problem is what Jeff_Mash reported. Css is obviously wonky and no variables are editable which I see is the way it was in previous versions. I had never noticed that before.
I had the same problem. I checked, and double checked that all the files had been uploaded correctly.
I resolved it by doing the following:
admin/includes/modules/sitemapxml_install.php
Uncommented line 14 and changed the version number to 3.9.5
$current_version = '3.9.5';
Pressing the "Upgrade SitemapXML SQL" button again resulted in the options page now displaying correctly.
and what would cause the sitemaps to be written outside of the sitemap folder? Never seen that happen since the change to the sitemap folder. Upgraded 1.5.5f site with new sitemap installation.
I don't know how that happened but I uninstalled and now it's working correctly.
Hi, by making the sitemap the links to the images are generated large ones, which can not be read, we would like to generate those loaded in the original "images" folder, where we can make the change? Thank you.
I'm probably missing something obvious, but what populates the files:
sitemapxml_cats2man.php
sitemapxml_news.php
When I generate them, they're empty so that's no help.
Strange issue here with ZenCart 1.5.5f. Getting the following error in /logs/ when ANY admin page is loaded:
Commenting out the following code makes the error go away:Code:[07-Jun-2018 11:14:53 America/New_York] Request URI: xxx/orders.php, IP address: 72.194.64.174
#1 trigger_error() called at [/xxx/includes/functions/plugin_support.php:41]
#2 plugin_version_check_for_updates() called at [/xxx/includes/init_includes/init_sitemapxml.php:167]
#3 require(/xxx/includes/init_includes/init_sitemapxml.php) called at [/xxx/includes/autoload_func.php:48]
#4 require(/xxx/includes/autoload_func.php) called at [/xxx/includes/application_top.php:171]
#5 require(/xxx/includes/application_top.php) called at [/xxx/orders.php:10]
[07-Jun-2018 11:14:53 America/New_York] PHP Notice: CURL error checking plugin versions: [ in /xxx/includes/functions/plugin_support.php on line 41
xxx\includes\init_includes\init_sitemapxml.php
Code:// Version Checking
if ($zencart_com_plugin_id != 0) {
$new_version_details = plugin_version_check_for_updates($zencart_com_plugin_id, $current_version);
if ($_GET['gID'] == $configuration_group_id && $new_version_details != FALSE) {
$messageStack->add("Version ".$new_version_details['latest_plugin_version']." of " . $new_version_details['title'] . ' is available at <a href="' . $new_version_details['link'] . '" target="_blank">[Details]</a>', 'caution');
}
}
my config:
zencart v1.5.4
Sitemap XML v 3.9.5
Apache v2.4.6
php 5.4.23
perl 5.16.3
First off this is a Great addon. It's fast and lists all products etc. Thank you for making and sharing it....
the problem I'm having is with the products w/images sitemap. The links are all soft 404 error pages with "Sorry, the product was not found." the link looks like this:
the correct link looks like this...Code:https://www.customshopping.com/index.php?main_page=product_info&products_id=117
We have almost 3,000 products so fixing each link would be very time consuming to say the least.. LOLCode:https://www.customshopping.com/index.php?main_page=product_info&cPath=4_159&products_id=117
I have done the install-uninstall-install thingy but it's still the same outcome.
If anyone can point me to where I need to adjust the code or add a link to (virtual host) for the cgi/php file or whatever it takes to produce full correct links, I would be very thankful.
PS.. I am a hardware person not a coder so please be kind... LOL
ok I searched through
240 directories 8152 files (skipped images.. Lol) and in sitemapxml_install.php on online 63 I found this, which I changed to true..
now when you bring the xml up in a browser window which loads the "/includes/templates/template_default/css/gss.xsl" and click a link you get the product page... but if you copy and paste the raw link, which still has the & in it... it opens a "product not found" pageCode:'SITEMAPXML_PRODUCTS_USE_CPATH' => array(CFGTITLE_SITEMAPXML_PRODUCTS_USE_CPATH, 'true', CFGDESC_SITEMAPXML_PRODUCTS_USE_CPATH, 32, null, 'zen_cfg_select_option(array(\'true\', \'false\'),'),
'SITEMAPXML_PRODUCTS_IMAGES' =>
so 2 questions...
1. did I miss the correct sitemap config file?? if so can you tell me it's name??
2. can the sitemap be built WITH the CPATH in the raw link or does it only add it when the gss.xsl template is used?
ok I searched through
240 directories 8152 files (skipped images.. Lol) and in sitemapxml_install.php on online 63 I found this, which I changed to true..
now when you bring the xml up in a browser window which loads the "/includes/templates/template_default/css/gss.xsl" and click a link you get the product page... but if you copy and paste the raw link, which still has the & in it... it opens a "product not found" pageCode:'SITEMAPXML_PRODUCTS_USE_CPATH' => array(CFGTITLE_SITEMAPXML_PRODUCTS_USE_CPATH, 'true', CFGDESC_SITEMAPXML_PRODUCTS_USE_CPATH, 32, null, 'zen_cfg_select_option(array(\'true\', \'false\'),'),
'SITEMAPXML_PRODUCTS_IMAGES' =>
so 2 questions...
1. did I miss the correct sitemap config file?? if so can you tell me it's name??
2. can the sitemap be built WITH the CPATH in the raw link or does it only add it when the gss.xsl template is used?
sorry my last post popped up twice.. my bad
In Admin configuration/Sitemap XML is all the configurations for what you are asking for.. You don't need to edit code to get them, just change the settings there... If for some reason the configuration page is not on your site admin, read back some posts, I think someone posted a fix...
Daaaaa... never thought to look in the store config tab.... must be a case of "Not seeing the forest cuz there are to many trees in the way"
got it working the way I need...
Thank you
1.5.5f sitemapxml v3.9.5
Likely a question that doesn't need to be asked but by enabling 'Generate Products Image tags for products urls' am I right in assuming this will tell the bots where the images are for a particular product url generated in sitemap/sitemapproducts.xml ? ... will this then likely increase the number of images that get indexed in WMT? (always well down by comparison to products)
cheers, Mike
Greetings,
Adding SitemapXML v3.9.5 to ZC 1.5.4.
In the README.md under "Deleting OLD copies of this mod (circa 1.3.8 - such as version 2.1.0, which was around for a number of years)"
Does this mean I can delete these files now from SitemapXML v3.9.5 BEFORE I install into ZC 1.5.4?
Thanks :D
v1.5.5f PHP 7.1 plugin version 3.9.5
getting myDEBUG error as follows (on 4 sites) - looking for assistance on how to fix this - please.
cheers,Code:[09-Oct-2018 00:00:27 Australia/Melbourne] Request URI: /index.php?main_page=sitemapxml\&rebuild=yes\&ping=yes, IP address: 223.130.27.110
#1 mysqli_free_result() called at [/home/treeofl3/public_html/includes/modules/pages/sitemapxml/sitemapxml_products.php:122]
#2 include(/home/treeofl3/public_html/includes/modules/pages/sitemapxml/sitemapxml_products.php) called at [/home/treeofl3/public_html/includes/templates/template_default/sitemapxml/tpl_main_page.php:21]
#3 require(/home/treeofl3/public_html/includes/templates/template_default/sitemapxml/tpl_main_page.php) called at [/home/treeofl3/public_html/index.php:97]
[09-Oct-2018 00:00:27 Australia/Melbourne] PHP Warning: mysqli_free_result() expects parameter 1 to be mysqli_result, null given in /home/treeofl3/public_html/includes/modules/pages/sitemapxml/sitemapxml_products.php on line 122
Mike
See this post for solution: https://www.zen-cart.com/showthread....06#post1339806
Any thoughts been given to adding Image details to the XML Sitemaps?
See https://support.google.com/webmasters/answer/178636