Jump to content
Jack_mcs

Header Tags SEO

Recommended Posts

Jack,

 

Terrific contribution. Thank you for taking the time to produce, share, and update it.

 

I have some observations and questions/comments. I just upgraded from Header Tags 3.1.8 to 3.1.9.

 

1) TEXT_MISSING_VERSION_CHECKER is not defined. Is that text supposed to be defined by another contribution?

 

 

2) After upgrading from version 3.1.8 to 3.1.9, my header tags appear to have stopped working on my store's Category level pages.

 

 

3) file admin/includes/functions/header_tags.php

 

I believe line 943, which is

 

 if (!fpOut)

 

should be

 

 if (!$fpOut)

 

 

4) In admin/header_tags_seo.php

 

HEADER_TAGS_DIABLE_PERMISSION_WARNING is not defined. Looks like this is setup in the SQL file for 3.1.9, but is not included in your upgrade instructions (when upgrading from v3.1.8)

 

TEXT_MISSING_VERSION_CHECKER is not defined

 

 

5) There appears to be an error produced by line 881 of admin/includes/functions/header_tags.php. The line in question is

 

 eval($sort);

 

For me, this is trying to evaluate this sort of string:

 

array_multisort((array)$cols[text],$idkeys); 

 

I presume the idea is to produce a string like this:

 



array_multisort((array)$cols['text'],$idkeys);

So, to solve the problem I changed line 874 from

   $sort.='$cols['.$k['key'].']';

 

to

 

   $sort.='$cols[\''.$k['key'].'\']';

 

Which then allows the eval on line 881 to execute properly (or at least without E-Notice errors)

 

 

6) I changed these two lines in admin/includes/functions/header_tags.php, at lines 875-876 in order to eliminate a lot of E-Notice errors in PHP5 when the variables are not defined:

 

from

 

if($k['sort']){$sort.=',SORT_'.strtoupper($k['sort']);}
if($k['type']){$sort.=',SORT_'.strtoupper($k['type']);}

 

to this:

 

   if(isset($k['sort'])){$sort.=',SORT_'.strtoupper($k['sort']);}
   if(isset($k['type'])){$sort.=',SORT_'.strtoupper($k['type']);}

 

 

7) Again, regarding admin/includes/functions/header_tags.php. I kept running into an error notice in PHP5 caused by line 799 trying to reference a negative value array reference (-1), so I changed the calculation

 

from

 

 if ((trim($name[count($name) - 2])) == "//")    //section name starts with //

 

to

 

 if ((count($name) > 1) && (trim($name[count($name) - 2])) == "//")    //section name starts with //

 

 

8) Line 774 of admin/functions/header_tags.php reads

 

   $filltagsPopup['empty'] = POPUP_FILTAGS_EMPTYR;

 

I believe this should be:

 

   $filltagsPopup['empty'] = POPUP_FILTAGS_EMPTY;

 

 

Do you foresee any problems with any of the edits above?

 

Regards,

David

Edited by Richard Cranium

Share this post


Link to post
Share on other sites

Jack,

 

Another problem with 3.1.9... if I goto Header Tags SEO - Fill Tags page and activate the Description override, it now produces text like this:

 

<manufacturer title> - <blah blah blah text> ._p__/p_<more text>._p__/p_<more text>._p__/p_<more text>_p__/p_ - <category title>

 

Of course I have added some things in there for emphasis. The point is it's adding this _p_/p string all over the place. Perhaps substituting that for carriage returns maybe? I'm not sure.

 

 

Might also be worth noting that I get this error in admin/header_tags_fill_tags.php:

 

Error: Undefined index: categories

Line: 135

 

 

If I try to use the generic strings, I get a series of Undefined Index errors. I checked the POST and it has a series of [catfiles] variables with values.

 

Note that I did not have any of these problems with v3.1.8.

 

Regards,

David

Edited by Richard Cranium

Share this post


Link to post
Share on other sites

More info...

 

When I run the "Test", I get the following error:

 

Database/File Mismatch Error:  explain
The number of file entries in the database (16) does not match the number in the includes/header_tags.php file (26).
Files not in the database:

 

There is nothing listed below (i.e. no files).

 

I can get individual pages to work properly (e.g. product_info.php), but not the categories. No matter what I do, I cannot get any title tags to show up properly for any Category level page. Trying to fill all the category tags *appears* to work in the admin panel. I receive a message similar to this: "72 Category tags have been filled."

 

I check the HTML category pages and all the tags are there *except* the TITLE tag.

 

Running the category fill (or attempting to) also creates a large number of error messages on the admin page such as:

 

Error: Undefined index: add_generic_cat_title
File: header_tags_fill_tags.php
Line: 115
Error: Undefined index: generic_cat_title
File: header_tags_fill_tags.php
Line: 115
Error: Undefined index: add_generic_cat_meta_desc
File: header_tags_fill_tags.php
Line: 116
Error: Undefined index: generic_cat_meta_desc
File: header_tags_fill_tags.php
Line: 116
Error: Undefined index: add_generic_cat_keywords
File: header_tags_fill_tags.php
Line: 117
Error: Undefined index: generic_cat_keywords
File: header_tags_fill_tags.php
Line: 117
Error: Undefined index: add_generic_cat_description
File: header_tags_fill_tags.php
Line: 118
Error: Undefined index: generic_cat_description
File: header_tags_fill_tags.php
Line: 118
Error: Undefined index: catfiles[]
File: includes/functions/header_tags.php
Line: 974
Error: Undefined index: none
File: header_tags_fill_tags.php
Line: 624
Error: Undefined index: empty
File: header_tags_fill_tags.php
Line: 629
Error: Undefined index: empty
File: header_tags_fill_tags.php
Line: 630
Error: Undefined index: empty
File: header_tags_fill_tags.php
Line: 631
Error: Undefined index: full
File: header_tags_fill_tags.php
Line: 635
Error: Undefined index: full
File: header_tags_fill_tags.php
Line: 636
Error: Undefined index: clear
File: header_tags_fill_tags.php
Line: 639
Error: Undefined index: clear
File: header_tags_fill_tags.php
Line: 640
Error: Undefined index: clear
File: header_tags_fill_tags.php
Line: 641
Error: Undefined index: categories
File: header_tags_fill_tags.php
Line: 675

Edited by Richard Cranium

Share this post


Link to post
Share on other sites

When Header Tags doesn't work in an STS shop, it is almost always a mistake in the installation. The only way to know is to temporairly turn off STS and see if Header Tags displays correctly. You should also run the test function, as mentioned in the install files.

 

Hi Jack,

My tags went a bit crazy when I turned off STS - but I think that's to do with my previously trying various contributions to get my tags working as I wanted them to. Everything is working well with the latest Header Tags SEO (3.1.9) apart from the categories - but I also have other contributions like Bundled Products that meant my code was slightly different in places as I went through the install of Header Tags.

 

If you could tell me where the code is in your install that retrieves the HTC tags for categories then I could look through that & try & work out why it's just getting the default store tags instead of the category tags that are in the category_description table.

 

I thought I might have turned on/off a setting which meant htc was not looking in the db for my category tags but instead just using the default store tags. In Page Control for categories.php - on the left I've only got category ticked & with a 1, is that correct?

 

Thanks again

 

Jason

Share this post


Link to post
Share on other sites

Jack,

 

I figured out my category title problem. The code in index.php for the category page displays had a couple of tags switched. Not sure if this was my bad during cut and paste (probably) or what happened, but I've been able to resolve that issue.

 

Regards,

David

Share this post


Link to post
Share on other sites

Hi together,

 

I have a little problem with my tags.

 

In the frontend of the catalog, I have selected the manufacturers view, but no manufacturer is shown in the title.

 

In the backend, I have the following settings/view order for the index.php:

Category => No.1
Root => No.2
Manufacturer => No.3 		
Product => No.4

 

When I deactive Nr.1,2 and 4, so that only "Manufacturer => No.3" is left, the title is completely empty, showing only "Firefox".

Fields of HeaderTags for the Manufacturers (Header Tags Manufacturer Title) are filled.

No body headers shows up, mentioning the manufacturer in this view - in the source code of the page, the h1-tag (with should mention the manufacturer) is empty or closed immediately "<h1></h1>".

This happens only in the manufacturers-view. In the categories-view, everything is alright.

 

I have currently no idea, why this happens.

 

Any help of hints are highly appreciated.

 

Thanks in advance,

kind regards

Andreas

Edited by Andreas2003

Share this post


Link to post
Share on other sites

Now I have it.

I have a difference between the solid entered manufacturers and the manufactureres, entered while entering a product.

Those are not listed in the manufacturers admin.

And for those, also no HT are filled.

Share this post


Link to post
Share on other sites

Hi Jack,

 

The main conflict is from Sam's contribution - Simple Multi Image Add On, but also conflicts with Option types V2 and Categories image box.

 

I could post or email the file if you want to see. Im using Beyond Compare, but there are changes that I just cannot work out.

 

Many Thanks

 

 

I don't see why you have any conflict, the lines in product_info this changes are not changed by Simple Multi Image and vice versa!!


Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Share this post


Link to post
Share on other sites

I figured out my category title problem. The code in index.php for the category page displays had a couple of tags switched. Not sure if this was my bad during cut and paste (probably) or what happened, but I've been able to resolve that issue.

Thanks for mentioning all of the various problems and even more for posting the fixes since that saved me a lot of time. A new version has been uploaded to fix many of those problems. Most, if not all have been there a while though. I hadn't ran the code in strict mode for some time so they were missed. I'm sure there are still some but nothing that should cause any problems.

Share this post


Link to post
Share on other sites

If you could tell me where the code is in your install that retrieves the HTC tags for categories then I could look through that & try & work out why it's just getting the default store tags instead of the category tags that are in the category_description table.

The category title and tags are setup when you run fill tags, or enter them manually. You can verify they are present in the database by clicking on edit for a category in admin. You also have to check the category box (not the default category box) in page control for index.php. If both of those are OK and the title and tags are not showing on your shop side, then the problem is on your shop side. They are loaded using the includes/header_tags.php file, which uses the includes/functions/header_tags.php file. There are also changes needed for STS to work, as detailed in the install_catalog file.

Share this post


Link to post
Share on other sites

Hi jack,

 

Great contribution, the installation went smuoothly without any problem what so ever.

but when I checked how the google fetches my pages in that I can see that header teags SEO is appearing twice, exactly same texts appears twice here is the code for the index file.

 

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">



<html $htmlparams>



<head>



<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>TheCheapLaptops - Cheap HP Dell Laptops & Desktops</title>
<meta name="Description" content="We Sell used and refurbished laptops, desktops PCs, Printers, Laptop accessory for cheap price. Student laptops, windows xp Laptop, cheap laptop deals, PayPal Accepted" >
<meta name="Keywords" content="laptop, Cheap laptops, Cheap Desktops, used laptops, refurbished laptops, Pentium laptops, laptop with xp, laptop accessory, cheap printers, Dell D600 laptop, hp laptops" >
<meta name="robots" content="noodp" >
<meta name="slurp" content="noydir" >
<link rel="canonical" href="http://thecheaplaptops.co.uk/index.php" >
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" >
<!-- EOF: Header Tags SEO Generated Meta Tags -->

<base href="http://thecheaplaptops.co.uk/">

<!-- start get_javascript(applicationtop2header) //-->

<!-- end get_javascript(applicationtop2header) //-->

<style type="text/css">
<!--
.style1 {color: #FFFFFF}
-->
</style>



<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>TheCheapLaptops - Cheap HP Dell Laptops & Desktops</title>
<meta name="Description" content="We Sell used and refurbished laptops, desktops PCs, Printers, Laptop accessory for cheap price. Student laptops, windows xp Laptop, cheap laptop deals, PayPal Accepted" >
<meta name="Keywords" content="laptop, Cheap laptops, Cheap Desktops, used laptops, refurbished laptops, Pentium laptops, laptop with xp, laptop accessory, cheap printers, Dell D600 laptop, hp laptops" >
<meta name="robots" content="noodp" >
<meta name="slurp" content="noydir" >
<link rel="canonical" href="http://thecheaplaptops.co.uk/index.php" >
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" >
<!-- EOF: Header Tags SEO Generated Meta Tags -->

<base href="http://thecheaplaptops.co.uk/">

<!-- start get_javascript(applicationtop2header) //-->

<!-- end get_javascript(applicationtop2header) //-->




<link rel="stylesheet" type="text/css" href="/includes/sts_templates/freeosc_061/freeoscommerce_061_stylesheet.css">



<link rel="stylesheet" href="lightbox.css" type="text/css" media="screen">

<meta name="google-site-verification" content="shrNGCXGDfrLxFH1zTZK07tlmeaMjHmifAVFFwgCMDI" />


</head>



<body>



<div id="wrapper1">



 <div id="wrapper2">



   <div id="header_wrapper">



     <div id="header_top"></div>



     <div id="header_bottom"></div>



     <div id="menu">



       <span><a href="http://thecheaplaptops.co.uk/index.php">Home</a></span>



       <span><a href="http://thecheaplaptops.co.uk/specials.php">Specials</a></span>



       <span><a href="http://thecheaplaptops.co.uk/account.php">My Account</a></span>



       <span><a href="http://thecheaplaptops.co.uk/shopping_cart.php">Shopping Cart</a></span>



       <span><a href="http://thecheaplaptops.co.uk/checkout_shipping.php">Checkout</a></span>






     </div>



   </div>



   <div id="wrapper3">



 

As you can see in the code that "<!-- EOF: Header Tags SEO Generated Meta Tags -->" thsi appears twice on every single page.

 

Please help how to solve this.

Share this post


Link to post
Share on other sites

As you can see in the code that "<!-- EOF: Header Tags SEO Generated Meta Tags -->" thsi appears twice on every single page.

That can only happen if the code that goes into the <head> section of the page has been added twice. You need to edit those pages and remove one copy of that code.

Share this post


Link to post
Share on other sites

I don't see why you have any conflict, the lines in product_info this changes are not changed by Simple Multi Image and vice versa!!

 

Hi Sam,

 

The conflicts are in the Admin/categories.php file

 

With very kind help from "jonnybebad" in merging the changes I now have the contribution up and running.

 

One final question from me: should version 3.1.9 remove the /index.php from the home page URL ? cos on my installation it does not. What part of the code does this? as I may have missed something.

 

Many Thanks for all the excellent work.


Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Share this post


Link to post
Share on other sites

Hello Jack

 

I am still with 3.1.8 version and thumbs up!!

 

Will it work to go directly to the 3.2.0 like this?

 

1- Applying 3.1.9 sql file

2- Upload these 3 files in 3.1.9

includes/header_tags.php

includes/functions/header_tags.php

includes/modules/header_tags_social_bookmarks.php

 

...And since all the admin changes in 3.1.9 will be useless if i go to 3.2.0...

 

3- Replace all admin files with the ones in catalog/admin 3.2.0

 

Thank you, great contribution!!

Share this post


Link to post
Share on other sites

Ok have been scratching my head and cannot see works this out. using version 3.2.0 I go into /admin/header_tags_seo.php to change the:

 

Replace me in Page Control under index.php

 

but what ever I change it to it just refreshes the page and its still there. The default options on the right update no problem and the delete works as well just not the individual page update even to tell it to use the default tags. Any ideas would be appriciated.

 

Just to note the site is based on CRE Loaded 6.4.1a, but this file is unmodified so i cannot see why it is not updating the database.

Share this post


Link to post
Share on other sites

Jack,

 

I figured out my category title problem. The code in index.php for the category page displays had a couple of tags switched. Not sure if this was my bad during cut and paste (probably) or what happened, but I've been able to resolve that issue.

 

Regards,

David

 

As it turns out that was not the whole story. I had another conflict with line 32 in /includes/header_tags.php

 

 case (basename($_SERVER['PHP_SELF']) === FILENAME_DEFAULT):

 

My store does not have a "catalog" directory (it's in the root HTTP dir). I have FILENAME_DEFAULT defined as "\" in my store for this reason. I discovered that the basename function still returns index.php, even though the browser title only shows as "<storename>.com". I'm not sure if this is because I'm also using Ultimate SEO URLs contribution or if it's just a function of OSC. I did not have the time to invest in answering that question. But the point of my post is in case anyone else runs into this problem with the TITLE tags not working correctly. In may case they were wrong for anything handled by index.php, such as the top categories for example.

 

By simply changing the line above to this (below), it solved the problem for me.

 

 case (basename($_SERVER['PHP_SELF']) === 'index.php'):

 

Thanks again for a great contribution. :)

 

David

Share this post


Link to post
Share on other sites

One final question from me: should version 3.1.9 remove the /index.php from the home page URL ? cos on my installation it does not. What part of the code does this? as I may have missed something.

It should remove it from the canonical tag, not the actual url. View your source to see if that is happening.

Share this post


Link to post
Share on other sites

Will it work to go directly to the 3.2.0 like this?

 

1- Applying 3.1.9 sql file

2- Upload these 3 files in 3.1.9

includes/header_tags.php

includes/functions/header_tags.php

includes/modules/header_tags_social_bookmarks.php

 

...And since all the admin changes in 3.1.9 will be useless if i go to 3.2.0...

 

3- Replace all admin files with the ones in catalog/admin 3.2.0

 

Thank you, great contribution!!

Thank you. Yes, that's the correct procedure.

Share this post


Link to post
Share on other sites

Ok have been scratching my head and cannot see works this out. using version 3.2.0 I go into /admin/header_tags_seo.php to change the:

 

Replace me in Page Control under index.php

 

but what ever I change it to it just refreshes the page and its still there. The default options on the right update no problem and the delete works as well just not the individual page update even to tell it to use the default tags. Any ideas would be appriciated.

Are you sure you are clicking the correct update button? Should be the one in the middle column. Does your includes/header_tags.php file have the correct permissions?

Share this post


Link to post
Share on other sites

Are you sure you are clicking the correct update button? Should be the one in the middle column. Does your includes/header_tags.php file have the correct permissions?

 

Yes file is writeable and yes I am sure i am pressing the right update button its in the same box under the thing I want to update.

Share this post


Link to post
Share on other sites

It should remove it from the canonical tag, not the actual url. View your source to see if that is happening.

 

OK I viewed my page source and this is what I see:

 

<link rel="canonical" href="https://www.mysite.co.uk/index.php?osCsid=741ee8b2e.........

 

Also I tried updating to version 3.2 and started getting errors relating to Register Globals being off - 3.1.9 seems to work OK for me now, I followed the update instructions and copied new files over to admin, but got the RG Off error, when I tried turning them on through htaccess I started to get DB connect errors - so I got cold feet and restored a backup.

 

Does 3.2 need RG to be on ?

 

By the way - Sorry to be a pain :rolleyes:


Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Share this post


Link to post
Share on other sites

Hi jack

that double Header tags is now removed but the problem of url still exists, folliwng is the code how the google fetches one of my web page taken from webmaster.

 

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">



<html $htmlparams>



<head>

<META name="y_key" content="3c9d89c444e8c3f8">
<meta name="google-site-verification" content="shrNGCXGDfrLxFH1zTZK07tlmeaMjHmifAVFFwgCMDI" />


<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>DESKTOPS - - HP Compaq DX7600 SFF – Pentium D 2.8Ghz - 1GB - 250GB - CD - XP Pro</title>
<meta name="Description" content="DESKTOPS - - HP Compaq DX7600 SFF – Pentium D 2.8Ghz - 1GB - 250GB - CD - XP Pro" >
<meta name="Keywords" content="DESKTOPS , , HP Compaq DX7600 SFF – Pentium D 2.8Ghz - 1GB - 250GB - CD - XP Pro" >
<meta name="robots" content="noodp" >
<meta name="slurp" content="noydir" >
<meta name="revisit-after" content="1 days" >
<link rel="canonical" href="http://www.thecheaplaptops.co.uk/product_info.php?products_id=62" >
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" >
<!-- EOF: Header Tags SEO Generated Meta Tags -->

<base href="http://www.thecheaplaptops.co.uk/">

<!-- start get_javascript(applicationtop2header) //-->
<script type="text/javascript" src="images/js/jquery.js"></script>
<script type="text/javascript" src="images/js/jquery.fancybox.js"></script>
<script type="text/javascript" src="images/js/jquery.easing.js"></script>
<script type="text/javascript" src="images/js/jquery.easydrag.handler.beta2.js"></script>
<link rel="stylesheet" href="images/js/fancybox.css" type="text/css" media="screen">
<script type="text/javascript">
               $(document).ready(function() {
                       $("div#fancy a").fancybox({
               'zoomSpeedIn':  800, 
               'zoomSpeedOut': 700, 
               'imageScale' : true,
               'centeronscroll':       true,
               'overlayShow':  false,
               'overlayOpacity': 0.2,
               'zoomOpacity':  true,
               'easingIn' : 'easeOutBack',             'hideOnContentClick': true,
               'hideOnOverlayClick': false

       });
       });

</script>
<!-- end get_javascript(applicationtop2header) //-->




<link rel="stylesheet" type="text/css" href="/includes/sts_templates/freeosc_061/freeoscommerce_061_stylesheet.css">



<link rel="stylesheet" href="lightbox.css" type="text/css" media="screen">



</head>



<body>



<div id="wrapper1">



 <div id="wrapper2">



   <div id="header_wrapper">



     <div id="header_top"></div>



     <div id="header_bottom"></div>



     <div id="menu">



       <span><a href="http://www.thecheaplaptops.co.uk/index.php">Home</a></span>



       <span><a href="http://www.thecheaplaptops.co.uk/specials.php">Specials</a></span>



       <span><a href="http://www.thecheaplaptops.co.uk/account.php">My Account</a></span>



       <span><a href="http://www.thecheaplaptops.co.uk/shopping_cart.php">Shopping Cart</a></span>



       <span><a href="http://www.thecheaplaptops.co.uk/checkout_shipping.php">Checkout</a></span>






     </div>



   </div>



   <div id="wrapper3">



     <div class="side_column" id="column_left">




<!-- start categorybox //-->


<div class="infobox">

 <div class="infobox_heading"><table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr>
   <td width="100%" class="infoBoxHeading">Categories</td>
 </tr>
</table>
<div style="float: right; position: relative; top: 2px;"></div></div>

 <div class="infobox_content"><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents">
 <tr>
   <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
 </tr>
 <tr>
   <td class="boxText"><a href="http://www.thecheaplaptops.co.uk/index.php?cPath=21">LAPTOPS</a><br><a href="http://www.thecheaplaptops.co.uk/index.php?cPath=22"><b>DESKTOPS</b></a><br><a href="http://www.thecheaplaptops.co.uk/index.php?cPath=23">ACCESSORIES-></a><br><a href="http://www.thecheaplaptops.co.uk/index.php?cPath=24">PRINTERS</a><br></td>
 </tr>
 <tr>
   <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
 </tr>
</table>
</div>

 <div class="infobox_top"></div>

 <div class="infobox_bottom"></div>

</div>            
<!-- end categorybox //-->

 

but look at the following image when tested the same page with meta tag analyser that the link is the same for all pages. So do you have any idea why is this happening?

item.jpg?rot=1

 

 

The url in green colour should be this "http://www.thecheaplaptops.co.uk/product_info.php?products_id=62" not the linkt o homepage. Is the base link href causing these?

 

Thanks.

Share this post


Link to post
Share on other sites

My store does not have a "catalog" directory (it's in the root HTTP dir). I have FILENAME_DEFAULT defined as "\" in my store for this reason. I discovered that the basename function still returns index.php, even though the browser title only shows as "<storename>.com". I'm not sure if this is because I'm also using Ultimate SEO URLs contribution or if it's just a function of OSC.

 

I didn't followed exactly your issue, but the statement here is not correct.

 

The definion of FILENAME_DEFAULT happens in fie includes/filenames.php and there it is set to be index.php. It doesn't matter if your file is in a folder or in the root, that doesn't change the definition.

 

When you say that " I have FILENAME_DEFAULT defined as "\" in my store " do you mean the file configure.php or filenames.php? If it is filenames.php, then change it back to be index.php instead of anything else

Edited by multimixer

Share this post


Link to post
Share on other sites

Yes file is writeable and yes I am sure i am pressing the right update button its in the same box under the thing I want to update.

All of the update code is handled the same way so one should not work while the other fails. I may have made some mistake in the fixes I applied to the latest version. Please try downloading version 3.1.8 and just uploading the admin/headertags_seo.php file and see if the problem goes away.

Share this post


Link to post
Share on other sites

OK I viewed my page source and this is what I see:

 

<link rel="canonical" href="https://www.mysite.co.uk/index.php?osCsid=741ee8b2e.........

 

Also I tried updating to version 3.2 and started getting errors relating to Register Globals being off - 3.1.9 seems to work OK for me now, I followed the update instructions and copied new files over to admin, but got the RG Off error, when I tried turning them on through htaccess I started to get DB connect errors - so I got cold feet and restored a backup.

 

Does 3.2 need RG to be on ?

It is working for me here. Maybe you need to clear your browsers cache?

 

Nothing should have changed that would cause it to require register globabls.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×