Latest News: (loading..)

clarocque

Members
  • Content count

    548
  • Joined

  • Last visited

1 Follower

About clarocque

  • Birthday 05/25/1975

Profile Information

  1. Did you try disabling "Output W3C valid URLs" I am not sure if that optino is in the osC release.
  2. You either have to increase the allowed mempry for PHP script (if you have acess) or disable the cahce feature.
  3. Gary, That should work... in fact if I get the time (ha right - but hoping) or someone else gets the time... The thing to do would be to take the entire language file and move it in to the databse (if that is how people want it). The rest of the data is configuration which should really be in it's own group in the back end. But I am not sure what else has changed since the original versions. Chris
  4. You are correct... I am not sure who updated 1.5 (I have not looked yet) but any time a contribution has set ID numbers like that there will be problems. Those should be set dynaimcly so they avoid issues like this... you can either mod the script to get the last and set them or change them to this: INSERT INTO `configuration` VALUES ('', If there is a group you will have to get that number and change them in the SQL Maybe whoever changed this to use the database can fix his/her contributino so the sql will run dynamicly and that will set the id's and configuration group id based on each stores current settings. Good luck Chris
  5. What version of PHP are you running? If you have an old php versino < 4.3 I dont believe you can use glob. But I am not sure what was changed for the latest version either... Where are you storing your cache files? Chris
  6. It is not coflicting with itself....
  7. It is not a funky message it is telling you the issue. The function is declared multiple times. If they are not the same function then you can rename one like meta_create_title2() and you will have to change it where ever it was called as well.
  8. SAorry I cant off you to much help via forum as I dont use STS in fact I avoid it for different reasons. A quick fix would be to rename one of the functionss if they are not the same.
  9. Dan if you cant find an early version on osc this will have the code you need - you can pick through it # index.php with categories }else if (strpos($_SERVER['PHP_SELF'], 'index.php') || strpos($_SERVER['PHP_SELF'], 'window.php')){ # If using Categories & Products get the product info if ($current_category_id && CAT_PRODUCTS =='true'){ $cacherun='true'; $categories_query = tep_db_query("select categories_name, categories_description from " . TABLE_CATEGORIES_DESCRIPTION . " WHERE categories_id ='" .$current_category_id. "' AND language_id = '" . (int)$languages_id . "'"); $categories = tep_db_fetch_array($categories_query); # get sub categories to list keywords when no product $sub_categories_query = tep_db_query("select cd.categories_name from " . TABLE_CATEGORIES_DESCRIPTION . " cd, " . TABLE_CATEGORIES . " c WHERE c.parent_id ='" .$current_category_id. "' AND c.categories_status = '1' AND cd.categories_id = c.categories_id AND cd.language_id = '" . (int)$languages_id . "' LIMIT 20"); # get top level categories to list keywords when no product or sub cats if ($category_depth != 'products' && $category_depth != 'nested') { $categories_all_query = tep_db_query("select cd.categories_name from " . TABLE_CATEGORIES_DESCRIPTION . " cd, " . TABLE_CATEGORIES . " c WHERE c.parent_id = 0 AND c.categories_status = '1' AND cd.categories_id = c.categories_id AND cd.language_id = '" . (int)$languages_id . "' ORDER BY c.sort_order ASC"); } # Start getting data for the meta tags $title.=$categories['categories_name']; $pre_desc=strip_tags($breadcrumb->trail(' - ')); $pre_desc=str_replace('"', '?', $pre_desc); $desc.=$pre_desc.' from '.STORE_NAME.'.'; if (tep_not_null($categories['categories_description'])) { $fa = array('’', '"','&','"'); $ra = array('\'', '"','&','?'); $desc.=' '.str_replace($fa, $ra, $categories['categories_description']); } tep_not_null(HEAD_DESC_TAG_ALL) ? $desc.=HEAD_DESC_TAG_ALL : NULL; $metadescription=meta_create_meta_description($metadescription); $key.=$categories['categories_name'].', '; # get sub categories to list as keywords when no product if ($category_depth != 'products') { while ($sub_categories = tep_db_fetch_array($sub_categories_query)) { $key.=$sub_categories['categories_name'].', '; } } # get the products in this category if ($category_depth == 'products') { $products_query = tep_db_query("SELECT pd.products_name FROM " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_PRODUCTS_TO_CATEGORIES . " pc WHERE pc.categories_id = '".$current_category_id."' AND pc.products_id = p.products_id AND p.products_status = '1' AND p.products_id = pd.products_id AND pd.language_id = '" . (int)$languages_id . "' ORDER BY rand()"); while($products = tep_db_fetch_array($products_query)) { $key.=$products['products_name'].', '; } } if ($category_depth != 'products' && $category_depth != 'nested') { while ($categories_all = tep_db_fetch_array($categories_all_query)) { $key.=str_replace($categories['categories_name'], '`~`~`',$categories_all['categories_name']).', '; } } # if the page is showing products by manufacturers }else if ($HTTP_GET_VARS['manufacturers_id']){ $title.=$manufacturers['manufacturers_name']; $desc.='Products by '.$manufacturers['manufacturers_name'].' from '.STORE_OWNER; // get products by this manufacturer $listing_man_sql = tep_db_query("select pd.products_name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "' AND p.products_status = '1' AND pd.products_id = p.products_id ORDER BY rand()"); while($products = tep_db_fetch_array($listing_man_sql)) { $key.=$products['products_name'].', '; } } # index.php default if (!isset($HTTP_GET_VARS['manufacturers_id']) && (!$current_category_id)) $default=true; # Final stage for index.php w/o categories # Title tep_not_null($title) ? $metatitle.=$title.' - ' : NULL; $metatitle.=STORE_NAME; tep_not_null(HEAD_TITLE_TAG_ALL) && $default==true ? $metatitle.=HEAD_TITLE_TAG_ALL : NULL; tep_not_null(HEAD_TITLE_TAG_INDEX) ? $metatitle.=HEAD_TITLE_TAG_INDEX : NULL; $metatitle=meta_create_title($metatitle); # Description !tep_not_null($desc) ? $metadescription.=STORE_NAME.' - ' : NULL; tep_not_null(HEAD_DESC_TAG_ALL) && $default==true ? $desc.=HEAD_DESC_TAG_ALL : NULL; $metadescription.=$desc; tep_not_null($metadescription)&& $default==true ? $metadescription.=' - ' : NULL; tep_not_null(HEAD_DESC_TAG_INDEX) && $default==true ? $metadescription.=HEAD_DESC_TAG_INDEX : NULL; $metadescription=meta_create_meta_description($metadescription); # Keywords tep_not_null(HEAD_KEY_TAG_INDEX) && $default==true ? $key.=HEAD_KEY_TAG_INDEX.', ' : NULL; tep_not_null(HEAD_KEY_TAG_ALL) ? $key.=HEAD_KEY_TAG_ALL : NULL; $metakeywords=strtolower(meta_create_meta_keywords($key));
  10. Yes, others have noticed, but I have not had the time to fix - and now I am seeing how many point that out vs how many will make the change and upload the fix ;)
  11. What type o fmeta tags do you want for links manager????
  12. yes sorry - not english.php If you want that for all products you will have to right the logic for the page sepcificily
  13. If you ar not seeing keywords or description on products and/pr actegories something is wrong... If you are talking about say the index.php page (home page) you will have to set the defaults in the fields you listed above....
  14. To add additional pages add them to this line : $heading_pages = array('contact_us.php', 'product_reviews.php'); around line 60 in includes/;anguages/english.php
  15. 1... It has been devolped a little further - I dont think it is fair to say he has lost interest it is not possible for him to continue here as he is unable to access it. 2... It is set up for multi language already