Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

theinkjetmarket

Pioneers
  • Posts

    74
  • Joined

  • Last visited

Everything posted by theinkjetmarket

  1. Hi Jack The Index page and the product pages are fine. The index page uses the default tags set in the RHS of the control page. The product page has only the product checkbox checked and only the product name appears in the tilte bar of the browser. However when I view a category page it is the default title tag that appears at the top of the category page, not the name of the category. In the control page for the allcategories.php I only have the category checkbox checked. It appears as though whatever I check on teh allcategories page (LHS of the control page) it still uses the default tags from the RHS. Does that explain it or have I confused things even more. Many Thanks Garry
  2. Hi Thanks Jack for a great contribution. I have one problem and a couple of questions. I have default tags set. I also have the code inserted in index.php, product_info.php and allcategories.php. When I view the home page or a product page the title at the top of the browser displays as normal. I get the product information when on a product page. However when I look at any of the categories the default title tag is displayed at the top of the browser page. Any idea why this could be? I have undertaken a tet and that shows no errors. in the admin page control for allcategories.php I only have the Category box checked. If someone could help it would be most appreciated. And a question - what information from the Header Tags SEO, if any actually appears in the search results for Google say? Best Regards Garry
  3. Hi Thanks Jack for a great contribution. I have one problem and a couple of questions. I have default tags set. I also have the code inserted in index.php, product_info.php and allcategories.php. When I view the home page or a product page the title at the top of the browser displays as normal. I get the product information when on a product page. However when I look at any of the categories the default title tag is displayed at the top of the browser page. Any idea why this could be? I have undertaken a tet and that shows no errors. in the admin page control for allcategories.php I only have the Category box checked. If someone could help it would be most appreciated. And a question - what information from the Header Tags SEO, if any actually appears in the search results for Google say? Best Regards Garry
  4. Hi I have the latest version of OSC, 2.2rc2a. I have the paypal standard optionenabled and it works okay. I have just turned on the Paypal Express module version 1.0. I have set it up with API information etc. I sign into the cart and add a product to the cart. When the paypal express button is clicked the page just hangs and the progress bar at the bottom of the browser sits about 25%. This could probably be a number of things but if anyone has any ideas to help I would appreciate it Many Thanks Garry
  5. Hi I am slightly confused in setting up my Header Tags SEO. I have entered the various details for the index.php page and for the product page. However the Description entered for the index.php page is appearing at the top of a category page. How to I get a description at the top of the page relevant to the category being viewed? What is the allcategories.php page for and where does the information entered into it appear? Regards Garry
  6. Hi Dave During the installation of Header Tags SEO you should have added the following code to the Style sheets in your catalog directory: /*** Begin Header Tags SEO ***/ h1 { font-family: Verdana, Arial, sans-serif; font-size: 20px; font-weight: bold; margin-bottom: 0; padding-bottom: 0; color: #000; } h2 { font-family: Verdana, Arial, sans-serif; font-size: 10px; font-weight: normal; margin-bottom: 0; padding-bottom: 0; color: #000; } /*** End Header Tags SEO ***/ I have just changed my own font sizes an it works fine. Regards Garry
  7. Sorry Jack I am back. I find I have to go through all my categories and product clicking edit then save to get the breadcrumb running for all. Quite a lot of work! If you could understand waht is going on and suggest a solution I would be grateful. Regards Garry
  8. Jack Better let you know that it is all sorted. The solution is strange to me but you may understand it!! One of my categories had an image that I wanted to change so uploaded another from admin panel and hey presto the category name appeared!! For the other categories in turn all I did was select the categorie, click edit, then click save - and the titles appeared and the breadcrumb came back also!! Is there a reason for this? Best Regards and thanks. Garry Jack you appear to be a very seasoned and influencial member of the osc community so I will bounce this off you. I am not sure if this fits with the ethics of the forum but I have had a lot of help from people like you for free and you give up a lot of your time. How about a donate button on the forum for donations to a charity? Can you imagine how they would benefit if they got £1 for every question posted??? I am very grateful anyway!!
  9. Hi Jack I think my header tags installation is working but I have noticed a few problems since. I noticed that Heading_Title is missing from my pages. I get the welcome message but when I click on a category the work Category is missing. I think that it is someting to do with the index.php page so I started with a fresh file and amended as per your instructions and still no joy. I have done this a few times. Please see this code from my modified index.php file: // Get the right image for the top-right $image = DIR_WS_IMAGES . 'table_background_list.gif'; if (isset($HTTP_GET_VARS['manufacturers_id'])) { $image = tep_db_query("select manufacturers_image from " . TABLE_MANUFACTURERS . " where manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "'"); $image = tep_db_fetch_array($image); $image = $image['manufacturers_image']; } elseif ($current_category_id) { $image = tep_db_query("select categories_image from " . TABLE_CATEGORIES . " where categories_id = '" . (int)$current_category_id . "'"); $image = tep_db_fetch_array($image); $image = $image['categories_image']; } ?> <?php /*** Begin Header Tags SEO ***/ ?> <td align="right"><?php echo tep_image(DIR_WS_IMAGES . $image, $htc['htc_title'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> <?php if (tep_not_null($htc['htc_description'])) { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td colspan="2"><h2><?php echo $htc['htc_description']; ?></h2></td> </tr> <?php } /*** End Header Tags SEO ***/ In the modified code HEADING_TITLE is replaced by ['htc_title'] Is this where the problem is? Do you know what the problem might be? Additionally I have lost my breadcrumb and am not sure if the problems are related? Here is the thread I started on that until I discovered the HEADING_TITLE was missing. Any help would be really appreciated. Thanks Garry
  10. Hi All Thanks for the support yesterday, really getting somewhere now.. I have just done a test on the header tags contribution and get the following error: Am i right in saying that the last 4 are not that important? The only real problem then is the missing entry in the configuration group table. Any ideas on how to solve and why would it be missing in the first place? Many Thanks Garry
  11. I have posted this a second time as I think I posted in the wrong place - sorry I am now getting moving. I transfered my site to the hosts server and the headertags install writes to the database okay now. I think I have installed okay but get the following errors when testing: I think it has something to do with my admin/includes/configure.php file? In addition I have noticed in admin that my modules are missing and the catalog function cannot find the images directory. I have placed the catalog folder in the root directory of my webspace. Obviousely index.psp is in there. so to get the site up I have to address it as: www.theinkjetmarket.co.uk/catalog/index.php. Here is a copy of my admin configure file, can you see anything wrong with it? <?php define('HTTP_SERVER', 'http://www.theinkjetmarket.co.uk'); define('HTTP_CATALOG_SERVER', 'http://www.theinkjetmarket.co.uk/catalog'); define('HTTPS_CATALOG_SERVER', 'http://www.theinkjetmarket.co.uk/catalog'); define('ENABLE_SSL_CATALOG', 'true'); define('DIR_FS_DOCUMENT_ROOT', '/home/public_html/catalog/'); define('DIR_WS_ADMIN', '/catalog/admin/'); define('DIR_FS_ADMIN', 'home/public_html/catalog/admin/'); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_FS_CATALOG', 'home/public_html/catalog/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); Regards Garry
  12. I am now getting moving. I transfered the site to the hosts server and the headertags install writes to the database okay now. I think I have installed okay but get the following errors when testing: Test Results Missing File Error: Cannot find file home/public_html/catalog/admin/header_tags_seo.php. Cannot find file home/public_html/catalog/admin/header_tags_fill_tags.php. Cannot find file home/public_html/catalog/admin/includes/header_tags_seo_words.txt. Cannot find file home/public_html/catalog/admin/includes/functions/header_tags.php. Cannot find file home/public_html/catalog/admin/includes/boxes/header_tags_seo.php. Cannot find file home/public_html/catalog/admin/includes/languages/english/header_tags_seo.php. Cannot find file home/public_html/catalog/includes/header_tags.php. Cannot find file home/public_html/catalog/includes/functions/clean_html_comments.php. Cannot find file home/public_html/catalog/includes/functions/header_tags.php. Cannot find file home/public_html/catalog/includes/boxes/header_tags.php. Cannot find file home/public_html/catalog/includes/modules/header_tags_social_bookmarks.php. Missing Code in File The Header Tags head code for the index.php file cannot be found. The Header Tags head code for the product_info.php file cannot be found. 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. The Header Tags head code for the specials.php file cannot be found. Database/File Mismatch Error: The number of file entries in the database (6) do not match the number in the includes/header_tags.php file (0). I think it has something to do with my admin/includes/configure.php file? In addition I have noticed in admin that my modules are missing and the catalog function cannot find the images directory. I have placed the catalog folder in the root directory of my webspace. Obviousely index.psp is in there. so to get the site up I have to address it as: www.theinkjetmarket.co.uk/catalog/index.php. Here is a copy of my admin configure file, can you see anything wrong with it? <?php define('HTTP_SERVER', 'http://www.theinkjetmarket.co.uk'); define('HTTP_CATALOG_SERVER', 'http://www.theinkjetmarket.co.uk/catalog'); define('HTTPS_CATALOG_SERVER', 'http://www.theinkjetmarket.co.uk/catalog'); define('ENABLE_SSL_CATALOG', 'true'); define('DIR_FS_DOCUMENT_ROOT', '/home/public_html/catalog/'); define('DIR_WS_ADMIN', '/catalog/admin/'); define('DIR_FS_ADMIN', 'home/public_html/catalog/admin/'); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_FS_CATALOG', 'home/public_html/catalog/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); Regards Garry
  13. Hi Jack Getting a bit further. I used first install option in your instructions. I imported headertags_seo.sql. This has created headertags_default. However I now get this error: Error SQL query: INSERT INTO configuration( configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added, use_function ) VALUES ( '', 'Automatically Add New Pages', 'HEADER_TAGS_AUTO_ADD_PAGES', 'true', 'Adds any new pages when Page Control is accessed<br>(true=on false=off)', '543', '3', 'tep_cfg_select_option(array(\'true\', \'false\'), ', now( ) , NULL ); MySQL said: #1366 - Incorrect integer value: '' for column 'configuration_id' at row 1 Are we getting somewhere? Regards Garry
  14. Jack Could it be someting to do with folder security. My folders all apppear to keep returning to read only. The other factor to let youknow is that I am running th esite on a laptop with apache and mysql installed. Regards Garry
  15. Thanks for that Jack. It still did not work. Went into PHPMYADMIN and entered the following code into the SQL window: CREATE TABLE headertags_default (default_title varchar(255) default NULL, default_description varchar(255) default NULL, default_keywords varchar(255) default NULL, default_logo_text varchar(255) default NULL, default_logo_append_group tinyint(1) default 1 NOT NULL, default_logo_append_category tinyint(1) default 1 NOT NULL, default_logo_append_manufacturer tinyint(1) default 1 NOT NULL, default_logo_append_product tinyint(1) default 1 NOT NULL, meta_google tinyint(1) default 0 NOT NULL, meta_language tinyint(1) default 0 NOT NULL, meta_noodp tinyint(1) default 1 NOT NULL, meta_noydir tinyint(1) default 1 NOT NULL, meta_replyto tinyint(1) default 0 NOT NULL, meta_revisit tinyint(1) default 0 NOT NULL, meta_robots tinyint(1) default 0 NOT NULL, meta_unspam tinyint(1) default 0 NOT NULL, language_id int DEFAULT '1' NOT NULL, PRIMARY KEY (default_title, language_id), KEY idx_default_title (default_title)) I still get the same error. Have you got any ideas on what might be wrong. If it is any help I could easily zip and send the database files? Garry
  16. Hi Hope someone can help me. I have an installation which is pretty unmodified, ie very few contributions added. I wanted to keep it clean until I got the main ones installed for SEO. The database was created using a version of OSC last January. I reinstalled in July this year and copied over my database. Everything works fine except I get errors when trying to create product attributes. I am unable to resolve these as my posts do not get answered. Thats the background to my database which may be relevant to my problem with headertags. I started the install using headertags_seo_install.php. It immediately throw up the following error: 1005 - Can't create table '.\theinkjetmarket\headertags_default.frm' (errno: 121) CREATE TABLE headertags_default (default_title varchar(255) default NULL, default_description varchar(255) default NULL, default_keywords varchar(255) default NULL, default_logo_text varchar(255) default NULL, default_logo_append_group tinyint(1) default 1 NOT NULL, default_logo_append_category tinyint(1) default 1 NOT NULL, default_logo_append_manufacturer tinyint(1) default 1 NOT NULL, default_logo_append_product tinyint(1) default 1 NOT NULL, meta_google tinyint(1) default 0 NOT NULL, meta_language tinyint(1) default 0 NOT NULL, meta_noodp tinyint(1) default 1 NOT NULL, meta_noydir tinyint(1) default 1 NOT NULL, meta_replyto tinyint(1) default 0 NOT NULL, meta_revisit tinyint(1) default 0 NOT NULL, meta_robots tinyint(1) default 0 NOT NULL, meta_unspam tinyint(1) default 0 NOT NULL, language_id int DEFAULT '1' NOT NULL, PRIMARY KEY (default_title, language_id), KEY idx_default_title (default_title)) [TEP STOP] Again this is a database error and I dont have any knowledge in this area to know where to start. Any help would be really appreciated. Thank you Garry
  17. Hi I have just installed the Royal Mail Postage Rev1 Contribution. Can someone tell me where the zones are defined, eg how does the contribution know of it is Europe or Rest of the World? I ask because I am unsure if it is working properly. I get both Europe and Rest of World options appearing in the check out. I assume that this part of the code from the euro.php file is relevant? // class constructor function euro() { global $order; $this->code = 'euro'; $this->title = MODULE_SHIPPING_EURO_TEXT_TITLE; $this->description = MODULE_SHIPPING_EURO_TEXT_DESCRIPTION; $this->sort_order = MODULE_SHIPPING_EURO_SORT_ORDER; $this->icon = ''; $this->tax_class = MODULE_SHIPPING_EURO_TAX_CLASS; $this->enabled = ((MODULE_SHIPPING_EURO_STATUS == 'True') ? true : false); if ( ($this->enabled == true) && ((int)MODULE_SHIPPING_EURO_ZONE > 0) ) { $check_flag = false; $check_query = tep_db_query("select zone_id from " . TABLE_ZONES_TO_GEO_ZONES . " where geo_zone_id = '" . MODULE_SHIPPING_EURO_ZONE . "' and zone_country_id = '" . $order->delivery['country']['id'] . "' order by zone_id"); while ($check = tep_db_fetch_array($check_query)) { if ($check['zone_id'] < 1) { $check_flag = true; break; } elseif ($check['zone_id'] == $order->delivery['zone_id']) { $check_flag = true; break; } } if ($check_flag == false) { $this->enabled = false; } } } I assume it gets the zone information from TABLE_ZONES_to_GEO_ZONES? I have a table in my database called zones_to_geo_zones but it is empty. Should it have information and how is it populated? Can anyone help? Many Thanks Garry
  18. I have just installed this contribution and more or less got it configured. I have reconfigured the City Link module to be DHL. I have two remaining problems: 1. I have the max weight for courier shipping to 30kg. The result is that the module sets the shippng charge to £0 for weights greater than 30Kg. Is thi snormal because the customer could still complete checkout? 2. Within the contribution there is a module for "Airmail International Signed For". I can use this module but I would also like a module for "Airmail". This module would be identical except that the pricing would be different. How can I duplicate the module? Any help would be great Garry
  19. Perfect. Thankyou very much. Must admit I did not look there. Regards Garry
  20. HI This is a brilliant contribution. However I use DHL as a courier rather than citylink or parcelforce. I require to change the text to read "DHL" instead of "Initial Citylink". I have searched and searched but cannot find it. I have also searched the database. If anyone can help it would be a great help Regards Garry
  21. Hi I have seen on some sites thoriginal price shown with a red line through it and the reduced price in black to the right. Does anyone know which contribution allows me do do this? Many Thanks Garry
  22. Hi I have just tried installing this menu contribution. Feel most frustrated because it is stated a very simple to get working, but not for me! I get the following appearing on my page: 0 ) { $returnval .= " "; } if ( $productsDisplay > $cssMenuConfig['maxProductsInMenu'] ) { $productsDisplay=$cssMenuConfig['maxProductsInMenu']; $addMore= true; } $count_string = ''; if (SHOW_COUNTS == 'true') { if ($totalitemsincategory > 0) { $count_string = ' (' . $totalitemsincategory . ')'; } } $i=0; while ($i < $productsDisplay) { $products = tep_db_fetch_array($products_query); $product_query = tep_db_query("select products_name from products_description where products_id = " . $products['products_id'] . " AND language_id = ".$languageID ); $product = tep_db_fetch_array($product_query); $returnval .= " ".$product['products_name']."\n"; $i++; } if ( $addMore ) { $returnval .= " ".$cssMenuConfig['moreText']."\n"; } if ( $productsDisplay > 0 || !$includeul ) { $returnval .= " "; } return $returnval; } function PrintSubMenus( $parentID, $languageID, $start_path ){ global $cssMenuConfig, $categories_subs, $categories_start; $returnval = ''; if (($start_path == '') && ($parentID > 0)) { $start_path = $parentID; } else { if ($parentID > 0) $start_path .= "_" . $parentID; } if ($parentID != 0) { $returnval .= " "; } else { $returnval .= " "; $returnval .= ""; } // $categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '".$parentID."' and c.categories_id = cd.categories_id and cd.language_id='" . (int)$languageID ."' order by sort_order, cd.categories_name"); $cat_subs = Array(); foreach($categories_start as $key => $value) { if(strstr($key, '_' . $parentID)) { $cat_subs[$parentID][] = substr($key, 0, strpos($key, "_")); } } foreach ($cat_subs[$parentID] as $v) { //$categories = tep_db_fetch_array($categories_query) $categories = $categories_start[$v . '_' . $parentID]; if ($start_path == "") { $grouppath = $categories['categories_id']; } else { $grouppath = $start_path . "_" . $categories['categories_id']; } $cPath_new = 'cPath=' . $grouppath; $categories_string = tep_href_link(FILENAME_DEFAULT, $cPath_new); $totalitemsincategory = tep_count_products_in_category($categories['categories_id']); $count_string = ''; if ((SHOW_COUNTS == 'true') && ($totalitemsincategory > 0) ){ $count_string = ' (' . $totalitemsincategory . ')'; } if (cssMenu_ShowCategory($cssMenuConfig['ShowEmptyCategories'], $totalitemsincategory)) { $returnval .= "".$categories['categories_name'].$count_string."\n"; } if (array_key_exists($categories['categories_id'], $categories_subs)) { //tep_has_category_subcategories($categories['categories_id']) $returnval .= PrintSubMenus( $categories['categories_id'], $languageID, $start_path ); if ( $cssMenuConfig['includeProducts'] ) { $returnval .= PrintProducts($categories['categories_id'],$categories_string, false, $languageID); } } else { if ( $cssMenuConfig['includeProducts'] ) { $returnval .= PrintProducts($categories['categories_id'],$categories_string, true, $languageID); } } if (cssMenu_ShowCategory($cssMenuConfig['ShowEmptyCategories'], $totalitemsincategory)) { $returnval .= ""; } } if ( !$cssMenuConfig['includeProducts'] ) { $returnval .= ""; } if ($parentID == 0) $returnval .= " "; return $returnval; } function cssMenu_ShowCategory( $switch, $products) { if ( $switch == 1 ) { return true; } else { if ($products > 0) { return true; } else { return false; } } } ?> Categories Fatal error: Call to undefined function PrintSubMenus() in C:\Web\WebServer\Apache2\htdocs\catalog\includes\boxes\categories_css.php on line 315 Any ideas? Kind Regards Garry
×
×
  • Create New...