Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

GemRock

Pioneers
  • Posts

    2,020
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by GemRock

  1. I am afraid you have been wasting your time (maybe mine as well). as far as I know these templates bypass the <head></head> section so whatever you do there simply would be no effect whatsoever.

    read the first several pages of this support thread, there s some people successfully do it with template system. have a look to see if any applies to yours.

     

    Good Luck!

     

    Ken

  2. let me first to try to understand you problem:

     

    you only have problem with the title meta tag on the product info page(s). if thats the case then post you Title meta tag. below is what I put in as the title tag for the products_info.php I currently working on:

    <title><?php echo $header_tags[title_tag]; ?></title>

    That shows the category where the product is in and the product name as the page title.

     

    if you only need product name, then comment out this line in application_top.php:

    	  if (strlen($categories['categories_name'])>1) $header_tags[title_tag] = $categories['categories_name'] . ' ' . $header_tags[title_tag];

     

    Ken

  3. well, as the saying goes, easy come easy go. easy install easy get rid of in case you change mind. but hard to install hard to get rid off and you may have to live with it becasue it could be too much for it to "go".

     

    surely its your call!

     

    Ken

  4. Hi Ken where is your index.php file so i can have a look at it?

    How? are you going to travel all the way down to London to see it on my computers? I have tons of them :)

     

    you just need to download a copy of osc2.2RC2a available on this forum - solutions - downloads. on the other hand you already saw it in the instructions - I have quoted the relevant parts of the file in the instructions.

     

    Ken

  5. you not only have one title tag but TWO title tags, which is wrong. you can search the file for the word title and you should find all of them.

    alternatively, paste the FIRST 60 lines or so of the index.php here beginning from

    require('includes/application_top.php');

    and dont say you can't find that line of code?

    Ken

  6. ...to a point but when i get to the how to use stage where it asks me to find <title><?php echo TITLE; ?></title> on my index.php page

     

    its just not there? ...

    are you using a template? and what is the template? the instructions are for standard, non-template osc shop only. if using template, read the first several pages of this thread there is instruction on how to do it on certain template, which may help.

     

    Good Luck!

    Ken

  7. rather than spending days figuring out someone else code, a work around may be a better solution:

    switch (language_code) {
    case "this lang-code":
     do what ever works for this language;
     break;
    case "this other lang-code":
     do the other bit that works for that language;
     break;
    default:
     ...
    }

    FF may show page whereby IE may not. IE (v8) needs catching up.

     

    Ken

  8. ...If the script is really needed is there another solution?

    no.its needed ONLY when it does what it says. when it doesn't then replace problem characters becomes create_problem_characters.

    delete or comment all but the last line

    return $text;

    ,

    return preg_replace($search, $replace, $str);

    becomes

    return $str;

     

    Ken

  9. ... that if you type :

    domain.com/porn

    domain.com/porn.html

    domain.com/anything_here/more_stuff

     

    then it;ll be redirected to index.php that can cause duplicate content by the search engine and this is bad..

    i think you may have been brainwashed by some on the osc forums for a fear that does NOT actually exist. you submit sitemaps to SEs and then they would just following the urls on the sitemaps to crawl your site. Google or any other SEs will NOT come to test or type (can they type?) different URLs to see if you got "duplicate" content so that they can "penalise" you - it is NOT to their interest to "penalise" anyone - their job/interest is to find contents that people may be interested in searching, which is their lifeline.

    if a human surfer are so bored that s/he kills her/his time typing different combinations of urls, well, the only loss to you is just a little bandwidth, and thats all.

     

    on the other hand, if one is stupid enough to submit different URLs all of which point to the same page/product, then google would see it as a deliberate attempt to mislead trying to gain higher PR than it actually deserves, in which case the site in question not only gets penalised but may also be completely removed from google index, and, only then, you are in big trouble...

     

    Ken

  10. 1. a number of reasons could cause this type of 500 error; w/o looking at the site & the files, gard to say exactly what may go wrong; only takes a minute for an experiensed person to determine the cause;

     

    2. this contr. would not cause it unless you make mistake when editing the files;

     

    3. it may help as the error msg suggests to look at the error log (ask host for where it is or if its available) although many times 500 error wont be recorded in the error log if not caused by a line of code.

     

    4. lack of details what exactly you did: did the site work OK prior to this contr.? what exactly you click and where you saw this error?

     

    5. if error occured immediatly after installation of this cont the it may be right place, otherwise wrong place to post your question

    Ken

  11. i guess you probably need a pre-installer.php to install install.php, and if that does not work then you probably need another pre-pre-installer.php to install pre-installer.php, until you get through it.

     

    seriously, chemo's U SEO URLs was famoursly created for idiots with less than 10 minutes at hand. looking for an "installer" is looking for trouble and show how lazy one may be. I have seen a site using an installer to install an addon and manage to wipe out all the original records in the configuration table.

     

    Ken

  12. 1. for the home (index) page:

    look for this line:

    $kws_home_page_default = "";

    then change it to:

    $kws_home_page_default = "put here my favourable keywords";

    2. for the product info page:

    replace

    . ' - ' . TITLE : TITLE

    with

    ' ' : ' '

    and add

    TITLE

    just after 'echo' so that it looks like

    ...echo TITLE .

     

    Ken

  13. I have a problem...

     

    the problem did not relate to this contribution. the site just moved to a new server and have some file mis-matched here & there plus some old php 4 function not being compatible with the phpv5 now on the server. but all fixed now.

     

    Good stuff sold on the site!

     

    Ken

  14. Will installing the template wipe out my products I have entered? will ther be instructions how to install the template from the download

    ?

     

    this is NOT a templatemoster support forum, and in gemeral, soc support forums do not support any commercial products. go & ask your question there.

    Ken

  15. the said template, from what i have seen, "weaves" the template code into the code in the body part of each php files. so if you are looking for line numbers and dont understand php code then chances are you wont find the code the contribution(s) referring to, and you might have to ask a professional coder to make the mod for you.

    the osc forums offer support for oscommerce and its contributions but NOT for templates from commercial template makers, which is why people here are reluctant to answer any question related to these templates. commercial template makers have, or are expected to have, a duty to offer support for their products.

    btw, Amirage has solved her problem HERE

     

    Good luck!

     

    Ken

×
×
  • Create New...