Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

nubbin

Members
  • Content count

    52
  • Joined

  • Last visited

Everything posted by nubbin

  1. Hi, I installed Ultimate SEO URLs v2.2d months ago and all seems to work fine. However, I've noticed if I change the manufacturer name I apparently get some duplicate pages with different URLs. 1) I changed a manufacturer's name in OSC Admin e.g. old name=oldwidgetmaker , new name =newwidgetmaker 2) I Reset SEO URLs Cache 3) Clicked manufacturer newwidgetmaker on the site, and that seems fine and has a new url www.mysite/newwidgetmaker-m12.html 4) The issue is the old url still works as well www.mysite/newwidgetmaker-m12.html 5) In fact, in my browser I can change parts of that URL and it still takes me to the manufacturer page but shows the incorrect url e.g www.mysite/garbage-m12.html Point #5 seems to imply it is the url rewriting that is causing this somehow. This looks like it will cause duplicate content penalties in google. So, I don't want the old URL to work. Is this a bug I should fix or is this just the way SEO URLs works? Cheers
  2. nubbin

    Google XML Sitemap SEO

    Hi Jack, Thanks very much for your work on this add on. I have version 1.4.1 installed and it seems to work ok. This (and your latest version 1.5) produces sitemaps tagged as <urlset xmlns="http://www.google.com/schemas/sitemap/0.84"> However, Google says that Sitemap Protocol 0.84 is now deprecated (see http://www.google.com/schemas/sitemap/0.84/ ). Google now adheres to Sitemap Protocol 0.9 as defined by sitemaps.org Are there plans to upgrade this add on to protocol 0.9? Also, is it essential I upgrade my version 1.4.1 to 1.5? In other words are there bugs in 1.4.1 render it obsolete? Cheers
  3. Hi Minxmoggy, Thanks for your tip which I've used. At first I thought it worked perfectly with payments paid by Paypal. However, I just noticed that the Google Analytivs ecommerce tracking always misses one of the items in an order transaction. For example: -I put 3 products into my shopping cart, checkout and pay using Paypal. -The order emails correctly show 3 products were ordered and paid for - But Google Analytics/Ecommerce/Transactions only shows 2 of the products. The $ total for the transaction is correct, but the number of products is wrong. If I do the same order but use check payment instead of Paypal, the transacction is recorded perfectly. Did you (or anyone elese) have this problem? Cheers
  4. Hi, I installed this a few months ago and all seems to work fine. Today however I noticed if I change the manufacturer name I apparently get some duplicate pages with different URLs. 1) I changed a manufacturer's name in OSC Admin e.g. old name=oldwidgetmaker , new name =newwidgetmaker 2) I Reset SEO URLs Cache 3) Clicked manufacturer newwidgetmaker on the site, and that seems fine and has a new url www.mysite/newwidgetmaker-m12.html 4) The issue is the old url still works as well www.mysite/newwidgetmaker-m12.html 5) In fact, in my browser I can change parts of that URL and it still takes me to the manufacturer page but shows the incorrect url e.g www.mysite/garbage-m12.html Point #5 seems to imply it is the url rewriting that is causing this somehow. This looks like it will cause duplicate content penalties in google. So, I don't want the old URL to work. Is this a bug I should fix or is this just the way SEO URLs works? Cheers
  5. nubbin

    Article Manager v1.0

    Hi Jack, Using Add On KISS Error Handling and DEbugging I can see quite a lot of errors in my home being triggered in articles.php. These are normally suppressed so I wasn't aware of them Article Manager seems to be working on my site. (I also have Header Tags SEO v3.2.2 and Ultimate SEOs 2.29d installed) Do you know what may be triggering these errors? I'm worried I might have made a mistake installing Article Manager. Cheers Error: Undefined variable: tPath_array File: includes/boxes/articles.php Line: 123 Error: Undefined index: start File: includes/boxes/articles.php Line: 173 Error: Undefined index: stop File: includes/boxes/articles.php Line: 173 Error: Undefined index: string File: includes/boxes/articles.php Line: 173 Error: Undefined variable: articles_all_count File: includes/boxes/articles.php Line: 174 Error: Undefined index: start File: includes/boxes/articles.php Line: 182 Error: Undefined index: stop File: includes/boxes/articles.php Line: 182 Error: Undefined index: start File: includes/boxes/articles.php Line: 198 Error: Undefined index: stop File: includes/boxes/articles.php Line: 198 Error: Undefined index: string File: includes/boxes/articles.php Line: 198 Error: Undefined index: start File: includes/boxes/articles.php Line: 207 Error: Undefined index: stop File: includes/boxes/articles.php Line: 207 Error: Undefined index: start File: includes/boxes/articles.php Line: 218 Error: Undefined index: stop File: includes/boxes/articles.php Line: 218 Error: Undefined index: start File: includes/boxes/articles.php Line: 237 Error: Undefined index: stop File: includes/boxes/articles.php
  6. nubbin

    Header Tags SEO

    Hi Jack, Thanks for your great work on this. Whilst tidying up my site for W3C validation I found what looks like an error in the code added to product_info.php for Header Tags SEO 3.2.2 The HTML output from this code contains /# which causes an HTML validation problem as the / is interpreted as closing the opening <a tag. I have split it over the lines to make it easier to read: <td class="smallText" align="center">Currently viewing: <a title="my site - Software - Strategy - The Wheel Of Time" href="http://mysite.com/wheel-time-p-23.html" /# my site - Software - Strategy - The Wheel Of Time">my site - Software - Strategy - The Wheel Of Time </a> </td> The code from the install instructions that is creating the above is: <?php /*** Begin Header Tags SEO ***/ ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td class="smallText" align="center"><?php echo TEXT_VIEWING; ?> <?php echo '<a title="' . $header_tags_array['title'] . '" href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $product_info['products_id'], 'NONSSL') . '"/# ' . $header_tags_array['title'] . '">' . $header_tags_array['title']; ?></a></td> </tr> <?php /*** End Header Tags SEO ***/ ?> I'm not sure what your intention was with this piece of code (especially the /#) so am unsure how to fix it so it validates. I'd appreciate your advice. Cheers.
  7. I installed OSCThumb v1.2 onto OSCrc2a a few weeks ago. I thought it was all working ok until I ran the home page through the W3C validator. I am getting nearly 150 validation errors when OSCThumb is switched on. Many are like this: # Line 43, column 126: "1" is not a member of a group specified for any attribute …g src="images/pixel_trans.gif" border="0" alt="" width="11" height="14" 1></td> # Line 50, column 85: "1" is not a member of a group specified for any attribute … src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1" 1></td> # Line 56, column 85: "1" is not a member of a group specified for any attribute … src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1" 1></td> It looks like the character 1 has somehow been mistakenly inserted near the end of each line I would really appreciate it if someone could help me track down where this error is occurring and how to fix it. Cheers
  8. I've discovered the errors shown above are not caused by OSCThumb. But, I cannot work out which part of the code is creating this HTML and how the erroneous 1 is getting inserted. Please can someone explain where I should be looking for the bug. Thanks
  9. nubbin

    Article Manager v1.0

    Duncan, look at my post above as I had the same problem and found a way of working around it for now. Cheers
  10. nubbin

    Article Manager v1.0

    Jack, I've done some digging and found out exactly what is causing this (from an admin user's perspective rather than a programmer's). The thing that causes this error is if you remove the tick then press save. If you leave the tick in place then press save, the link between the product and the article is removed from the database. Looks like it must be a little bug in the code that is triggered when the tick is unchecked. Cheers
  11. nubbin

    Article Manager v1.0

    Jack, thanks for the above post. I am testing the the cross-sell function, and getting the same SQL problem as Duncan (see his post above) when I attempt to remove a product I had added to an article. I get this error in admin/articles_xsell.php?add_related_article_ID=1&cPath=21 : Cross-Sell Articles to Products 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 DELETE FROM articles_xsell WHERE articles_id = '1' and ) [TEP STOP] In fact the root cause may be occurring earlier than this module. In admin/articles_xsell.php I see a table containing one row showing link between article and product. When I click on link in table "Add/Remove", I am taken to admin/articles_xsell.php?add_related_article_ID=1 This screen just has a drop down box "Select a Category" containing the word "Top". I was surprised by that, I thought it would take me direct to the next step. I choose the category containing the product from that list and am taken to admin/articles_xsell.php?add_related_article_ID=1&cPath=21 I can see a tick next to the product. I remove the tick and click save resulting in the error 1064 described at top of this post. Any idea what the problem is? Cheers
  12. nubbin

    Article Manager v1.0

    Hi Jack, Near the end of the install instructions in readme.txt it says "In admin/includes/functions/header_tags.php (only for Header Tags SEO before version 3.2.3)..." However, the latest version of Header tags SEO is only 3.2.2. which I have installed. (See http://addons.oscommerce.com/info/5851 ). Is this a typo in readme.txt, or should I do the find and replace as instructed? Cheers
  13. Sometimes resized images are generated with a one pixel wide black line on the side or bottom of them. Apparently this is due to a rounding error in the resizing maths in phpThumb (see http://www.webmasterworld.com/php/3851917.htm). I was unable to track down and fix this rounding error. However, I did discover a work around: Go to osc/admin/config/images and set Calculate Image Sizes = False For some reason that gets rid of the annoying black lines. My guess is this fixes it because if Calculate Image Size=True, the image width (or height) is set to the value specified in admin/config/images. However PphpThumb makes a mistake and provides an image 1 pixel too narrow. The difference between the two causes the black line. Perhaps someone who is good at php can have a go at tracking down the error in phpThumb. Cheers
  14. Thanks for your tip. This fixes the problem of getting the Product Information Image Width & Product Information Image Height to change the product image BUT YOU NEED TO DO THIS CHANGE IN 2 PLACES. In catalog/product_info.php 1) find: $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, and change it to: $product_info['products_image'], $product_info['products_name'], PRODUCT_INFO_IMAGE_WIDTH, PRODUCT_INFO_IMAGE_HEIGHT, 2) find <script language="javascript"><!-- document.write('<?php echo '<a href="javascript:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>'); //--></script> and change it to <script language="javascript"><!-- document.write('<?php echo '<a href="javascript:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), PRODUCT_INFO_IMAGE_WIDTH, PRODUCT_INFO_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>'); //--></script> (My store is a clean install of OSC2.2rc2a with SEO URL v2-2.2d-9 and HeaderTags_SEO_V_3.2.2 installed).
  15. Did you solve this problem? I am having it now! Thanks
  16. nubbin

    Header Tags SEO

    Jack, Well it turns out I was not as careful as I should have been. The problem below was due to me not having copied admin/functions/general.php from the install files. Thought I'd note this here inc case others have this problem. Cheers
  17. nubbin

    Header Tags SEO

    Hi Jack, Thank you for your great work on this and many other contributions. I am setting up a new OSC store with a clean install of OSC 2.2rc2a and your contributions Ultimate SEO V 2-2.2d-9 and Header Tags SEO 3.2.2 I have carefully followed the installation instructions for Header Tags including basic set up where I used Fill All Tags. Ultimate SEOs is switched on and appears to be working fine. The problem I am stuck on is that the category and manufacturer pages are erroneously showing the same title tag as the home page. If I change the title tag for the home page in Page Control, that also changes it on all category and manufacturer pages. When I used Fill All, no errors were reported. However if I ticked boxes "show missing tags" and "include missing descriptions" all categories and manufacturers are listed as missing tags: 60 Category tags have been filled. 27 Manufacturer tags have been filled. Missing Tags I've run Test and these are the results: Test Results Missing File Error: explain Cannot find file /home/engra2/public_html/vintage-royalty-free-images/includes/modules/header_tags_social_bookmarks.php. Extra File Error: explain The /home/engra2/public_html/vintage-royalty-free-images/headertags_seo_install.php file is present and should be removed. Missing Code in File explain The Header Tags head code for the product_reviews.php file cannot be found. The Header Tags head code for the product_reviews_info.php file cannot be found. The Header Tags head code for the product_reviews_write.php file cannot be found. I'm not sure if I have misunderstood how to configure these contributuions, or if this is a bug. Any idea what the problem is? Thanks
  18. nubbin

    ULTIMATE Seo Urls 5 - by FWR Media

    Hi Robert, Add on Links Manager II does not work on my site when FWR Ultimate SEO URL is switched on. I can see the page listing the link categories, but when I click on a category link such as http://mysite.com/links.php?lPath=0_12, I get a "Page not Found" error reported by FWR KISS Error Handling and Debugging When it is SEO URL is switched off, Links Manager II works fine. I have posted in the LM II support thread and Jack got me to upgrade to the latest version if it, which I have done. However, the problem remains. Using the Add On FWR KISS Error Handling and debugging, I can see the last query performed from links.php is a complicated one to do with sessions. I would really appreciate some help solving this problem. Cheers Peter Number: 6 Time: 0.0004 Seconds. Query: update sessions set expiry = '1271976939', value = 'cart|O:12:\"shoppingCart\":5:{s:8:\"contents\";a:0:{}s:5:\"total\";i:0;s:6:\"weight\";i:0;s:6:\"cartID\";N;s:12:\"content_type\";b:0;}language|s:7:\"english\";languages_id|s:1:\"1\";currency|s:3:\"USD\";navigation|O:17:\"navigationHistory\":2:{s:4:\"path\";a:4:{i:0;a:4:{s:4:\"page\";s:16:\"links_submit.php\";s:4:\"mode\";s:6:\"NONSSL\";s:3:\"get\";a:0:{}s:4:\"post\";a:12:{s:6:\"action\";s:7:\"process\";s:11:\"links_title\";s:21:\"Test site: Dog breeds\";s:9:\"links_url\";s:29:\"http://www.justdogbreeds.com/\";s:14:\"links_category\";s:1:\"0\";s:17:\"links_cat_suggest\";s:0:\"\";s:17:\"links_description\";s:14:\"All about dogs\";s:11:\"links_image\";s:44:\"http://www.justdogbreeds.com/images/logo.gif\";s:18:\"links_contact_name\";s:5:\"peter\";s:19:\"links_contact_email\";s:24:\"peter@anyoldsite.com\";s:20:\"links_reciprocal_url\";s:45:\"http://www.anyoldsite.com/useful_info.htm\";s:1:\"x\";s:2:\"53\";s:1:\"y\";s:1:\"8\";}}i:1;a:4:{s:4:\"page\";s:24:\"links_submit_success.php\";s:4:\"mode\";s:6:\"NONSSL\";s:3:\"get\";a:0:{}s:4:\"post\";a:0:{}}i:2;a:4:{s:4:\"page\";s:9:\"index.php\";s:4:\"mode\";s:6:\"NONSSL\";s:3:\"get\";a:0:{}s:4:\"post\";a:0:{}}i:3;a:4:{s:4:\"page\";s:9:\"links.php\";s:4:\"mode\";s:6:\"NONSSL\";s:3:\"get\";a:3:{s:5:\"lPath\";s:4:\"0_12\";s:4:\"page\";s:1:\"1\";s:4:\"sort\";s:2:\"2d\";}s:4:\"post\";a:0:{}}}s:8:\"snapshot\";a:0:{}}' where sesskey = 'dbd1b8bcbd29df4c18cc680144c15df9'
  19. nubbin

    Links Manager II

    Hi Jack, Thanks. For your info, I updated Links Manager II to the latest version (1.25) but it still does not work when FWR Ultimate SEO URL is switched on. Using the Add On FWR KISS Error Handling and debugging, I can see the last query performed from links.php is a complicated one to do with sessions. I post it here in case anything springs to mind about the way your code is working: Number: 6 Time: 0.0004 Seconds. Query: update sessions set expiry = '1271976939', value = 'cart|O:12:\"shoppingCart\":5:{s:8:\"contents\";a:0:{}s:5:\"total\";i:0;s:6:\"weight\";i:0;s:6:\"cartID\";N;s:12:\"content_type\";b:0;}language|s:7:\"english\";languages_id|s:1:\"1\";currency|s:3:\"USD\";navigation|O:17:\"navigationHistory\":2:{s:4:\"path\";a:4:{i:0;a:4:{s:4:\"page\";s:16:\"links_submit.php\";s:4:\"mode\";s:6:\"NONSSL\";s:3:\"get\";a:0:{}s:4:\"post\";a:12:{s:6:\"action\";s:7:\"process\";s:11:\"links_title\";s:21:\"Test site: Dog breeds\";s:9:\"links_url\";s:29:\"http://www.justdogbreeds.com/\";s:14:\"links_category\";s:1:\"0\";s:17:\"links_cat_suggest\";s:0:\"\";s:17:\"links_description\";s:14:\"All about dogs\";s:11:\"links_image\";s:44:\"http://www.justdogbreeds.com/images/logo.gif\";s:18:\"links_contact_name\";s:5:\"peter\";s:19:\"links_contact_email\";s:24:\"peter@anyoldsite.com\";s:20:\"links_reciprocal_url\";s:45:\"http://www.anyoldsite.com/useful_info.htm\";s:1:\"x\";s:2:\"53\";s:1:\"y\";s:1:\"8\";}}i:1;a:4:{s:4:\"page\";s:24:\"links_submit_success.php\";s:4:\"mode\";s:6:\"NONSSL\";s:3:\"get\";a:0:{}s:4:\"post\";a:0:{}}i:2;a:4:{s:4:\"page\";s:9:\"index.php\";s:4:\"mode\";s:6:\"NONSSL\";s:3:\"get\";a:0:{}s:4:\"post\";a:0:{}}i:3;a:4:{s:4:\"page\";s:9:\"links.php\";s:4:\"mode\";s:6:\"NONSSL\";s:3:\"get\";a:3:{s:5:\"lPath\";s:4:\"0_12\";s:4:\"page\";s:1:\"1\";s:4:\"sort\";s:2:\"2d\";}s:4:\"post\";a:0:{}}}s:8:\"snapshot\";a:0:{}}' where sesskey = 'dbd1b8bcbd29df4c18cc680144c15df9' I will post on the support thread for that add on. Cheers Peter
  20. nubbin

    Links Manager II

    Hi Jack, Thanks. How do I tell for sure which version I have installed? There are various version numbers in the different bits of code. I suspect I have 1.22 but the download package for that didn't appear to refer to that version number within any of the code. Cheers
  21. nubbin

    ULTIMATE Seo Urls 5 - by FWR Media

    Hi Robert, Thanks for another great contriubtion. Your instructions are excellent. I've installed it and set it up to use traditional seo URLS. These seem to be working fine when products are accessed from the home page or category pages. I see URLs such as: http://mysite/great-product.html However, When I access products via the manufacturers list, extra information is being added to the end of the URL: http://mysite/great-product.html?manufacturers_id=1 I believe this is not desirable as it would lead to duplicate content issues when the site is crawled by search engines. Is this meant to be happening, or have I got a bug to track down? Cheers Peter
  22. nubbin

    Links Manager II

    Hello Jack, I have been succesfully using Link Manager II for a long time, thanks very much for it. However it stopped working when I installed Ultimate SEO URLs 5 by FWR Media. I read through your posts and see you recommended correcting a code error in links.php: The problem is due to a coding error in Links Manager. The link being created is invalid. You need to search links.php and replace the two instances of '&lPath=' with 'lPath=' Then delete any pseduo pages you've created for links manager in Page Control. The delete funtion is supposed to delete that from the includes/header_tags.php file but you may want to make sure it is done. Then try it again with the valid link, links.php?lPath=0_35, and it should work. I did all the above but Links Manager II is still not working - when I click on a link to a links category in the links.php page I get "page not found" The links look like: http://mysite.com/links.php?lPath=0_12 I have deleted the cache in Ultimate SEO URLS admin. If I turn Ultimate SEO URLS off, then Links Manager works ok. Any idea what the problem is please?
  23. Hello Jack, I have been succesfully using Link Manager II for a long time, thanks very much for it. However it stopped working when I installed Ultimate SEO URLs 5 by FWR Media. I read through your posts and see you recommended correcting a code error in links.php: The problem is due to a coding error in Links Manager. The link being created is invalid. You need to search links.php and replace the two instances of '&lPath=' with 'lPath=' Then delete any pseduo pages you've created for links manager in Page Control. The delete funtion is supposed to delete that from the includes/header_tags.php file but you may want to make sure it is done. Then try it again with the valid link, links.php?lPath=0_35, and it should work. I did all the above but Links Manager II is still not working - when I click on a link to a links category in the links.php page I get "page not found" The links look like: http://mysite.com/links.php?lPath=0_12 I have deleted the cache in Ultimate SEO URLS admin. If I turn Ultimate SEO URLS off, then Links Manager works ok. Any idea what the problem is please?
  24. nubbin

    Links Manager II

    Hi, Thanks, especially to Jack, for this great contribution. I am having a problem with it, which I had noticed intermittently but now seems to occur every time I try to add a link via my admin panel. When I try and add a link I get this message on the Category line "A Category is required" ...even though a valid category has been selected and is shown and this message on on the New Category line: "An entry in this box will cause a new category to be created for this link" ...even if I have not entered anything in the two boxes on the New Category line, or the description box under it. This is preventing me adding new links. Does anyone know what is causing this and how to fix it? Thanks
×