Guest Posted June 22, 2016 Share Posted June 22, 2016 That worked, thanks a bunch. So yeah, since that worked on the renamed index.php, I just need to compare them to find out what I did wrong on the install. Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted June 22, 2016 Author Share Posted June 22, 2016 Yes, that's correct. There is a free compare program named WinMerge that works well for doing that. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Boldman Posted June 28, 2016 Share Posted June 28, 2016 (edited) Hi, I have installed Header Tags Seo V3.3.4 but I wanna delete the Title/Description etc but it don't delete it when I push the button, even new content it don't overwrite. Edited June 28, 2016 by Boldman Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted June 28, 2016 Author Share Posted June 28, 2016 (edited) @@Boldman This is too vague a question for me to respond. Are you editing Page Control, a category, a product, a manufacturer? If you want to clear them all, you can use the clear all tags in Fill Tags? Edited June 28, 2016 by Jack_mcs Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Boldman Posted June 28, 2016 Share Posted June 28, 2016 I want to clear the Index.php in the page control Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted June 28, 2016 Author Share Posted June 28, 2016 There's nothing to stop that as far as I can remember. I just tried it here on a test shop and it worked. But that would be a big mistake with regards to SEO so I suggest you not do it. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Boldman Posted June 28, 2016 Share Posted June 28, 2016 My Title, Description I cannot change now, it must be changed as words I have choosen befor are wrong , why we cannot change ? Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted June 28, 2016 Author Share Posted June 28, 2016 Are the permissions set correctly on the includes/header_tags.php file? That's the only thing I can think of that may stop it, though I don't think it will. If you are saying you go into Page Control, select index.php, make a change to the title box, click update and it doesn't take, then if it is not the permissions, it has to be something wrong with your installation. When the update button is clicked, the database is updated using standard oscommerce code. Are you able to edit a product and change one of its fields? Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Boldman Posted June 28, 2016 Share Posted June 28, 2016 (edited) When I change the content from index.php from the title box and update it updates in the title box but when I looking the source of the page itself it won't change, strange. I got notest when I was busy with rankingcoach, it was advice me to write some words in the title, when I did a change in header tags Seo index.php and update then I did a recheck and it did not found the words I have updated. permissions set correctly on the includes/header_tags.php file 755 this line is in the tiitle box of index.php : Fiets Damesfiets Herenfiets meisjesfiets jongensfiets HerseltCheck the index on fashionbikes.be/shop/index.php Edited June 28, 2016 by Boldman Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted June 28, 2016 Author Share Posted June 28, 2016 This is different than what you originally said. If you can change the text in Page Control then the admin is working correctly. In that case, the problem is on the shop side. The problem could be in a few places. Does the title work correctly on the product page? If not, then you've made a mistake in the includes/template_top.php file. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Boldman Posted June 29, 2016 Share Posted June 29, 2016 (edited) When I want to delete the index.php header tags it shows Deletion of index.php is not allowed Edited June 29, 2016 by Boldman Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted June 29, 2016 Author Share Posted June 29, 2016 That's correct. Doing so would render the addon mostly useless. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
dculley Posted July 6, 2016 Share Posted July 6, 2016 @@Jack_mcs Running osc234 w/ bootstap Ok I took the step and started the install I did the first step, I installed the database > it came back successful with a continued button. Then I uploaded the second step, I uploaded the catalog part. Went to the site and all I had was a white screen. What is wrong. Dean Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted July 6, 2016 Author Share Posted July 6, 2016 There is a directory named catalog and another named catalog_only_new_files. You can, and should, upload the latter without causing any problems. But the catalog directory contains edited files that probably don't match your site. So if you uploaded them, it will break the shop, as mentioned in the installation instructions. For shops that have been edited, you have to apply the changes manually. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
dculley Posted July 7, 2016 Share Posted July 7, 2016 @@Jack_mcs I read the "read me first" Went to the BS version, printed out both catalog and admin install. I followed the instructions and uploaded the seo install and installed it, successfull. Then the (still in BS) the Cat new files. Thin I used the Merge program, following the BS install catalog.txt, to but the parts of the files in the pages as the instruction said. I compared the BS Catalog directory files to mine and used merge to place the files. Next I uploaded them. Then the White page. Quote Link to comment Share on other sites More sharing options...
dculley Posted July 7, 2016 Share Posted July 7, 2016 @@Jack_mcs one more thing. Before I opened my site I did go and and change the permission to 755 on the header tags.php file. Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted July 7, 2016 Author Share Posted July 7, 2016 (edited) @@dculley If I recall correctly, you have a 2.3.4 shop with the Bootstrap code added as opposed to the actual BS shop. If that is correct, then the files in the "Use_if_version_greaterthan_2.3" directory are probably closer to what you have. Either set of files will work for comparing. Just be watchful of the differences. The white screen means there is a fatal mistake in the code. To find out what it is, try one of these: 1 - See if there is a file named error_log in the root of the shop. If there is, it should have the cause of the failure (last line). 2 - Open the includes/application_top.php file, find the line near the top starting with error_reporting and add this line after it: ini_set('display_errors','1'); Be sure you don't already have that line. If you do, then set it to 1, assuming it is set to 0. Then reload the page and you should see at least one failure. It is usually the last one that is causing the problem. When you are done, you should leave that line in the file but change it to a value of 0. Edited July 7, 2016 by Jack_mcs Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
dculley Posted July 7, 2016 Share Posted July 7, 2016 @@Jack_mcs I may will work on it again this week end. I was very careful of watching where the lines were placed. Kind of bombed out about it. I took me some time to get the files ready or I thought ready. It was no rush job. But we will see. Thanks Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted July 7, 2016 Author Share Posted July 7, 2016 When there are problems like this, the best approach, in my opinion, is to get the admin changes applied and working first. That way the shop side is not affected and you know the database is setup correctly. Then on the shop side, the only changes needed for an initial test is those to the includes/template_top.php and index.php or product_info.php (the latter is the easier of the two). If it still fails, then the problem is in one of those two files and should be easy to located. Good luck. :) Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
MrPhil Posted July 9, 2016 Share Posted July 9, 2016 @@Jack_mcs one more thing. Before I opened my site I did go and and change the permission to 755 on the header tags.php file. That is rarely necessary. Only a few very oddly set-up servers need .php files to be marked "executable". 644 (read-write by owner, read-only by everyone else) will usually do the job, although files that PHP needs to write to (update) may have to be "writable" by group (664) or even by world (666), depending on how your server is set up (where PHP is running). In general, you want to give directories and files the least (most restrictive) permissions that will do the job. Don't listen to fools who blithely tell you to "chmod 777 everything" -- they're dead wrong. Quote Link to comment Share on other sites More sharing options...
dculley Posted July 11, 2016 Share Posted July 11, 2016 @@Jack_mcs Hi Jack I didn't get very far this weekend. I just got a chance to start on it late today. I took what you said earlier "If I recall correctly, you have a 2.3.4 shop with the Bootstrap code added as opposed to the actual BS shop. If that is correct, then the files in the "Use_if_version_greaterthan_2.3" directory are probably closer to what you have. Either set of files will work for comparing. Just be watchful of the differences." So I started from scratch and went to the "version greaterthan 2.3". I ran into 2 things right of the bat. On the Install Catalog.txt, last thing want me to add a line the sytlesheet.css. Well I don't have that file. Never did since I went to osc with BS. So I said okay lets try to do the first step - File changes to includes/template_top.php. Using eh template top.php under the catalog file (greater then) I used winmerge, when I went to but the file agents mine it was way off. 2 totally different files. So I went back to the BS SEO, went to that catalog file and compared that file with mine, now it looked cohesive. So I'm guessing that I may be using a truer BS version. I didn't go any further with the "greater than". I guess I will have to revisit the BS and see what I can do. Just wanted to bring you up to date. Dean Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted July 11, 2016 Author Share Posted July 11, 2016 With a shop like yours, you will probably always have problems installing addons that require code changes since it isn't one of the recognized formats. That is not a problem, just more work for you. :) The change to the stylesheet.css file is to load in the css file this addon uses. There has to be some css file you use somewhere. The BS shop uses one called user.css. So just find that file and add the one line to the top of it and that will be fine. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
dculley Posted July 13, 2016 Share Posted July 13, 2016 HI Jack@@Jack_mcs This time I'm using merge program to compare all the BS Catalog files to the my files. I'm finding that the Catalog files have a lot more changes then the Install txt files has. Hopefully I'm making the right changes. Ran into one little wall. Since I'm not a programmer nor will I confess to be, I need help with the following code in catalog/includes/application_top.php line 484 and 493. The one with the ??? is the main one I need help with. You have a m. in front of manufacturers and some others. That my site is not using. Key for my lines "Your code" (line 484) and (493) "Now" is code with my changes that I plan to upload "Org mine" code from my site "???" I need help with putting together this line to work with your seo and my site. Was yours $categories_query = tep_db_query("select IF(categories_htc_breadcrumb_text !='', categories_htc_breadcrumb_text, categories_name) as title from " . TABLE_CATEGORIES_DESCRIPTION . " where categories_id = " . (int)$cPath_array[$i] . " and language_id = " . (int)$languages_id); Now $categories_query = tep_db_query("select IF(categories_htc_breadcrumb_text !='', categories_htc_breadcrumb_text, categories_name) as title from " . TABLE_CATEGORIES_DESCRIPTION . " where categories_id = '" . (int)$cPath_array[$i] . "' and language_id = '" . (int)$languages_id . "'"); Org mine $categories_query = tep_db_query("select categories_name from " . TABLE_CATEGORIES_DESCRIPTION . " where categories_id = '" . (int)$cPath_array[$i] . "' and language_id = '" . (int)$languages_id . "'"); Was Yours $manufacturers_query = tep_db_query("select IF(mi.manufacturers_htc_breadcrumb_text !='',mi.manufacturers_htc_breadcrumb_text, m.manufacturers_name) as title from " . TABLE_MANUFACTURERS . " m left join " . TABLE_MANUFACTURERS_INFO . " mi on m.manufacturers_id=mi.manufacturers_id where m.manufacturers_id= " . (int)$_GET['manufacturers_id'] . " AND languages_id = " . (int)$languages_id); ??? $manufacturers_query = tep_db_query("select IF(mi.manufacturers_htc_breadcrumb_text !='',mi.manufacturers_htc_breadcrumb_text, m.manufacturers_name) as title from " . TABLE_MANUFACTURERS . " m left join " . TABLE_MANUFACTURERS_INFO . " mi on m.manufacturers_id=mi.manufacturers_id where m.manufacturers_id= " . (int)$_GET['manufacturers_id'] . " AND languages_id = " . (int)$languages_id); Org Mine $manufacturers_query = tep_db_query("select manufacturers_name from " . TABLE_MANUFACTURERS . " where manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "'"); Thanks Dean Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted July 14, 2016 Author Share Posted July 14, 2016 You don't merge that section of code, It all gets replaced. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
munchkinz Posted July 21, 2016 Share Posted July 21, 2016 Hi Guys, I've just installed Header Tags SEO to my store and I have 2 problems which I am hoping you lovely people could help me fix. Firstly, I don't have a box in the admin panel for Header Tag SEO only a subcategory in configuration. Secondly, when I am in Confuration i get the following error message Warning: call_user_func() expects parameter 1 to be a valid callback, function 'header_tags_reset_cache' not found or invalid function name in/homepages/7/d468915905/htdocs/clickandbuilds/osCommerce/Bumbleberrys/backoffice/includes/functions/general.php on line 1272 I have limited knowledge of PHP. I have checked all instructions and even copied over all admin files from the download file to ensure the code was right. I do have a template installed and i'm running Version 2.3.4 Thank you in advance. I've included a screen shot to show both issues. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.