Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

warrenerjm

Pioneers
  • Posts

    1,143
  • Joined

  • Last visited

Everything posted by warrenerjm

  1. OK please ignore...told you it must be stupid. Found it. :-" Thanks :D
  2. Hi Jack OK I'm on my new site & have added HTC v2.6.3 :D Ultimate SEO URLs v2.1c :D Dynamic Sitemap v1.6 :D All Products with Images & a few smaller bits. I have tried to find out what is wrong...& it is probably very easy & stupid!! I cannot get the category title & category sub-titles to show? The two incidences of it in index.php have the HTC code but it is blank? :( When I winmerge my working site index.php to the new one I can't see anything obvious. Any hints please? Thanks Julie
  3. As far as I remember you need to change: catalog/includes/languages/english.php catalog/admin/customers.php catalog/admin/includes/languages/english.php also catalog/includes/languages/english/create_account.php i think. It was a while ago so if anyone wants to add to it... ;) What you need to do is go the page that is affected & then find that language file. I also seem to remember a database change but I can't find it at the moment. HTH
  4. Thanks Jack I am going round in circles with this one. >_< As it is a new install (not live) :-" then I am going to (if this is ok) completely delete both the "files" & "database" & upload again & install 0806ms2 again. (with a new database & folder) HTC (your version) is first followed by Ultimate SEO URLs (Chemo) followed by Dynamic sitemap (your version 1.6) Thanks for your help Jack Julie
  5. Hi Jack I am using the first version of V2.0 by Kit. You mentioned this one in a previous post, so I did this one instead of using yours (my first choice) I am more than happy to go back to your version1.6 as I have found all of your contributions easy to install & with little errors. As you say you support your contributions. I have never removed a .sql that I have added to a database so I do not know how to remove it safely? Could you tell me how to do this please? I can't even access admin so that I can restore the previous database. There may be other alternatives but I cannot understand how? Just incase you can see what is making these files show as wrong I'll post them, but really I'd be happy with yours. catalog/admin/sitemap.php <?php /* $Id: sitemap.php,v 2.0 2006/07/07 Released under the GNU General Public License */ require('includes/application_top.php'); require(DIR_WS_FUNCTIONS. 'dynamic_sitemap.php'); $action = (isset($HTTP_GET_VARS['action']) ? $HTTP_GET_VARS['action'] : ''); if (tep_not_null($action)) { switch ($action) { case 'ex_file': if ($_POST['ex_type'] == 'all') $ex_type = 1; if ($_POST['ex_type'] == 'unreg') $ex_type = 2; $file = tep_db_prepare_input($_POST['file']); if (tep_not_null($file) && tep_not_null($ex_type)) tep_db_query('insert into '.TABLE_SITEMAP_EXCLUDE.' values(NULL,"'.$file.'","'.$ex_type.'",0)'); tep_redirect(tep_href_link(FILENAME_SITEMAP)); break; case 'ex_box': if ($_POST['ex_type'] == 'all') $ex_type = 1; if ($_POST['ex_type'] == 'unreg') $ex_type = 2; $file = $_POST['box']; if (tep_not_null($file) && tep_not_null($ex_type)) tep_db_query('insert into '.TABLE_SITEMAP_EXCLUDE.' values(NULL,"'.$file.'","'.$ex_type.'",1)'); tep_redirect(tep_href_link(FILENAME_SITEMAP)); break; case 'include': if ($eID = tep_db_prepare_input($_GET['eID'])) tep_db_query('delete from '.TABLE_SITEMAP_EXCLUDE.' where exclude_id="'.$eID.'"'); tep_redirect(tep_href_link(FILENAME_SITEMAP)); break; } } ?> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title> <?php echo TITLE; ?></title> <link rel="stylesheet" type="text/css" href="includes/stylesheet.css"> <script language="javascript" src="includes/general.js"></script> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF"> <!-- header //--> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <!-- header_eof //--> <!-- body //--> </tr></td><tr><td> <table border="0" width="100%" cellspacing="2" cellpadding="2"> <tr> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="1" cellpadding="1" class="columnLeft"> <!-- left_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?> <!-- left_navigation_eof //--> </table></td> <!-- body_text //--> <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="100%"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <td class="pageHeading" align="right"><?php echo tep_draw_separator('pixel_trans.gif', HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table></td> </tr> <?php //get all files in catalog/ $excluded_query = tep_db_query('select exclude_file from '.TABLE_SITEMAP_EXCLUDE.' where exclude_type != "0" and is_box="0"'); $excluded_array = array(); $files = array(); if (tep_db_num_rows($excluded_query)) while($ex = tep_db_fetch_array($excluded_query)) $excluded_array[] = $ex['exclude_file']; if ($handle = opendir(DIR_FS_CATALOG)){ while (false !== ($file = readdir($handle))){ if(! is_dir($file) && substr($file, -4, 4) === ".php") //only look at php files { if (!in_array($file ,$excluded_array)){ $engFile = DIR_FS_CATALOG.DIR_WS_LANGUAGES . $language . '/' . $file; if (file_exists($engFile) && IsViewable(DIR_FS_CATALOG.$file)) { $fp = file($engFile); for ($idx = 0; $idx < count($fp); ++$idx) { if (strpos($fp[$idx], "define('HEADING_TITLE") !== FALSE) { $fp[$idx] = stripslashes($fp[$idx]); $p_start = strpos($fp[$idx], ","); $p_start = strpos($fp[$idx], "'", $p_start); $p_stop = strpos($fp[$idx], "'", $p_start + 2); $files[] = array('id' => $file, 'text' => ucfirst(substr($fp[$idx], $p_start + 1, $p_stop - $p_start - 1)).' ('.$file.')'); break; } } } } } } closedir($handle); } else echo ERROR_CANNOT_OPEN_CATALOG_DIR . DIR_FS_CATALOG.'<br>'; //get all catalog boxes $excluded_query = tep_db_query('select exclude_file from '.TABLE_SITEMAP_EXCLUDE.' where exclude_type != "0" and is_box="1"'); $excluded_array = array(); if (tep_db_num_rows($excluded_query)) while($ex = tep_db_fetch_array($excluded_query)) $excluded_array[] = $ex['exclude_file']; if ($handle = opendir(DIR_FS_CATALOG.DIR_WS_BOXES)){ $ctr = 0; while (false !== ($file = readdir($handle))) { if (substr($file, -4, 4) !== ".php") continue; elseif (in_array($file ,$excluded_array)) continue; $file = DIR_FS_CATALOG.DIR_WS_BOXES . $file; $fp = file($file); for ($idx = 0; $idx < count($fp); ++$idx) { if ($posStart = strpos($fp[$idx], "BOX_HEADING") !== FALSE) { $parts = explode(" ", $fp[$idx]); for ($i = 0; $i < count($parts); ++$i) { if (strpos($parts[$i], "BOX_HEADING") === FALSE) continue; $parts = explode(")", $parts[$i]); //$parts has full box heading text $name = explode("_", $parts[0]); //ignore the BOX_HEADING part for ($x = 3; $x < count($name); ++$x) //name may be more than one word { if (tep_not_null($name[$x])) $name[2] .= ' ' . $name[$x]; } $name[2] = strtolower($name[2]); $name[2] = ucfirst($name[2]); $boxes[$ctr]['text'] = $name[2].' ('.basename($file).')'; } $boxes[$ctr]['id'] = basename($file); } } $ctr++; } closedir($handle); } else echo ERROR_CANNOT_OPEN_CATALOG_BOXES_DIR . DIR_FS_CATALOG.DIR_WS_BOXES.'<br>'; ?> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td valign="top"><table border="0" cellspacing="0" cellpadding="2"> <tr> <td class="main" width="50%"><?=TITLE_CATALOG_FILES?></td> <td class="main" width="50%"><?=TITLE_CATALOG_BOXES?></td> </tr> <tr> <td class="main"><table border="0" cellspacing="0" cellpadding="2"> <tr> <td colspan="2" class="main"><? echo tep_draw_form('ex_file', FILENAME_SITEMAP,'action=ex_file').tep_draw_pull_down_menu('file',$files);?></td> </tr> <tr> <td class="main"><? echo TEXT_EXCLUDE_FOR_ALL.tep_draw_radio_field('ex_type','all', true).'<br>'.TEXT_EXCLUDE_FOR_UNREG.tep_draw_radio_field('ex_type','unreg');?></td> <td class="main" align="right"><?=tep_image_submit('button_exclude.gif', IMAGE_EXCLUDE)?></form></td> </tr> </table></td> <td class="main"><table border="0" cellspacing="0" cellpadding="2"> <tr> <td><? echo tep_draw_form('ex_box', FILENAME_SITEMAP,'action=ex_box').tep_draw_pull_down_menu('box',$boxes);?></td> </tr> <tr> <td class="main"><? echo TEXT_EXCLUDE_FOR_ALL.tep_draw_radio_field('ex_type','all', true).'<br>'.TEXT_EXCLUDE_FOR_UNREG.tep_draw_radio_field('ex_type','unreg');?></td> <td class="main" align="right"><?=tep_image_submit('button_exclude.gif', IMAGE_EXCLUDE)?></form></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td class="main"><?=" "?></td> </tr> <tr> <td valign="top"><table border="0" cellspacing="0" cellpadding="2" width="100%"> <tr> <td class="main" width="50%" valign="top" align="center"><table border="0" cellspacing="0" cellpadding="2" width="90%"> <tr> <td class="formAreaTitle"><?=TITLE_EXCLUDED_CATALOG_FILES?></td> </tr> <tr> <td class="main"><? $exclude_query = tep_db_query('select exclude_id, exclude_file, exclude_type from '.TABLE_SITEMAP_EXCLUDE.' where is_box="0" and exclude_type!="0" order by exclude_type, exclude_file'); if (tep_db_num_rows($exclude_query)) while($exclude = tep_db_fetch_array($exclude_query)){ echo '<table border="0" cellspacing="0" cellpadding="2" width="100%"><tr><td class="main">'.$exclude['exclude_file'].'</td><td class="main">('.( $exclude['exclude_type'] == 1 ? TEXT_ALL : TEXT_UNREG ).')</td><td class="main" align="right"><a href="'.tep_href_link(FILENAME_SITEMAP, 'action=include&eID='.$exclude['exclude_id']).'">'.TEXT_INCLUDE.'</a></td></tr></table>'; } ?></td> </tr> </table></td> <td class="main" width="50%" valign="top" align="center"><table border="0" cellspacing="0" cellpadding="2" width="90%"> <tr> <td class="formAreaTitle"><?=TITLE_EXCLUDED_CATALOG_BOXES?></td> </tr> <tr> <td class="main"><? $exclude_query = tep_db_query('select exclude_id, exclude_file, exclude_type from '.TABLE_SITEMAP_EXCLUDE.' where is_box="1" and exclude_type!="0" order by exclude_type, exclude_file'); if (tep_db_num_rows($exclude_query)) while($exclude = tep_db_fetch_array($exclude_query)){ echo '<table border="0" cellspacing="0" cellpadding="2" width="100%"><tr><td class="main">'.$exclude['exclude_file'].'</td><td class="main">('.( $exclude['exclude_type'] == 1 ? TEXT_ALL : TEXT_UNREG ).')</td><td class="main" align="right"><a href="'.tep_href_link(FILENAME_SITEMAP, 'action=include&eID='.$exclude['exclude_id']).'">'.TEXT_INCLUDE.'</a></td></tr></table>'; } ?></td> </tr> </table></td> </tr> </table></td> </tr> </tr> </table></td> </tr> </table></td> <!-- body_text_eof //--> </tr> </table> <!-- body_eof //--> <!-- footer //--> <?php require(DIR_WS_INCLUDES . 'footer.php'); ?> <!-- footer_eof //--> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> catalog/admin/includes/languages/english/sitemap.php <?php /* $Id: specials.php,v 1.10 2002/03/16 15:07:21 project3000 Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License */ define('HEADING_TITLE', 'Sitemap'); define('TITLE_CATALOG_FILES', 'Files in Catalog<br /><small>('.DIR_FS_CATALOG.')</small>'); define('TITLE_CATALOG_BOXES', 'Catalog boxes<br /><small>('.DIR_FS_CATALOG.DIR_WS_BOXES.')</small>'); define('TEXT_EXCLUDE_FOR_ALL', 'Exclude completely'); define('TEXT_EXCLUDE_FOR_UNREG', 'Exclude for unregistered users'); define('TEXT_INCLUDE', 'Include'); define('TEXT_ALL', 'all'); define('TEXT_UNREG', 'guests'); define('TITLE_EXCLUDED_CATALOG_FILES', 'Excluded catalog files'); define('TITLE_EXCLUDED_CATALOG_BOXES', 'Excluded catalog boxes'); define('ERROR_CANNOT_OPEN_CATALOG_BOXES_DIR', 'Error! Can\'t open catalog boxes dir : '); define('ERROR_CANNOT_OPEN_CATALOG_DIR', 'Error! Can\'t open catalog dir : '); ?> I tried it the last two blank lines removed too. :( And the .sql which needs to be removed from the database so I can go back to v1.6 CREATE TABLE `sitemap_exclude` ( `exclude_id` INT NOT NULL AUTO_INCREMENT , `exclude_file` VARCHAR( 255 ) NOT NULL , `exclude_type` INT( 2 ) DEFAULT '0' NOT NULL , `is_box` INT( 1 ) DEFAULT '0' NOT NULL, PRIMARY KEY ( `exclude_id` ) ); insert into `sitemap_exclude` values (NULL, 'best_sellers.php','1','1'); insert into `sitemap_exclude` values (NULL, 'categories.php','1','1'); insert into `sitemap_exclude` values (NULL, 'currencies.php','1','1'); insert into `sitemap_exclude` values (NULL, 'languages.php','1','1'); insert into `sitemap_exclude` values (NULL, 'manufacturer_info.php','1','1'); insert into `sitemap_exclude` values (NULL, 'manufacturer.php','1','1'); insert into `sitemap_exclude` values (NULL, 'order_history.php','1','1'); insert into `sitemap_exclude` values (NULL, 'product_notifications.php','1','1'); insert into `sitemap_exclude` values (NULL, 'reviews.php','1','1'); insert into `sitemap_exclude` values (NULL, 'shopping_cart.php','1','1'); insert into `sitemap_exclude` values (NULL, 'search.php','1','1'); insert into `sitemap_exclude` values (NULL, 'specials.php','1','1'); insert into `sitemap_exclude` values (NULL, 'tell_a_friend.php','1','1'); insert into `sitemap_exclude` values (NULL, 'whats_new.php','1','1'); insert into `sitemap_exclude` values (NULL, 'product_info.php','1','0'); insert into `sitemap_exclude` values (NULL, 'create_account_success.php','1','0'); insert into `sitemap_exclude` values (NULL, 'links_submit_success.php','1','0'); insert into `sitemap_exclude` values (NULL, 'checkout_process.php','1','0'); Sorry for long post, but I have been trying allsorts & still a blank admin, but a sitemap on the catalog side? Thank you so much Julie
  6. Hi I have downloaded the contribution again & when I use Winmerge the following files are all yellow & do not say "no difference" catalog/admin/sitemap.php catalog/admin/languages/english/sitemap.php but I confess to not understanding it? :blush: I have tried the tutorial but am getting more confused. I cannot see a difference, but all orange & not all white mean something must be wrong. This is why the admin is blank, but please can you tell me what I need to do next? Do I have any embedded stuff ( :blink: ) whatever that is or white lines. so frustrating...if I had a brain I'd be dangerous! :lol: Please talk to me. :D Thanks Julie
  7. Hi OK I cannot get the admin to show. I have only installed Ultimate SEO URL's & Header tags Controller & spiders.txt & it was all working before I added this one. I will undo all the new files & amendments so I can install Jack msc v1.6 because I know that works for me....but I have never undone a sql. Please could you advise me how I do this please? Thanks Knew I should have stuck to Jacks! >_< Julie
  8. Hi OK this is :blink: I have installed V2.0 Kit 7/7/06. I have Jacks 25/10/05 on my other site & it works great. I have the catalogue side fine, but a blank white page on admin. I have double checked all the amendments INC typo in readme, & uploaded the files included again (just in case the catalog/admin/sitemap.php & catalog/admin/includes/languages/english/sitemap.php were the wrong way round.) It has got to be on the admin side, as the cataolg side is working fine...but please tell me what I am missing? So blank admin & no error. database sql success. Thanks Julie :thumbsup:
  9. Hi I am getting error messages, which I do not understand? PHP Warning imagedestroy() Listing forbidden images/, referer PHP Warning imagecreatetruecolor() [function.imagecreatetruecolor PHP Warning imagecolorallocate() PHP Warning imagefill() PHP Warning imagecopyresampled() PHP Warning imagejpeg() PHP Warning imagedestroy() PHP Warning Unknown() File does not exist favicon.ico My host has said this: Your site is trying to call imagecreatetruecolor() without a valid image, causing the error. I do not know what I have done to cause this, so do not know where to look, & also I do not know if it is harming the site? Any suggestions apreciated please? Thanks Julie
  10. I have had alot of support from original authors of great contributions & am hughly grateful. I think it is a great idea, certainly on the big & hughly used contributions for the author to maintain an understandable download list. I for one get confused with all the additions & knowing which one to use. Also small addons seem not to be continuously supported. I was looking to add this one to the new RC1 I am starting & was about to ask if it was compatable, but would seriously consider NOT doing it if Vger's help was not available. This is such a shame.
  11. Hi I have installed the latest download & would like to add "most" of the useful contributions I added to my first site. One thing I didn't realise in the beginning was that it was easier to add the seo ones first!! >_< so I didn't add the main one Ultimate SEO URLs. My question is should I do Ultimate SEO URLs (& which one because it is looking like a jumble) or SEO-G? I want this to be the first one as I'm lead to believe it will be easier? :huh: Other SEO contributions (please add or comment) Dynamic Sitemap Header Tags Controller V2.6.3 Google XML sitemap RSS All Manufacturers All Products with pictures Spiders.txt Other helpful contributions: Points & Rewards V1.6 Who's online enhancement Newsdesk Poll Booth On the fly thumbnaails Related products Page Heading title better Super contactus enhancement Can anyone see a problem with the new RC1, & have I missed a valuable one that would help me build a great site? :lol: Thank you for your suggestions. Julie
  12. OK student asking teacher one more question ;) (no fluttering eyelids pics available) Going by what you said & the fact that this is still working (mostly) up to the 2.6.2 version I'm thinking the following is possible? Upload from V2.6.3 admin/header_tags_controller.php admin/header_tags_english.php admin/includes/boxes/header_tags_controller.php includes/header_tags.php (without the amendment for the bug fix for certain stores) AND includes/languages/english/header_tags.php This will put me back to an upgraded V2.6.3 but with both the includes/header_tags.php (without the amendment for the bug fix for certain stores) AND includes/languages/english/header_tags.php back to a default mode. This makes them both the same & I will need to add the new pages & text again. During this I haven't touched any other files, so they should still be the same as the V2.6.2 which worked, only mixing some of the english codes around. I will obviously check that the inc/lang/eng/header_tags.php is writing ok, but if the old bug happens again I would just amend the english/header_tags.php manually. I have read the install instructions & it says "DON'T upload the new shop files if you have other contributions as you WILL break your shop" I don't want to do that. Anyhow, my mouse is now playing up & I need to renew my test side, which is also not right, before I try this or what ever you come back with. :D Please correct me if my thinking is way off line. I need a glass of wine & I have to be up early tomorrow for an ALL day Cancer charity event so I'll give you all a rest from my rantings. I'll speak to you soon Jack. :thumbsup: Thanks for being patient. Julie
  13. I am trying to understand this, & thinking (mmmm) do you mean that the entries in each file made for each page/new page has to be the same? ie I can't have the code for one page in one but not the other, which might happen if this has all messed up. Therefore easiest way is the re-upload the folder with all the new shop files? Great & I don't mind (much) the re-entering data, as long as I don't have to go through the WHOLE contribution again. PLEASE don't say THAT. Julie
  14. I don't get what you mean sorry? If I was just upgrading then the english/header_tags.php would remain the same & I would amend the includes/header_tags.php for the new bits & replace all the original code that I have somehow managed to lose from this file? Just upload the files? ie I wouldn't have to redo all the amendments & database again as I should have them. I was going to do these as I assume they are part of the reason for the update. I think the code suggestion has caused this. I would prefer a buggy (for my site anyhow) version that I just needed to check & manually change the english/header_tags.php rather than this . Thanks :( Julie
  15. Jack I have just compared the brand new inc/header_tags.php & mine :o OK This is the same: <?php /* /catalog/includes/header_tags.php Add META TAGS and Modify TITLE */ require(DIR_WS_LANGUAGES . $language . '/' . 'header_tags.php'); $tags_array = array(); // Define specific settings per page: switch (true) { & then blank until // about_us.php case (strstr($_SERVER['PHP_SELF'],FILENAME_ABOUT_US) or strstr($PHP_SELF, FILENAME_ABOUT_US) ): $tags_array = tep_header_tag_page(HTTA_ABOUT_US_ON, HEAD_TITLE_TAG_ABOUT_US, HTDA_ABOUT_US_ON, HEAD_DESC_TAG_ABOUT_US, HTKA_ABOUT_US_ON, HEAD_KEY_TAG_ABOUT_US ); break; & then I have code like: // allmanufacturers.php case (strstr($_SERVER['PHP_SELF'],FILENAME_ALLMANUFACTURERS) or strstr($PHP_SELF, FILENAME_ALLMANUFACTURERS)); $tags_array = tep_header_tag_page(HTTA_ALLMANUFACTURERS_ON, HEAD_TITLE_TAG_ALLMANUFACTURERS, HTDA_ALLMANUFACTURERS_ON, HEAD_DESC_TAG_ALLMANUFACTURERS, HTKA_ALLMANUFACTURERS_ON, HEAD_KEY_TAG_ALLMANUFACTURERS ); break; // embellishments_tips.php case (strstr($_SERVER['PHP_SELF'],FILENAME_EMBELLISHMENTS_TIPS) or strstr($PHP_SELF, FILENAME_EMBELLISHMENTS_TIPS)); $tags_array = tep_header_tag_page(HTTA_EMBELLISHMENTS_TIPS_ON, HEAD_TITLE_TAG_EMBELLISHMENTS_TIPS, HTDA_EMBELLISHMENTS_TIPS_ON, HEAD_DESC_TAG_EMBELLISHMENTS_TIPS, HTKA_EMBELLISHMENTS_TIPS_ON, HEAD_KEY_TAG_EMBELLISHMENTS_TIPS ); break; // gallery.php case (strstr($_SERVER['PHP_SELF'],FILENAME_GALLERY) or strstr($PHP_SELF, FILENAME_GALLERY)); $tags_array = tep_header_tag_page(HTTA_GALLERY_ON, HEAD_TITLE_TAG_GALLERY, HTDA_GALLERY_ON, HEAD_DESC_TAG_GALLERY, HTKA_GALLERY_ON, HEAD_KEY_TAG_GALLERY ); break; etc for all my added pages. Do I need all this code together, or is my code not supposed to be there? End is the same: // ALL OTHER PAGES NOT DEFINED ABOVE default: $tags_array['desc'] = HEAD_DESC_TAG_ALL; $tags_array['keywords'] = HEAD_KEY_TAG_ALL; $tags_array['title'] = HEAD_TITLE_TAG_ALL; break; } echo ' <title>' . $tags_array['title'] . '</title>' . "\n"; echo ' <meta name="Description" content="' . $tags_array['desc'] . '" />' . "\n"; echo ' <meta name="Keywords" content="' . $tags_array['keywords'] . '" />' . "\n"; echo ' <meta name="robots" content="noodp" />' . "\n"; echo ' <meta http-equiv="Content-Type" content="text/html; charset=' . CHARSET . '" />'."\n"; //NOTE: If you want your email add to your source code, remove the two slashes on the //following line of code. This serves no useful purpose and is not suggested tobe used //echo ' <meta name="Reply-to" content="' . HEAD_REPLY_TAG_ALL . '"/>' . "\n"; echo '<!-- EOF: Generated Meta Tags -->' . "\n"; ?> Does this mean any thing to you? :huh: Thanks for your help AGAIN! I just wish it wasn't always me. :D Julie
  16. I've lost other parts too, like products_info? When I first made the changes as described it was putting them into the inc/lang/eng/header_tags.php fine. Even now it has the correct spaces & no insertions of code in the wrong places. After about 6-7 pages it threw a wobbly. Since then I have noticed the products & categories are not showing as they were but only the default. I have loads of differences in the includes/header_tags.php but I have got so confused that I am not sure what to do next. I don't think this file is right, but I can't say what. The big gaps of missing code for the produt_info, allproducts, allmanufacturers etc might be a dead give away. I'm thinking that the 2.6.3 update might help? Upload the following: admin/header_tags_controller.php admin/header_tags_english.php admin/includes/boxes/header_tags_controller.php Shall I use the "for new shops" includes/header_tags.php & upload that instead of making the changes to mine, as I'm not sure mine is right? As this doesn't touch the inc/lang/eng/header_tags.php my new descriptions should stay. If it doesn't resolve itself I can manually add the missing code, but it didn't make the error message go away from the top of the site when I did this last time. I would gratefully appreciate your plan of attach for this, so I don't just completely break my shop & have a nervous breakdown! Thanks Julie
  17. :'( Product_info pages & categories were working before this & now only show default. Another day wasted. this is sole destroying.
  18. I don't know why it happens to me :angry: I tried to add another page that is showing in the "check missing pages" (which I had before the fix) & IT DID IT AGAIN! How can admin>header tags controller>add a new page be working & then without ANY code changes stop working? I have 4 pages left to do, but I am leaving them this time. Do you think I should upgrade from 2.6.2 to 2.6.3 Jack. It might fix the blip or do you have any other insight into what might have caused it to suddenly do this please? It never just runs smoothly does it? :( Thanks Julie
  19. Hi I have a problem that I can't fathom :angry: I have been addingthe pages back in by going to Admin>Header Tags>Page Control Here I update the Check Missing Pages & pick one I want to add. Then I go to Add a new page & fill in the details. All has been working well until the last page? :blink: When I do this I get the following warning at the top of each of my sites pages There was no entry in the Text Control page or in the "Check missing Pages" or in the "deletea new page" I manually amended the includes/languages/english/header_tags.php which did put it on the Text Control page in black. I even uploaded a new root page file & admin/header_tags.php but I still have the warning. Please help. :'( What have I missed? Thanks Julie PS OK I have just deleted the page, & the message has gone, BUT dare I try it again, or am I missing something wrong with this file?
  20. It DOES wipe it all, but I'm not too worried as I was going to re-word them anyhow :P The code does work for me too, as I have just added a page & the includes/languages/english/header_tags.php has amended beautifully maintaining all the necessary blank lines. Thank you to both of you :thumbsup: Julie
  21. OK Jack Your post 3673 & rwest post 3674 & post 3675 has amendments to fix this. :-" I made these amendments to admin/header_tags_controller.php & then pressed update in the text control page, but the code in includes/languages/english/header_tags.php hasn't changed. Am I supposed to do something else for this to work? If I upload the 2.6.2 includes/languages/english/header_tags.php & then press update in admin>header tags>text control will it make that page correct AND with all my existing pages & text? Or will it wipe it all & I need to start again? Thanks Julie
  22. :blush: :blush: :blush: ;) Right...I have looked at the includes/languages/english/header_tags.php & think this is where the problem is? <_< I did notice that a page description kept coming up in searches even though it wasn't what was being searched. So I deleted that page from being included in the header tags. :-" Looking closely at this file I can see that new pages are being added, but occasionally the new set of codes for this page is being inserted between the last code & second to last code. ie not after the last code. >_< // index.php define('HTTA_DEFAULT_ON','0'); // Include HEAD_TITLE_TAG_ALL in Title define('HTKA_DEFAULT_ON','1'); // Include HEAD_KEY_TAG_ALL in Keywords define('HTDA_DEFAULT_ON','0'); // Include HEAD_DESC_TAG_ALL in Description define('HTTA_CAT_DEFAULT_ON', '1'); //Include HEADER_TITLE_DEFAULT in CATEGORY DISPLAY define('HEAD_TITLE_TAG_DEFAULT', 'xxxx'); // paper_sizes.php define('HTTA_NEW_PAGE_ON','1'); define('HTDA_NEW_PAGE_ON','0'); define('HTKA_NEW_PAGE_ON','1'); define('HEAD_TITLE_TAG_NEW_PAGE,'Blah Blah'); define('HEAD_DESC_TAG_NEW_PAGE,'Blah Blah'); define('HEAD_KEY_TAG_NEW_PAGE,'Blah Blah'); define('HEAD_KEY_TAG_DEFAULT','Blah Blah same as above & not xxx'); The define('HEAD_DESC_TAG_DEFAULT', 'xxxx'); was in the page I deleted as has happened above. Should read: // index.php define('HTTA_DEFAULT_ON','0'); // Include HEAD_TITLE_TAG_ALL in Title define('HTKA_DEFAULT_ON','1'); // Include HEAD_KEY_TAG_ALL in Keywords define('HTDA_DEFAULT_ON','0'); // Include HEAD_DESC_TAG_ALL in Description define('HTTA_CAT_DEFAULT_ON', '1'); //Include HEADER_TITLE_DEFAULT in CATEGORY DISPLAY define('HEAD_TITLE_TAG_DEFAULT', 'xxxx'); define('HEAD_DESC_TAG_DEFAULT','xxxx'); define('HEAD_KEY_TAG_DEFAULT','xxxx'); // paper_sizes.php define('HTTA_NEW_PAGE_ON','1'); define('HTDA_NEW_PAGE_ON','0'); define('HTKA_NEW_PAGE_ON','1'); define('HEAD_TITLE_TAG_NEW_PAGE,'Blah Blah'); define('HEAD_DESC_TAG_NEW_PAGE,'Blah Blah'); define('HEAD_KEY_TAG_NEW_PAGE,'Blah Blah'); This hasn't happened on all new pages, only on 5 Will the 2.6.2 to 2.6.3 update fix this? Do I need to replace this page again with the original before I do the update or will it rewrite it's self? I am assuming that this is only showing the results of a coding problem elsewhere & just cutting & pasting the misplaced code in this file will not solve the problem. I can see the problem (at least) but don't understand the cause or fix, as I just follow :lol: Baaaaa Hope you can enlighten me. Thank you. Julie
  23. Hi Jack I'm not stalking you honest. :lol: I have fixed my other "problem" partially (thank you) & was about to do your update from 2.6.2 to 2.6.3 when I got an email saying : I can't see anything in admin, or on my tabs, so I'm lost as to where this relates to. How do you check it is working, as I was looking at what the tab was generating for each page I go to. It changes & says the manufacturer etc. I am reluctant to do the upgrade if i need to correct something from 2.6.2 that I did wrong first. Alternatively this is sorted in the update. I did find another pages code always coming up, so I deleted that page. It's never ending checking & keeping these contributions up to date, so I can't imagine how it is for you. :blink: I promise to try & do Ultimate URL's SEO AFTER I have sorted out this one, oh & an "unable to determine the page" in dynamic sitemap (I think I know how to do that one :lol: ) Thanks AGAIN Julie
  24. Hi John

    Nice to see you back :)

    Julie

×
×
  • Create New...