Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Header Tags SEO


Jack_mcs

Recommended Posts

hello jack,

 

another clue:\

 

php files not picking up the title keywords and the description.

 

aboutus, advanced_search, advanced_search relults, conditions, contact_us, cookie_usage, faqs,featured_products,

and some others.

 

php files that are picking up title keywords and the description.

 

index, product_info, specials.

 

it seems i am might be missing some code for the pages not picking up the manually added title desc.and keywords.

 

thanks,

 

craig

Link to comment
Share on other sites

Ok i just installed header tags seo v3.2.8 on oscommerce v2.3.1 and now all of my links look similar to the following

 

"http://www.mywebsite.comdir_ws_http_catalogindex.php" (i put in bold the part that i know is wrong)

 

. It appears that after installing header tags seo i am missing some punctuation somewhere in the code but i don't know where to look. Can anyone point me in the right direction.

Link to comment
Share on other sites

It appears that after installing header tags seo i am missing some punctuation somewhere in the code but i don't know where to look. Can anyone point me in the right direction.

You should restore the files on the shop side, make sure everything works and try the changes again to find your mistake.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

i have tried that twice and get the same error. i am going to do a complete reinstall as I can not find a solution.

If you can pin it down to one page, then you can temporairly use that file from the contribution to make sure it works. It should but, if not, the problem is in some other file. If it works, then use a compare program, like Winmerge, to find the problem.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Hello,

 

I am working on a module, and having a little problem figuring out how to add this to my dynamic module..

 

The module i am building is a news blog..

 

As of right now, the pages are formated as news.php?article=

 

I cannot figure out how to have header tags rewrite the url & titles dynamically to the page.

 

So far here are the additions I have added, maybe you can tell me what i am missing

 

.htaccess

 

RewriteRule ^(.*)-news-(.*).html$ news.php?article=$2&%{QUERY_STRING}

 

 

includes/header_tags.php

 

case (strstr($_SERVER['PHP_SELF'],FILENAME_NEWS) or strstr($PHP_SELF,FILENAME_NEWS)):

$header_tags_array = tep_header_tag_page(FILENAME_NEWS);

break;

Professionally Done Module Install's

Custom Modules

Support USA Coder's. And Get The Job Done Right!

Link to comment
Share on other sites

i apologize, was getting modules mixed up, ignore the seo url stuff i have that sorted out...

 

what i need is for the page to either not replace the header tags on this page as i have it hardcoded in to make a custom <title> etc.., or to add them based on the title of the article

Professionally Done Module Install's

Custom Modules

Support USA Coder's. And Get The Job Done Right!

Link to comment
Share on other sites

Hi Jack;

I have problems with installation in some languages​​, to see the last page of the product, just as you see the specific product information, specifically, I get error in the version of French, Russian, Swedish, Norwegian, Japanese and Chinese, without But in English, Spanish, Italian and German looks good.

The error occurs when trying to get

9) In includes/languages/english/product_info.php, add the following before the last ?>

 

/*** Begin Header Tags SEO ***/

define('TEXT_VIEWING', 'Currently viewing:');

/*** End Header Tags SEO ***/

 

======================================================================================================

10) In includes/languages/english.php, add the following before the last ?>. This

should be added in all language files you intend to use.

 

/*** Begin Header Tags SEO ***/

define('BOX_HEADING_HEADERTAGS_TAGCLOUD', 'Popular Searches');

define('TEXT_SEE_MORE', 'See More');

/*** End Header Tags SEO ***/

In making the test header tags in the result, I do not leave keys in the languages​​, and the list of languages ​​listed as missing language, specifically Japanese.

I uninstalled with the uninstall file and reinstalled, but the error continues

uninstalling on page I get this message

Warning: require(includes/column_right.php) [function.require]: failed to open stream: No such file or directory in /home/www/arthandpainted.com/headertags_seo_uninstall.php on line 108

 

Fatal error: require() [function.require]: Failed opening required 'includes/column_right.php' (include_path='.:/usr/local/php5/lib/php') in /home/www/arthandpainted.com/headertags_seo_uninstall.php on line 108

I'm already desperate, you could lend me your help

thank you very much

Cheloki

Link to comment
Share on other sites

Hi Jack;

define('TEXT_VIEWING', 'Currently viewing:');

 

define('BOX_HEADING_HEADERTAGS_TAGCLOUD', 'Popular Searches');

define('TEXT_SEE_MORE', 'See More');

 

Warning: require(includes/column_right.php) [function.require]: failed to open stream: No such file or directory in /home/www/arthandpainted.com/headertags_seo_uninstall.php on line 108

 

The errors with capital letters, as shown above, means there is a mistake in the installation because those definitions are missing.

 

The error in the install/uninstall scripts just means you don't have a column_right file and can be ignored. As long as you get a successful message when runing those, they are OK.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

9) In includes/languages/english/product_info.php, add the following before the last ?>

 

/*** Begin Header Tags SEO ***/

define('TEXT_VIEWING', 'Currently viewing:');

/*** End Header Tags SEO ***/

 

I apologize for not speaking their language well. I have not explained well. My problem is that to get the code;

 

9) In includes/languages/english/product_info.php,

/*** Begin Header Tags SEO ***/

define('TEXT_VIEWING', 'Currently viewing:');

/*** End Header Tags SEO ***/

 

 

The page is broken, you can see on this link;

http://arthandpainted.com/index.php/nueva-nueva-c-60_61?language=fr

If you click on "see more" = "voir plus", you will see the result

It happens in other languages ​​as well, only good in English and Spanish, incidentally, the admin I have it in Spanish and English.

 

Thanks for your help

Cheloki

Link to comment
Share on other sites

The link you provided is invalid so I can't check it. But that piece of code is just a standard language file change. If it doesn't work, you've made a mistake in the change or something is wrong with your basic shop.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Hi Jim,

 

I am updating Header Tags SEO installed in a OSC 2.31from_V_3.2.6_to_V_3.2.7, but I was unable to find the line you mention in the update procedure, step 5th.

 

 

5) In includes/header.php,

 

FIND:

 

if ($messageStack->size('header') > 0) {

echo $messageStack->output('header');

}

?>

 

Please help. Thanks

Link to comment
Share on other sites

5) In includes/header.php,

 

FIND:

 

if ($messageStack->size('header') > 0) {

echo $messageStack->output('header');

}

?>

 

Please help. Thanks

In 2.3 the line is a little different:
echo '<div class="grid_24">' . $messageStack->output('header') . '</div>';

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Hi JIm

 

I found lines you said for step 5 but now I cant find lines for step 16.

 

 

16) In admin/categories.php,

 

******************** BELOW IS FOR 2.3 SHOPS *********************

 

FIND:

 

 

} elseif ($action == 'new_product_preview') {

if (tep_not_null($HTTP_POST_VARS)) {

$pInfo = new objectInfo($HTTP_POST_VARS);

$products_name = $HTTP_POST_VARS['products_name'];

$products_description = $HTTP_POST_VARS['products_description'];

$products_head_title_tag = $HTTP_POST_VARS['products_head_title_tag'];

$products_head_desc_tag = $HTTP_POST_VARS['products_head_desc_tag'];

$products_head_keywords_tag = $HTTP_POST_VARS['products_head_keywords_tag'];

$products_url = $HTTP_POST_VARS['products_url'];

/*** End Header Tags SEO ***/

 

Thanks a lot.

Link to comment
Share on other sites

Hi JIm,

 

I know I have not completed the instalation yet, nevertheless at this moment my site is not working and showing the following message:

 

Warning: require(includes/template_top.php) [function.require]: failed to open stream: No such file or directory in /home/ipexpres/public_html/pyme/index.php on line 36

 

Fatal error: require() [function.require]: Failed opening required 'includes/template_top.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ipexpres/public_html/pyme/index.php on line 36

 

Some idea?

 

Thanks a lot.

Link to comment
Share on other sites

Warning: require(includes/template_top.php) [function.require]: failed to open stream: No such file or directory in /home/ipexpres/public_html/pyme/index.php on line 36

The error is saying it can't find the includes/template_top.php file. That is a standard file in 2.3. So you either deleted it or you don't have a 2.3 shop.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Hi JIm

 

I found lines you said for step 5 but now I cant find lines for step 16.

 

 

16) In admin/categories.php,

 

******************** BELOW IS FOR 2.3 SHOPS *********************

 

FIND:

 

 

} elseif ($action == 'new_product_preview') {

if (tep_not_null($HTTP_POST_VARS)) {

$pInfo = new objectInfo($HTTP_POST_VARS);

$products_name = $HTTP_POST_VARS['products_name'];

$products_description = $HTTP_POST_VARS['products_description'];

$products_head_title_tag = $HTTP_POST_VARS['products_head_title_tag'];

$products_head_desc_tag = $HTTP_POST_VARS['products_head_desc_tag'];

$products_head_keywords_tag = $HTTP_POST_VARS['products_head_keywords_tag'];

$products_url = $HTTP_POST_VARS['products_url'];

/*** End Header Tags SEO ***/

 

Thanks a lot.

 

Now, I am at this point again. Please let me know why I could not find this lines.

 

Thanks a lot for you great support.

Edo.

Link to comment
Share on other sites

I found lines you said for step 5 but now I cant find lines for step 16.

 

16) In admin/categories.php,

There was a mistake or two in the update instructions for 3.2.7, that being one of them. You can either compare your file with the included one in 3.2.8 or look at the install file from 3.2.8 to get the correct code.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Hi Jim,

 

as you tell me, I reviewed the new install instructions file and I found the same instruction for code you mention in step 16, within 3.2.6 to 3.2.7 update file instructions, nevertherless neither the admin/categories.php for new shop files included in 3.2.8 full version nor my admin/categories.php files have that code.

 

Step 16 says:

 

******************** BELOW IS FOR 2.3 SHOPS *********************

 

FIND:

 

<?php /*** Begin Header Tags SEO ***/ ?>

<?php

} elseif ($action == 'new_product_preview') {

if (tep_not_null($HTTP_POST_VARS)) {

$pInfo = new objectInfo($HTTP_POST_VARS);

$products_name = $HTTP_POST_VARS['products_name'];

$products_description = $HTTP_POST_VARS['products_description'];

$products_head_title_tag = $HTTP_POST_VARS['products_head_title_tag'];

$products_head_desc_tag = $HTTP_POST_VARS['products_head_desc_tag'];

$products_head_keywords_tag = $HTTP_POST_VARS['products_head_keywords_tag'];

$products_url = $HTTP_POST_VARS['products_url'];

/*** End Header Tags SEO ***/

 

REPLACE WITH:

 

<?php /*** Begin Header Tags SEO ***/ ?>

<?php

} elseif ($action == 'new_product_preview') {

if (tep_not_null($HTTP_POST_VARS)) {

$pInfo = new objectInfo($HTTP_POST_VARS);

$products_name = $HTTP_POST_VARS['products_name'];

$products_description = $HTTP_POST_VARS['products_description'];

$products_head_title_tag = $HTTP_POST_VARS['products_head_title_tag'];

$products_head_desc_tag = $HTTP_POST_VARS['products_head_desc_tag'];

$products_head_keywords_tag = $HTTP_POST_VARS['products_head_keywords_tag'];

$products_head_listing_text = $HTTP_POST_VARS['products_head_listing_text'];

$products_head_sub_text = $HTTP_POST_VARS['products_head_sub_text'];

$products_url = $HTTP_POST_VARS['products_url'];

 

******************** ABOVE IS FOR 2.3 SHOPS *********************

 

 

Could you please review that and explain what could be happening?

 

Do you have some 3.2.6 to 3.2.7 update instruction with fixed instructions?

Please your help

Thanks

Link to comment
Share on other sites

Could you please review that and explain what could be happening?

 

Do you have some 3.2.6 to 3.2.7 update instruction with fixed instructions?

The instructions and files for 3.2.8 are correct, as far as I know.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

I have resolved the issue of the right column disappears with header tags, it is because files are missing in some language packs, climbing corrected the English version, then the language that fails, above

Thank you,

Link to comment
Share on other sites

Hi

 

I have just installed http://addons.oscommerce.com/info/5851/ and the version V 3.2.8 dated 29 Jan 2012

 

The admin side works perfect but on the front end I get the following error

 

Parse error: syntax error, unexpected T_CLASS in /customers/1/0/7/irhtoys.co.uk/httpd.www/includes/header_tags.php on line 299

 

My url is www.irhtoys.co.uk

 

The coding below is from 299 onwards where it says the error is

 

case (basename($_SERVER['PHP_SELF']) === FILENAME_SITEMAP.CLASS):
   if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '')) {
  $header_tags_array = tep_header_tag_page(FILENAME_SITEMAP.CLASS);
  WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '');
   }
 break;[/color]
[color=#000000]// bm_information.php
 case (basename($_SERVER['PHP_SELF']) === FILENAME_BM_INFORMATION):
   if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '')) {
  $header_tags_array = tep_header_tag_page(FILENAME_BM_INFORMATION);
  WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '');
   }
 break;[/color]
[color=#000000]// cookie_usage.php
 case (basename($_SERVER['PHP_SELF']) === FILENAME_COOKIE_USAGE):
   if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '')) {
  $header_tags_array = tep_header_tag_page(FILENAME_COOKIE_USAGE);
  WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '');
   }
 break;[/color]
[color=#000000]// categories.php
 case (basename($_SERVER['PHP_SELF']) === FILENAME_CATEGORIES):
   if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '')) {
  $header_tags_array = tep_header_tag_page(FILENAME_CATEGORIES);
  WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '');
   }
 break;[/color]
[color=#000000]// feedback.php
 case (basename($_SERVER['PHP_SELF']) === FILENAME_FEEDBACK):
   if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '')) {
  $header_tags_array = tep_header_tag_page(FILENAME_FEEDBACK);
  WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '');
   }
 break;[/color]
[color=#000000]// asnf_reply.php
 case (basename($_SERVER['PHP_SELF']) === FILENAME_ASNF_REPLY):
   if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '')) {
  $header_tags_array = tep_header_tag_page(FILENAME_ASNF_REPLY);
  WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '');
   }
 break;[/color]
[color=#000000]// index_modifications.php
 case (basename($_SERVER['PHP_SELF']) === FILENAME_INDEX_MODIFICATIONS):
   if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '')) {
  $header_tags_array = tep_header_tag_page(FILENAME_INDEX_MODIFICATIONS);
  WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '');
   }
 break;[/color]
[color=#000000]// privacy.php
 case (basename($_SERVER['PHP_SELF']) === FILENAME_PRIVACY):
   if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '')) {
  $header_tags_array = tep_header_tag_page(FILENAME_PRIVACY);
  WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '');
   }
 break;[/color]
[color=#000000]// testimonials.php
 case (basename($_SERVER['PHP_SELF']) === FILENAME_TESTIMONIALS):
   if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '')) {
  $header_tags_array = tep_header_tag_page(FILENAME_TESTIMONIALS);
  WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '');
   }
 break;[/color]
[color=#000000]// whos_online.php
 case (basename($_SERVER['PHP_SELF']) === FILENAME_WHOS_ONLINE):
   if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '')) {
  $header_tags_array = tep_header_tag_page(FILENAME_WHOS_ONLINE);
  WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '');
   }
 break;[/color]
[color=#000000]// contact_us.php
 case (basename($_SERVER['PHP_SELF']) === FILENAME_CONTACT_US):
   if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '')) {
  $header_tags_array = tep_header_tag_page(FILENAME_CONTACT_US);
  WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '');
   }
 break;[/color]
[color=#000000]// opensearch.php
 case (basename($_SERVER['PHP_SELF']) === FILENAME_OPENSEARCH):
   if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '')) {
  $header_tags_array = tep_header_tag_page(FILENAME_OPENSEARCH);
  WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '');
   }
 break;[/color]
[color=#000000]// shipping.php
 case (basename($_SERVER['PHP_SELF']) === FILENAME_SHIPPING):
   if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '')) {
  $header_tags_array = tep_header_tag_page(FILENAME_SHIPPING);
  WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '');
   }
 break;[/color]
[color=#000000]// livehelp.php
 case (basename($_SERVER['PHP_SELF']) === FILENAME_LIVEHELP):
   if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '')) {
  $header_tags_array = tep_header_tag_page(FILENAME_LIVEHELP);
  WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '');
   }
 break;[/color]
[color=#000000]// product_listing.php
 case (basename($_SERVER['PHP_SELF']) === FILENAME_PRODUCT_LISTING):
   if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '')) {
  $header_tags_array = tep_header_tag_page(FILENAME_PRODUCT_LISTING);
  WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '');
   }
 break;[/color]
[color=#000000]// asnf_addtopic.php
 case (basename($_SERVER['PHP_SELF']) === FILENAME_ASNF_ADDTOPIC):
   if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '')) {
  $header_tags_array = tep_header_tag_page(FILENAME_ASNF_ADDTOPIC);
  WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '');
   }
 break;[/color]
[color=#000000]// banner.php
 case (basename($_SERVER['PHP_SELF']) === FILENAME_BANNER):
   if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '')) {
  $header_tags_array = tep_header_tag_page(FILENAME_BANNER);
  WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '');
   }
 break;[/color]
[color=#000000]// conditions.php
 case (basename($_SERVER['PHP_SELF']) === FILENAME_CONDITIONS):
   if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '')) {
  $header_tags_array = tep_header_tag_page(FILENAME_CONDITIONS);
  WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '');
   }
 break;[/color]
[color=#000000]// asnf_viewtopic.php
 case (basename($_SERVER['PHP_SELF']) === FILENAME_ASNF_VIEWTOPIC):
   if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '')) {
  $header_tags_array = tep_header_tag_page(FILENAME_ASNF_VIEWTOPIC);
  WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '');
   }
 break;[/color]
[color=#000000]// bridge.php
 case (basename($_SERVER['PHP_SELF']) === FILENAME_BRIDGE):
   if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '')) {
  $header_tags_array = tep_header_tag_page(FILENAME_BRIDGE);
  WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '');
   }
 break;[/color]
[color=#000000]// size_chart.php
 case (basename($_SERVER['PHP_SELF']) === FILENAME_SIZE_CHART):
   if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '')) {
  $header_tags_array = tep_header_tag_page(FILENAME_SIZE_CHART);
  WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '');
   }
 break;[/color]
[color=#000000]// facebookenquiry.php
 case (basename($_SERVER['PHP_SELF']) === FILENAME_FACEBOOKENQUIRY):
   if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '')) {
  $header_tags_array = tep_header_tag_page(FILENAME_FACEBOOKENQUIRY);
  WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '');
   }
 break;[/color]
[color=#000000]// asnf_index.php
 case (basename($_SERVER['PHP_SELF']) === FILENAME_ASNF_INDEX):
   if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '')) {
  $header_tags_array = tep_header_tag_page(FILENAME_ASNF_INDEX);
  WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '');
   }
 break;[/color]
[color=#000000]// download.php
 case (basename($_SERVER['PHP_SELF']) === FILENAME_DOWNLOAD):
   if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '')) {
  $header_tags_array = tep_header_tag_page(FILENAME_DOWNLOAD);
  WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '');
   }
 break;[/color]
[color=#000000]// redirect.php
 case (basename($_SERVER['PHP_SELF']) === FILENAME_REDIRECT):
   if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '')) {
  $header_tags_array = tep_header_tag_page(FILENAME_REDIRECT);
  WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '');
   }
 break;[/color]
[color=#000000]// supertracker_setup_db.php
 case (basename($_SERVER['PHP_SELF']) === FILENAME_SUPERTRACKER_SETUP_DB):
   if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '')) {
  $header_tags_array = tep_header_tag_page(FILENAME_SUPERTRACKER_SETUP_DB);
  WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '');
   }
 break;[/color]
[color=#000000]// shopping_cart.php
 case (basename($_SERVER['PHP_SELF']) === FILENAME_SHOPPING_CART):
   if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '')) {
  $header_tags_array = tep_header_tag_page(FILENAME_SHOPPING_CART);
  WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '');
   }
 break;[/color]
[color=#000000]// advanced_search_result.php
 case (basename($_SERVER['PHP_SELF']) === FILENAME_ADVANCED_SEARCH_RESULT):
   if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '')) {
  $header_tags_array = tep_header_tag_page(FILENAME_ADVANCED_SEARCH_RESULT);
  WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '');
   }
 break;[/color]
[color=#000000]// advanced_search.php
 case (basename($_SERVER['PHP_SELF']) === FILENAME_ADVANCED_SEARCH):
   if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '')) {
  $header_tags_array = tep_header_tag_page(FILENAME_ADVANCED_SEARCH);
  WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '');
   }
 break;[/color]
[color=#000000]// customer_testimonials.php
 case (basename($_SERVER['PHP_SELF']) === FILENAME_CUSTOMER_TESTIMONIALS):
   if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '')) {
  $header_tags_array = tep_header_tag_page(FILENAME_CUSTOMER_TESTIMONIALS);
  WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '');
   }
 break;[/color]
[color=#000000]// popup_image.php
 case (basename($_SERVER['PHP_SELF']) === FILENAME_POPUP_IMAGE):
   if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '')) {
  $header_tags_array = tep_header_tag_page(FILENAME_POPUP_IMAGE);
  WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '');
   }
 break;[/color]
[color=#000000]// tell_a_friend.php
 case (basename($_SERVER['PHP_SELF']) === FILENAME_TELL_A_FRIEND):
   if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '')) {
  $header_tags_array = tep_header_tag_page(FILENAME_TELL_A_FRIEND);
  WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '');
   }
 break;[/color]
[color=#000000]// oscpm1_upload.php
 case (basename($_SERVER['PHP_SELF']) === FILENAME_OSCPM1_UPLOAD):
   if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '')) {
  $header_tags_array = tep_header_tag_page(FILENAME_OSCPM1_UPLOAD);
  WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '');
   }
 break;[/color]
[color=#000000]// asnf_newtopic.php
 case (basename($_SERVER['PHP_SELF']) === FILENAME_ASNF_NEWTOPIC):
   if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '')) {
  $header_tags_array = tep_header_tag_page(FILENAME_ASNF_NEWTOPIC);
  WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '');
   }
 break;[/color]
[color=#000000]// popup_about_us.php
 case (basename($_SERVER['PHP_SELF']) === FILENAME_POPUP_ABOUT_US):
   if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '')) {
  $header_tags_array = tep_header_tag_page(FILENAME_POPUP_ABOUT_US);
  WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '');
   }
 break;[/color]
[color=#000000]// shop_by_price.php
 case (basename($_SERVER['PHP_SELF']) === FILENAME_SHOP_BY_PRICE):
   if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '')) {
  $header_tags_array = tep_header_tag_page(FILENAME_SHOP_BY_PRICE);
  WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), '');
   }
 break;[/color]

[color=#000000]// ALL OTHER PAGES NOT DEFINED ABOVE
 default:
   $header_tags_array['title'] = tep_db_prepare_input($defaultTags['default_title']);
   $header_tags_array['desc'] = tep_db_prepare_input($defaultTags['default_description']);
   $header_tags_array['keywords'] = tep_db_prepare_input($defaultTags['default_keywords']);
   break;
 }[/color]
[color=#000000]

Can some one help please as it has caused my site to go down and am losing sales

 

Please help me

 

Thank you

 

Ian

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...