Jump to content

geoffreywalton

♥Ambassador
  • Content count

    8,215
  • Joined

  • Last visited

  • Days Won

    25

Posts posted by geoffreywalton


  1. 13 hours ago, Jack_mcs said:

    I think you are trying to outsmart the code. There's no need to be making database changes, assuming you have a working installation.

    True, I dont think I have a working installation, So I went back and read everything again and uninstalled the db and installed it again.

    In the root directory of the installation package there are 2 files Install_ReadMe_First and Install_ReadMe_Last. The DB installation file in this read me first is to use http://www.mysite.com/headertags_seo_db_handler.php, then there is another installation text file in Use_if_version_Phoenix_V_1.0.7.4_and_later which says to use https://www.yoursite.com/headertags_seo_db_handler_hybrid.php

    There are installation files for each branch so deleting these 2 top level read me files would be helpful!!!!!

    So this time I used the Hybrid to uninstall and install.

    4 Header tag modules have been removed and the changes to classes/seo.class.php not yet done as Enable use Header Tags SEO as name? is still set to false.

    Went to Page control and selected Add Missing Pages.

    Then Fill Tags and selected to fill missing tags.

    This has cured the keywords not being populated in the Test page and and view result on Page Control, but FYI when you check the show results check box the input box on the screen is reset with the default prompt and the input value is lost, so it appears as if nothing has been input.

    On the fill page I have selected index.php, so I can get a "Save" button visible, then I populated all the default meta fields, clicked on "Save" and they all disappear.

     

    These are the Header Tags SEO settings

    Quote
    Separator - Description -  
    Separator - Keywords ,  
    Search Keywords False  
    Store Keywords True  

    Not sure which parameter you are refering to but have tried Store Keywords as False as well.

     

     

    So I still have the problem of being unable to set the default tags and will have to continue to outsmart the code!!!

     

     

    One question that occurred to me digging around is should header tags have a unique key page_name/language_id?

                                   sortorder_root_3 tinyint(2) default 1 NOT NULL, 
                                   sortorder_root_4 tinyint(2) default 1 NOT NULL, 
                                   language_id int DEFAULT 1 NOT NULL, 
                                   KEY idx_page_name (page_name), 
                                   KEY idx_page_description (page_description), 
                                   KEY idx_page_keywords (page_keywords) 

     

     


  2. Finally, for tonight, I went on to the test screen, testing for cpath / 13 works fine using index.php but when using products id 20 you get 2 error messages both for redirection limit reached.

    It would be a nice touch if the combination of Index.php and a product id threw an error message as should product_info and cpath. I don't think these combinations are possible in a shop.

     

    image.thumb.png.df5b1ede15581161f8ff889a6596c519.png


  3. So I added a search word to the table

    INSERT INTO `headertags_keywords` (`id`, `keyword`, `counter`, `last_search`, `google_last_position`, `google_date_position_check`, `found`, `ip_number`, `language_id`) VALUES ('1', 'storage', '1', '0000-00-00 00:00:00.000000', '0', '0000-00-00 00:00:00.000000', '0', '0', '1');

    Which disyled on the keywords page but clicking on get position button gave these errors, I am using the from the 1.0.7.4 and later files.

     

    image.thumb.png.012e5e88cb18560f7b3ca267208ab602.png


  4. Thanks for the quick feedback!!

    1) The error message showed when the permissions on header_tags.php were 755 and 777. I didn't just want to turn off the error message if something was supposed tpo be writen to this file, so as I suspect the file is updated by actions on this screen wondered if there was a simple test you could recomend. Guess I'll try updating some keywords, accessing that page on the site and seeing if the file size/date time/ contents of header_tags.php  changes.

    2) I thought it might be that, but even though I added extra words in the default keywords box and clicked on save and they just disappeared, so I am unable to update them without using phpmyadmin.

    3) The screenshot above is after entering "cpath=13" in the box and clicking on view results check box. I would expect "Storage, storage units, Wymondham, Attleborough, Heathersett, Hingham, Barnham Broom, Catfield, Ludham" from the keywords box above to appear in the empty keywords box above the save key, not for it to be empty and highlighted in red.

    When entering the same data on the test page, the From Site Meta Keywords field is blank and highlighted in red.

    Whilst I am here could I ask if the Keywords screen should be populated automatically? The showing page drop down is empty but the display drop down has 3 values.

     

    image.thumb.png.49835fbec4692b0dc65e2e19c9331695.png

     


  5. Have just installed Header Tags 3.3.12 

    I needed to add to catalog_only_new_files\admin\includes\languages\english\header_tags_seo.php

     

    define('HEADING_TITLE_HTS', '<b>Errors:</b>');
    define('TEXT_CLOSE_POPUP_HTS', 'Close');

    Anyway a couple of questions if anyone can help,

    1) Even with the permissions for /includes/header_tags.php  set to 777 I still get an error message that the permissions are set to the wrong level, is there a simple way to see if the file is being sucessfully updated so I can happily ignore it?

    2) Should there be a button to update the "Deafult Tags" on the Page Control page of header_tags_test.php? I used phpmyadmin to set my values.  In the right column there are 2  "Submit Query" links for the Meta Tags and add a Pseudo Page options.

    3) Finally on www.storegalore.co.uk testing on cpath 13 the keywords are not poulated as shown below, any ideas anyone?

     

    image.thumb.png.34fa33c8efb02b2e8d2ac884b8a93b52.png

     

    header_tags_seo.php


  6. It sounds more like you have not installed a shipping module that is available for the order's delivery address.

     

    If you want UK zones there are several add-ons for them.

     

    HTH

     

    G


  7. I am using 1.4.6 and have found problems in these 3

     

    ht_product_title_string.php

    ht_other_pages_title_string.php

    ht_all_pages_title_string.php

     

    The error messages are

     

    Warning: constant() [function.constant]: Couldn't find constant MODULE_HEADER_TAGS_ALL_PAGES_TITLE_STRING_TEXT_ENGLISH in /home/mctyresc/public_html/xxxxx/includes/modules/header_tags/ht_all_pages_title_string.php on line 43

     

    &

     

    Fatal error: Cannot redeclare class language in /home/mctyresc/public_html/riekko.eu/includes/classes/language.php on line 16

     

    Cheers

     

    G[/b]


  8. Those lines are unchanged in applic top.
     

        include(DIR_WS_CLASSES . 'language.php');
        $lng = new language();
    
        if (isset($HTTP_GET_VARS['language']) && tep_not_null($HTTP_GET_VARS['language'])) {
          $lng->set_language($HTTP_GET_VARS['language']);
        } else {
          $lng->get_browser_language();
        }
    
        $language = $lng->language['directory'];
        $languages_id = $lng->language['id'];
      }
    
    

    The installation in admin is creating an entry using the language name of "SUOMI". (Glad I dumped the db contents in my earlier post or would think I was going mad)

     

    I have copied over all the latest modules and after remove and re-install still get SUOMI.

     

    If I install all pages title I get the correct key

     

    MODULE_HEADER_TAGS_ALL_PAGES_TITLE_STRING_TEXT_FINNISH

     

    For Front title I get

     

    MODULE_HEADER_TAGS_FRONT_TITLE_TEXT_SUOMI

     

    Am now off to compare those 2 and see if I can spot the difference.

     

    Cheers

     

    G


  9. It looks like you added the French language pack after you installed this module, so the module doesn't know it's there. Log into your Admin and uninstall and then reinstall all of the modules that you used from this package. The modules should then recognize all of your languages.

     

    Regards

    Jim

     

    Hi

     

    I have the same problem with Finnish, deinstalled all modules and then reinstalled.

     

    This are the values in the config file

    589 	Suomi Text 	MODULE_HEADER_TAGS_FRONT_TITLE_TEXT_SUOMI 	Q. Caepio Brutus pro consule provinciam Macedoniam	
    588 	English Text 	MODULE_HEADER_TAGS_FRONT_TITLE_TEXT_ENGLISH 	Q. Caepio Brutus pro
    
    This is the language file

    languages_id 	name 	code 	image 	directory 	sort_order
     	1 	English 	en 	icon.gif 	english 	1
     	2 	Suomi 	        fi 	icon.gif 	finnish 	2
    
    Error is

     

    Warning: constant() [function.constant]: Couldn't find constant MODULE_HEADER_TAGS_FRONT_TITLE_TEXT_FINNISH in /home/mctyresc/public_html/riekko.eu/includes/modules/header_tags/ht_front_title.php on line 45

     

    Language and directory seem to be mixed up.

     

    Cheers

     

    G


  10. If you are using GoDaddy your dbservername is wrong.

     

    define('DB_SERVER', 'localhost'

     

    The GD help says

     

    Locating Your Database Connection Strings

     

    Database-driven applications, such as WordPress, use connection strings to connect to your hosting account's database.

    To Locate Your Database Connection Strings

    1. Log in to your Account Manager.
    2. Click Web Hosting.

    Click one of the following, based on the type of hosting you have. You can tell this by the second word in your hosting's description beneath your hosting account's domain name, e.g. Deluxe Web correlates to Web/Classic (Hosting Control Panel).

     

    1. Next to the hosting account you want to use, click Launch.
    2. In the Databases section of the Hosting Control Panel, click the MySQL or SQL Server icon.
    3. From your list of databases, click Actions next to the database you want to use, and then click Details.
    4. Click Code Sample.

    HTH

     

    G


  11. Thanks for coming up with suggestions.

     

    The add-on is really to identify and repair inconsistent data rather than housekeeping.

     

    1) ability to identify and delete inactive customers - ones who have not visited the shop in a set period of time - time period selectable

    2) ability to identify and delete orders at pending status over a certain age

    4) ability to clear sessions

    1, 2 & 4 look like housekeeping and I am pretty sure I put clearing session in the db clear add-on.

     

    3) ability to check integrity of orders - that all the data fields are filled as they should be (sometimes orders become corrupted especially after editing)

    This one looks like fun, There are an awful lot of possible corruptions covered by "that all the data fields are filled as they should be".

     

    If you are editing the db directly there are a multitude of possible errors you can make but if you are editng orders via a script/program if it corrupts an order then it would be better to corect that script rather than write a new one.

     

    Cheers

     

    G


  12. define('HEADING_ACTION_MANUFACTURERS_NAME', 'Manufacturer');

    Thanks for pointing that out.

     

    I change the above to agree with the 5 so it now reads

     

    define('HEADING_ACTION_MANUFACTURER', 'Manufacturer');

     

    Version 1.7 uploaded.

     

    Cheers

     

    G

×