Jump to content

dayOff

Members
  • Content count

    38
  • Joined

  • Last visited

Profile Information

  • Real Name
    John Allsopp
  • Gender
    Male
  • Location
    Scarborough, UK
  • Interests
    I'm an Internet marketer, also a drummer, maybe a runner and I rather like butterflies.
  • Website
  1. I guess I could work through a full installation, check everything's been done
  2. Oh, one other thing. The comments in my installation refer to 2.2d, the code in the upgrade instructions from the address you gave refer to SEO URLs v2.1, I don't know if that's significant, but I mention it to say that my installation *should* be 2.2d, if it was ever done properly. Cheers J
  3. Thanks Larry I downloaded originally from here: http://www.oscommerce.com/community/contributions,2823 OK, yes, there was at least a line missing in that .htaccess file, so I changed that. I remember running through those instructions a couple of weeks ago and I only needed to do the first part. However, having checked through the second part, I don't think includes/functions/html_output.php had been updated so I did that. With .htaccess and includes/functions/html_output.php amended I had high hopes, but no. I've cleared the SEO cache, and no, the problem still remains. You can try it yourself if you like, go to http://www.toolsup.co.uk , click any of the products and you get a 404. Hit the back button, click the product again and it works. To get it to go wrong again, you have to clear the toolsup cookies. OK, so am I right in thinking that the rollover address, for instance for Fibreglass Shaft Flexo Leaf Rake ( http://www.toolsup.co.uk/product_info.php?products_id=1587 (I've typed that so E&OE)) is the OSC 'original' address, which gets re-written by Ultimate SEO. Is the engine of that process in the .htaccess file? RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING} Oh, no. That's the bit that rewrites what USEO creates so that OSC can understand it, in other words it undoes what USEO creates in the background so that OSC still works. Right? So .. any ideas where I should be looking to work out where this OSCSID problem is happening? All help appreciated :-) Cheers J
  4. I just checked for a .htaccess file in my Ultimate SEO download (from a couple of weeks ago), I don't see one. What should my .htaccess file contain? Where do I find what it should be? Cheers J
  5. Well maybe that's the problem. I 'upgraded' by following the instructions and I'm sure all I had to copy across was the seo class. I'll check for .htaccess file differences tomorrow.
  6. Sorry I'm using osCommerce Online Merchant v2.2 RC1 with the latest Ultimate SEO, well, from a couple of weeks ago. Configure file? Where can I find a 'good' configure file or .htaccess file? Here's my htaccess: RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-m-([0-9]+).html$ index.php?manufacturers_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pi-([0-9]+).html$ popup_image.php?pID=$2&%{QUERY_STRING} RewriteRule ^(.*)-t-([0-9]+).html$ articles.php?tPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-a-([0-9]+).html$ article_info.php?articles_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-au-(.*).html$ articles.php?authors_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pr-([0-9]+).html$ product_reviews.php?products_id=$2&%{QUERY_STRING} Here's what happens (from previous thread): "AFAICS, when I first clicked one of the products off the front page, I was sent to this: http://www.toolsup.c...534?osCsid.html Not sure if this forum is breaking that up, it's: http://www.toolsup.co.uk/ grafters-tone-trousers- p-1534? osCsid.html which gave a 404. When I returned to the home page and rolled over the link, it showed it going to: http://www.toolsup.co.uk/ product_info.php? products_id=1534 When I clicked it (the same link as before) it worked." So am I right in thinking that USEO takes http://www.toolsup.co.uk/ product_info.php? products_id=1534 and uses the rules in .htaccess to rewrite the URL? OK, so which rule is the culprit? I don't know enough about those to know :-) Cheers J
  7. Hi everyone Thanks for the contribution, I have a problem though with a shop I'm maintaining (I didn't install). Basically, when anyone arrives at the home page, the first time they click on an item they get a 404 message. Second time and thereafter, it's fine. The erroneous page is like this: http://www.toolsup.co.uk/ grafters-tone-trousers- p-1534? osCsid.html (I've broken it up so the forum doesn't summarise it). I understand that the issue is the session id being wrongly delivered in the first request for product information, but I'm stumped how to fix it. I didn't know about this thread, and started a discussion here: http://forums.oscommerce.com/topic/357779-404s-with-oscsid/ where you can read more, and I'm afraid I emailed the author directly (sorry about that) and he said it was something to do with how Ultimate SEO is configured (rather than the code) but I can't think which option to unpress to unbreak it. I've searched this forum for the issue and didn't find it, which makes me wonder if it was wrongly installed or is conflicting with something else. My next idea was to go through installation line by line, but then I discovered this thread and thought I'd see what you thought. I'm fairly adept at PHP, have built OS Commerce sites before, but I'm not expert. Cheers J
  8. dayOff

    buy product by weight

    Aye, thanks, I guess that's what I was going to do, but it's a tad confusing. With, say, apples you could buy them by weight or individually. So people are going to have to read the description to know .. oh, this one's by weight, the last one was each, etc. Didn't seem very usable somehow. So I think what I wanted was something that went along with the quantity field and said this '1' is each, whereas this '1' is 1 x 100g. Cheers J
  9. Hi I've just had a look through the existing contributions and can't see one that would allow me to sell some products by weight. Imagine a fruit shop: I want to be able to sell apples individually but grapes by the 100g or whatever. Anyone know of a contribution to do that or am I looking at building one? Or have I missed a standard feature? I've used OSC a few times, I'm a professional developer but can't say I'm completely familiar with OSC so it's possible. Cheers J
  10. Hi ppl Using 2.2 MS2 (051113), for product entry, I can't quite see where to set the default tax class. I only have two classes, taxable and --none-- and it shows --none-- and requires me to choose taxable. All my products are taxable. How do I set it to have taxable 'selected'? I've had a mooch around both versions of catagories.php which is what, I think, drives it and I can see the section but it calls tep_db something or other (from memory) and I don't know enough about that part. I thought it might be tax_priority in the table, which was set to 1. I set it to 0 and I set it to 999 and neither made a difference. There seems to be no entry for --none--. I set a 'zero rated' class with priority 0, and it still defaults to --none--. Any clues? J
×