FixItPete Posted September 25, 2008 Share Posted September 25, 2008 Well all I did to take care of my problem was copy over my v1.5 with v2.0 of the dynamic sitemap file in the catalog and all is working 100% now. :) I also re-enabled the right side boxes, for some reason they were //ed out. ? I don't know if it was the right way, but not it works. ;) Quote I find the fun in everything. Link to comment Share on other sites More sharing options...
sepulalo Posted September 26, 2008 Share Posted September 26, 2008 Hi, the problem is in html_output.php i cant find how to solve it right now but is the HTML href link wrapper function I have installed Dynamic Sitemap V 4.0.1 and my categories and manufactuer sitemaps look like this: (www.eddies-place.com is the website) Creating categories sitemap. Category ID --> URL 994 --> http://localhost/optics-spotting-telescopes-c-993_994.html 994 --> http://localhost/optics-spotting-telescopes-c-993_994.html 994 --> http://localhost/optics-spotting-telescopes-c-993_994.html 994 --> http://localhost/optics-spotting-telescopes-c-993_994.html 995 --> http://localhost/optics-scopes-c-993_995.html 995 --> http://localhost/optics-scopes-c-993_995.html 995 --> http://localhost/optics-scopes-c-993_995.html 995 --> http://localhost/optics-scopes-c-993_995.html 995 --> http://localhost/optics-scopes-c-993_995.html 995 --> http://localhost/optics-scopes-c-993_995.html 995 --> http://localhost/optics-scopes-c-993_995.html 995 --> http://localhost/optics-scopes-c-993_995.html 995 --> http://localhost/optics-scopes-c-993_995.html 995 --> http://localhost/optics-scopes-c-993_995.html 995 --> http://localhost/optics-scopes-c-993_995.html 995 --> http://localhost/optics-scopes-c-993_995.html 995 --> http://localhost/optics-scopes-c-993_995.html Creating manufacturers sitemap. Manufacturer --> URL Uncle Mikes --> http://localhost/uncle-mikes-m-11.html Uncle Mikes --> http://localhost/uncle-mikes-m-11.html Uncle Mikes --> http://localhost/uncle-mikes-m-11.html Uncle Mikes --> http://localhost/uncle-mikes-m-11.html Uncle Mikes --> http://localhost/uncle-mikes-m-11.html Uncle Mikes --> http://localhost/uncle-mikes-m-11.html Uncle Mikes --> http://localhost/uncle-mikes-m-11.html Uncle Mikes --> http://localhost/uncle-mikes-m-11.html Uncle Mikes --> http://localhost/uncle-mikes-m-11.html Uncle Mikes --> http://localhost/uncle-mikes-m-11.html Uncle Mikes --> http://localhost/uncle-mikes-m-11.html Uncle Mikes --> http://localhost/uncle-mikes-m-11.html Uncle Mikes --> http://localhost/uncle-mikes-m-11.html Uncle Mikes --> http://localhost/uncle-mikes-m-11.html Uncle Mikes --> http://localhost/uncle-mikes-m-11.html Uncle Mikes --> http://localhost/uncle-mikes-m-11.html Uncle Mikes --> http://localhost/uncle-mikes-m-11.html Smith & Wesson --> http://localhost/smith-wesson-m-12.html MagLite --> http://localhost/maglite-m-14.html MagLite --> http://localhost/maglite-m-14.html MagLite --> http://localhost/maglite-m-14.html MagLite --> http://localhost/maglite-m-14.html MagLite --> http://localhost/maglite-m-14.html MagLite --> http://localhost/maglite-m-14.html MagLite --> http://localhost/maglite-m-14.html Cold Steel --> http://localhost/cold-steel-m-15.html Cold Steel --> http://localhost/cold-steel-m-15.html Cold Steel --> http://localhost/cold-steel-m-15.html Cold Steel --> http://localhost/cold-steel-m-15.html I cannot determine why I am getting all the duplicates. Any suggestion will be greatly appreciated. The products sitemap looks fine. Any ideas? Eddie Quote Link to comment Share on other sites More sharing options...
zaini Posted September 26, 2008 Share Posted September 26, 2008 (edited) Hello, thanks for your contrib !!!! However, I have some troubles : Just one : I can't include php file! Exclude file works correctly, but when I choose "include", nothing changes.... (version dynamic_sitemap v 3.5.5.zip) Edited September 26, 2008 by zaini Quote Link to comment Share on other sites More sharing options...
qahsan Posted September 28, 2008 Share Posted September 28, 2008 I followed the instructions and getting the following error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. any thoughts? Quote Link to comment Share on other sites More sharing options...
qahsan Posted September 29, 2008 Share Posted September 29, 2008 This is what i get when run the site maintenance: 1 total manufacturers 35 total pages Creating Specials sitemap. Page --> URL 0 total pages of specials XML Site Map Creation Completed Successfully! Click here to return to Site Map Maintenance. Seems like all works out, but it cannot load the page? is there something i am missing? i was reading about the error that i am getting and its related to mod_rewrite has top be configured and enabled? if thats the case mine is not congiured and enabled. does anyone know how to do that? Please help! thanks. Quote Link to comment Share on other sites More sharing options...
azbrat3 Posted October 12, 2008 Share Posted October 12, 2008 (edited) I did a fresh install of Dynamic Sitemap v 3.5.6, everything looks good. Site submits successfully! Only problem I am getting is lastmod not writing to http://castbakery.com/catalog/smmain.xml. In Webmaster tools, Google is returning Status Warnings: Total URLs in Sitemap: 31 for that file. Invalid date: An invalid date was found. Please fix the date or formatting before resubmitting. I've double checked the install, but I can't find anything I did wrong with it. I'm not sure if its a coding issue with the latest version. Edited October 12, 2008 by azbrat3 Quote Link to comment Share on other sites More sharing options...
azbrat3 Posted October 13, 2008 Share Posted October 13, 2008 I did a fresh install of Dynamic Sitemap v 3.5.6, everything looks good. Site submits successfully! Only problem I am getting is lastmod not writing to http://castbakery.com/catalog/smmain.xml. In Webmaster tools, Google is returning Status Warnings: Total URLs in Sitemap: 31 for that file. Invalid date: An invalid date was found. Please fix the date or formatting before resubmitting. I've double checked the install, but I can't find anything I did wrong with it. I'm not sure if its a coding issue with the latest version. Never mind, I fixed it. In catalog/admin/create_xml_sitemaps.php The line of code: fwrite($fh, utf8_encode('<url><loc>' . smspecialchars($fPath . $files[$b]['path']) . '</loc><lastmod>' . $files[$b]['modified'] . '</lastmod></url>'."\n")); changed it to fwrite($fh, utf8_encode('<url><loc>' . tep_href_link($files[$b]['path'],'','NONSSL',false) . '</loc><lastmod>' . $files[$b]['modified'] . '</lastmod></url>'."\n")); Quote Link to comment Share on other sites More sharing options...
No1Son Posted October 15, 2008 Share Posted October 15, 2008 (edited) HI help please!!!!…if anyone could point me in the right direction it would be much appreciated as I have gooled to I’am blue in the face and cant seem to find an answer to my problem. I have install dynamic sitemap 3.5.2 and seo url by chemo. The problem I’am having is with the urls are now SEO friendly but the site map still shows the OSC path.. Ie SEO URL .. /sliding-sash-hardware-turbo-balances-c-22_38.html Dynamic site map path /index.php?cPath=22_38 This is causing problems with my submitted site maps in Google as its picking it up as lots of 301 redirects and therefore not spidering the map. If anyone can give me a pointer on how to solve this I would be very grateful. Mike Edited October 15, 2008 by No1Son Quote Link to comment Share on other sites More sharing options...
SmartHome Posted October 20, 2008 Share Posted October 20, 2008 (edited) Hi, the contribution is working perfectly with my shop. I just have got a problem with sorting the dynamic sitemap in an alphabetical order. At the moment all sites are listed, but by heading_title and date of first publishing. How do I have to change the code to make sure, that the listed sites are only sorted in an alphabetical order? Thank you for support. Greetings from Germany Edited October 20, 2008 by SmartHome Quote Link to comment Share on other sites More sharing options...
octav38 Posted October 30, 2008 Share Posted October 30, 2008 Hi MNK! Sorry for my english. I install your new version sitemap V4.0 it,is working great.I can acces the google,y..only in browser Mozila_it is ok but i have a small,but for me BIG problem: All it is ok and work ok in Mozzila when i clik on the sitemap link,but in IE the link apear so: Mon mot de passeInformer une connaissance sur J'ai oublié mon mot de passe !Qu'y-a-t-il dans mon panier ?Creating XML Site MapsLivraison & retourPlan du SiteVoyons ce que nous avons-làInscriptions newslettersRecherche avancéeAchetez-les tant quils sont en promo !Historique de mes commandesCritiquesPanier visiteur/Panier membreTous nos produitsMon carnet d'adresses personnelInformation commandeNotifications de produitsAjouter une entrée du carnet d'adresses In Mozilla it is ok. I try changed the cod from: catalog/dynamic_sitemap.php And also i try put the dynamic_sitemap.php from contribution 3 but it is same error.It,s work great in Mozilla ,but in IE are not ok. Any advice pls? Th a lots_Octav. Hi! :rolleyes: I resolve the problem.It,i posible somebody have same problem.I hope use... In catalog/dynamic_sitemap.php <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> reply with: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> and it,s work great in all the browser: IE,Mozilla,Opera,Netscape_and SEO. Quote Link to comment Share on other sites More sharing options...
♥multimixer Posted November 7, 2008 Share Posted November 7, 2008 I did changes for STS users as it was suggested, when I run "submit" I got the page with links, but still file sitemaps.xml is old. What kind of changes STS users should do? I just installed version v3.5.6 and everything looks fine, no problem at all, .xml files are getting updated Quote My community profile | Template system for osCommerce - New: Responsive | Feedback channel Link to comment Share on other sites More sharing options...
qwasha Posted November 12, 2008 Share Posted November 12, 2008 (edited) I have trouble which I am unable to resolve: ... http://www.edn.czindex.php --> 2008-11-12T16:07:48-08:00 http://www.edn.czproducts_new.php --> 2007-06-14T00:52:00-08:00 http://www.edn.czprivacy.php --> 2006-03-27T19:49:00-08:00 ... As you see, there is a "/" missing in the path. I have tried to change the settings in configure.php, but without any success. Any advice? SOLVED. THANKS! Edited November 12, 2008 by qwasha Quote Link to comment Share on other sites More sharing options...
qwasha Posted November 13, 2008 Share Posted November 13, 2008 (edited) OK, so here is another one. Upon installation of the header tags for novices contribution, the main stitemap does not show the name of php files, neither the time of the last update ... ... http://www.edn.cz/ --> http://www.edn.cz/ --> http://www.edn.cz/ --> ... Any ideas? Edited November 13, 2008 by qwasha Quote Link to comment Share on other sites More sharing options...
sultanos Posted November 16, 2008 Share Posted November 16, 2008 Hello i am having couple of issues, most probably they are becouse i am using a custom , oscommerce. I have 3 questions. 1º-I have added SEO URL , is there any way to show them at the XML files? 2º- <?xml version="1.0" encoding="UTF-8"?> <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <sitemap><loc>smmain.xml</loc><lastmod>2008-11-14T18:36:25+00:00</lastmod></sitemap> <sitemap><loc>smcats.xml</loc><lastmod>2008-11-14T18:36:25+00:00</lastmod></sitemap> <sitemap><loc>smproducts.xml</loc><lastmod>2008-11-14T18:36:25+00:00</lastmod></sitemap> <sitemap><loc>smmfg.xml</loc><lastmod>2008-11-14T18:36:25+00:00</lastmod></sitemap> <sitemap><loc>smspecials.xml</loc><lastmod>2008-11-14T18:36:25+00:00</lastmod></sitemap> </sitemapindex> For some weird reason my xml files come out like this without path.... 3º-Another questions refers to the sitemap at the web when i display it , the column at the right hand side gets two empty categories that have no link nor text, any idea why this happens ? Thanks in advance to anyone that helps me with this matters. Quote If you are not part of the solution, you are part of the problem Link to comment Share on other sites More sharing options...
arrowmodels Posted November 19, 2008 Share Posted November 19, 2008 Hi Jack Now that I have successfully got your Header Tags SEO contribution up and running, I then installed your Dynamic Sitemap contribution. At this stage evrything appears to be OK but I have the following error message on my Site Map Maintenance page: Catchable fatal error: Object of class box could not be converted to string in /home/arrowmod/public_html/admin/includes/functions/html_output.php on line 281 Any ideas please? Best Regards Peter P.S. I think I owe you something for all your excellent contributions and the support. Please advise me of your Paypal account. Quote Link to comment Share on other sites More sharing options...
arrowmodels Posted November 19, 2008 Share Posted November 19, 2008 Hi Jack Now that I have successfully got your Header Tags SEO contribution up and running, I then installed your Dynamic Sitemap contribution. At this stage evrything appears to be OK but I have the following error message on my Site Map Maintenance page: Catchable fatal error: Object of class box could not be converted to string in /home/arrowmod/public_html/admin/includes/functions/html_output.php on line 281 Any ideas please? Best Regards Peter P.S. I think I owe you something for all your excellent contributions and the support. Please advise me of your Paypal account. Hi Jack Slowly worked my way through the support thread and found the answer to the problem. Best Regards Peter Quote Link to comment Share on other sites More sharing options...
sultanos Posted November 21, 2008 Share Posted November 21, 2008 3º-Another questions refers to the sitemap at the web when i display it , the column at the right hand side gets two empty categories that have no link nor text, any idea why this happens ? SOLVED HERE PAGE 37 more or less a quick little bug fix, to the orphaned li tag (which shows as an extra bullet point) at the bottom of the pages list on the sitemap, if you have chosen to exclude all info boxes from the sitemap listin dynamic_sitemap.php about line 273 change the box files section from // Box Files for ($b = 0; $b < count($boxHeading); ++$B) { echo '<li>'.$boxHeading[$b]['heading'][$b]; $nb_elements = count($boxHeading[$b]['filename']); if($nb_elements > 0) { if (tep_not_null($boxHeading[$b]['filename'][0])) { echo '<ul>'; for ($f = 0; $f < $nb_elements ; ++$f) if (tep_not_null($boxHeading[$b]['filename'][$f])) echo '<li><a title="'. $boxHeading[$b]['boxtext'][$f] .'" href="' . tep_href_link($boxHeading[$b]['filename'][$f]) . '">' . $boxHeading[$b]['boxtext'][$f] . '</a></li>'; echo '</ul>'; } } echo '</li>'; } to // Box Files for ($b = 0; $b < count($files['name']); ++$B) { echo '<li><a title="'. $files['name'][$b] .'" href="' . tep_href_link($files['path'][$b]) . '">' . $files['name'][$b] . '</a></li>'; } // Box Files for ($b = 0; $b < count($boxHeading); ++$B) { $nb_elements = count($boxHeading[$b]['filename']); if($nb_elements > 0) { echo '<li>'.$boxHeading[$b]['heading'][$b]; if (tep_not_null($boxHeading[$b]['filename'][0])) { echo '<ul>'; for ($f = 0; $f < $nb_elements ; ++$f) if (tep_not_null($boxHeading[$b]['filename'][$f])) echo '<li><a title="'. $boxHeading[$b]['boxtext'][$f] .'" href="' . tep_href_link($boxHeading[$b]['filename'][$f]) . '">' . $boxHeading[$b]['boxtext'][$f] . '</a></li>'; echo '</ul>'; } echo '</li>'; } } Quote If you are not part of the solution, you are part of the problem Link to comment Share on other sites More sharing options...
arrowmodels Posted November 23, 2008 Share Posted November 23, 2008 Hi Can anyone advise me on this problem? I inadvertently "included" tell_a_friend.php in "catalog boxes" in site map maintenance. The button appeared on the shop's dynamic sitemap but no description along side it. When I tried to exclude it from the list in catalog boxes I found that the name does not appear but there is a blank entry. It is impossible to exclude this blank entry. Anyone got any ideas as to how to fix? Best Regards Peter Quote Link to comment Share on other sites More sharing options...
Guest Posted November 23, 2008 Share Posted November 23, 2008 Hi Can anyone advise me on this problem? I inadvertently "included" tell_a_friend.php in "catalog boxes" in site map maintenance. The button appeared on the shop's dynamic sitemap but no description along side it. When I tried to exclude it from the list in catalog boxes I found that the name does not appear but there is a blank entry. It is impossible to exclude this blank entry. Anyone got any ideas as to how to fix? Best Regards Peter A quick-n-dirty fix would be to modify the database entry. Quote Link to comment Share on other sites More sharing options...
arrowmodels Posted November 23, 2008 Share Posted November 23, 2008 Hi Dave Many thanks for reply. I'm a newbie to all this but I managed to work out the database entry and inserted tell_a_friend.php and it worked. Best Regards Peter Quote Link to comment Share on other sites More sharing options...
arrowmodels Posted November 27, 2008 Share Posted November 27, 2008 Never mind, I fixed it. In catalog/admin/create_xml_sitemaps.php The line of code: fwrite($fh, utf8_encode('<url><loc>' . smspecialchars($fPath . $files[$b]['path']) . '</loc><lastmod>' . $files[$b]['modified'] . '</lastmod></url>'."\n")); changed it to fwrite($fh, utf8_encode('<url><loc>' . tep_href_link($files[$b]['path'],'','NONSSL',false) . '</loc><lastmod>' . $files[$b]['modified'] . '</lastmod></url>'."\n")); Hi Tony I got the same errors as you and tried your mod but got errors when I tried to create the sitemap. It didn't like the NONSSL part of the mod. Any ideas? Unfortunately I am not a programmer. Best Regards Peter Quote Link to comment Share on other sites More sharing options...
Tom- Posted December 3, 2008 Share Posted December 3, 2008 Just installed this and it works OK, but I've got "All Products" Contribution also installed and when attempting to apply the All Products fix, I have encountered an issue with finding the file to edit? To quote from the Readme: To make all products work with Dynamic sitemap: [b]in customer service:[/b] ***FIND: //BOF allprods modification $info_box_contents[] = array('align' => 'center', 'text' => '<font size=-2><a href="' . tep_href_link(FILENAME_ALLPRODS, '', 'NONSSL') . '">' . BOX_INFORMATION_ALLPRODS . '</a></font>'); //EOF allprods modification ***REPLACE WITH: //BOF allprods modification '<a href="' . tep_href_link(FILENAME_ALLPRODS, '', 'NONSSL') . '">' . BOX_INFORMATION_ALLPRODS . '</a>'); //EOF allprods modification What the hell sort of file is "customer service" and where do I find it to apply the edit? Your help is appreciated on this. Quote Link to comment Share on other sites More sharing options...
artstyle Posted December 3, 2008 Share Posted December 3, 2008 Hi, I have installed dynamic sitemap v2.0. I am looking for the fix to eliminate the extra bullet that shows up. I don't have the same code as posted by a member a few posts up. My code has this part Any help is greatly appreciated Thanks <ul class="sitemap"> <?php if (count($files['name']) > 0) { for ($b = 0; $b < count($files['name']); ++$B) { ?> <li><?php echo '<a title="'. $files['name'][$b] .'" href="' . tep_href_link($files['path'][$b]) . '">' . $files['name'][$b] . '</a>'; ?></li> <?php } } if (count($boxHeading) > 0) { for ($b = 0; $b < count($boxHeading); ++$B) { echo '<li>'.$boxHeading[$b]['heading'][$b].'</li>'; ?> <ul><?php for ($f = 0; $f < count($boxHeading[$b]['filename']); ++$f) if (tep_not_null($boxHeading[$b]['filename'][$f])) echo '<li><a title="'. $boxHeading[$b]['boxtext'][$f] .'" href="' . tep_href_link($boxHeading[$b]['filename'][$f]) . '">' . $boxHeading[$b]['boxtext'][$f] . '</a></li>'; ?> </ul> <?php } } ?> </ul> Quote Link to comment Share on other sites More sharing options...
lildog Posted December 3, 2008 Share Posted December 3, 2008 oops....that is a custom box I have. The edit needs to be applies to:catalog/includes/boxes/information.php. AND DON'T FORGET: This same basic step needs to be performed for any boxes where you want the all products link to show in the sitemap.(note this only works on certain boxes, hopefully this will get more attention in the future) lildog Just installed this and it works OK, but I've got "All Products" Contribution also installed and when attempting to apply the All Products fix, I have encountered an issue with finding the file to edit? To quote from the Readme: To make all products work with Dynamic sitemap: [b]in customer service:[/b] ***FIND: //BOF allprods modification $info_box_contents[] = array('align' => 'center', 'text' => '<font size=-2><a href="' . tep_href_link(FILENAME_ALLPRODS, '', 'NONSSL') . '">' . BOX_INFORMATION_ALLPRODS . '</a></font>'); //EOF allprods modification ***REPLACE WITH: //BOF allprods modification '<a href="' . tep_href_link(FILENAME_ALLPRODS, '', 'NONSSL') . '">' . BOX_INFORMATION_ALLPRODS . '</a>'); //EOF allprods modification What the hell sort of file is "customer service" and where do I find it to apply the edit? Your help is appreciated on this. Quote Link to comment Share on other sites More sharing options...
lildog Posted December 3, 2008 Share Posted December 3, 2008 I have posted a new version that includes the extra bullet fix above. lildog Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.