Jump to content

artfulweb

Members
  • Content count

    319
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by artfulweb

  1. Hi Jack, hi Peter, I just did a new test site with a vanilla version of Phoenix 1.0.8.1.4 and your latest version of Ultimate SEO URLs with no other addons for the moment and it works. I can only assume that my original problem must have had some relation to another add-on as this test site is on the same server as the last and in a subfolder as was the last. A mystery for me but it is working just great.
  2. Found it, but the change does nothing, unfortunately...
  3. Excuse me, Jack, where is that?
  4. Hi Jack, Sorry to take so long. I created a phpinfo file to se the output_buffering (can not see all server details through the admin panel) and as it was 0 I added it to my php.ini file with the default 4096 as you stated but still no change. Ultimate SEO URL worked before on the server apparently with the buffering at 0 so that should not have been the problem but thanks anyway.
  5. Thank you for all your help, Jack.
  6. Excuse me, php 7.4.25
  7. On 7.4.13, have not yet taken the plunge to 8.
  8. Changed the hook file to replace the public function to listen_injectRedirects() { Now in the navigation bar I see the url changed but get a 404 error page.
  9. Changing that breaks the site, clicking a product everything under the navbar goes blank and stll throws the same error as before. No cache issue as I uninstalled and reinstalled.
  10. If we look at /includes/components/template_top.php:26 line 26 is: <!DOCTYPE html> <html<?php echo HTML_PARAMS; ?>> If we look at /includes/classes/seo.class.php, linse 2907-2910 are case ($this->attributes['USE_SEO_REDIRECT'] == 'true'): header($_SERVER['SERVER_PROTOCOL'] . " 301 Moved Permanently"); $url = str_replace('&amp;', '&', $url); header("Location: $url"); // redirect...bye bye break;
  11. Hi Jack, Hi John, Jack, thank you but this is a vanilla install of 1.0.8.9 with only Ultimate SEO installed so there is nothing else that has been modified. Do not understand how it works on yours and not mine! John, I am not sure in which file you think I should change the public function.
  12. Found it and injectSiteStart is on line 36 of that file so why the problem? I am so perplexed.
  13. Jack, there is no more template_top.php in 1.0.8.9, it is template.php.
  14. Hi Jack, Made the change and still no change. Still getting the error PHP Warning: Cannot modify header information - headers already sent by (output started at /XXX/XX/XX/XX/templates/default/includes/components/template_top.php:26) in /XX/XX/XX/X/includes/classes/seo.class.php on line 2908 and line 2910
  15. Thanks Jack. Just for info I am not yet on php 8. Have a happy New Year!
  16. OOOOOOHHHHH.... think I see the problem but do not know how to fix it. In the error it is calling template_top.php which existed prior to 1.0.8.6 headers already sent by (output started at /xx/xx/xx/xx/templates/default/includes/components/template_top.php:26) i whereas it is now templates/override/includes/componets/template.php so where is that called and how to modify it please?
  17. Hello Jack and happy holidays, I too have the same problem. Tried it on a vanilla installation of Phoenix 1.0.8.7 as well as a modified version that already had it installed and working before upgrading to 1.0.8.7 and it does not rewrite. In my logs on both sites I am getting : ============= PHP Warning: Cannot modify header information - headers already sent by (output started at /xxx/xx/xx/xx/templates/default/includes/components/template_top.php:26) in /xx/xx/xx/xx/includes/classes/seo.class.php on line 2908 PHP Warning: Cannot modify header information - headers already sent by (output started at /xx/xx/xx/xx/templates/default/includes/components/template_top.php:26) in /xx/xx/xx/xx/includes/classes/seo.class.php on line 2910 ============= Have cleared all caches, rechecked my htacces file, uninstalled, reinstalled and still no rewrite. As the vanilla install has no modifications I just do not understand. Thanks
  18. Perfect Jack! All working as should. Thanks ever so much for the update.
  19. Hi Jack, Thanks for updating. On a fresh install of Phoenix 1.0.8.5 it does not install, no configuration items added to the database and no cache table. All the files were uploaded and the htaccess file modified. Called the site and nothing happened with the database. Ideas? Did you directly install on 1.0.85? Thanks in advance
  20. I had to uninstall it with 1.0.8.3 and my google rankings plummeted. Tried to reinstall but it does not... nothing shows in the database. If I were to pay for an udate to 1.0.8.5 in your opinion it WILL break? Should I wait?
  21. Hi Jack, Have you been able to get this to work with Phoenix 1.0.8.4 ?
  22. artfulweb

    Header Tags SEO

    Oh, plus I did overwrite all the HTC files with the new ones from "Use_if_version_Phoenix_V_1.0.7.15_and_later" but without the above changes when editing a product or category the header tags title, description and key words so not save.
  23. artfulweb

    Header Tags SEO

    Sorry Jack, it was /*** Begin Header Tags SEO ***/ 'categories_seo_title' => Text::prepare(strip_tags((tep_not_null($_POST['categories_seo_title'][$l]['id']) ? str_replace('"', '&quot;', $_POST['categories_seo_title'][$l]['id']) : str_replace('"', '&quot;', $_POST['categories_name'][$l]['id'])))), 'categories_seo_description' => Text::prepare(strip_tags((tep_not_null($_POST['categories_seo_description'][$l]['id']) ? str_replace('"', '&quot;', $_POST['categories_seo_description'][$l]['id']) : str_replace('"', '&quot;', $_POST['categories_name'][$l]['id'])))), 'categories_seo_keywords' => Text::prepare(strip_tags((tep_not_null($_POST['categories_seo_keywords'][$l]['id']) ? str_replace('"', '&quot;', $_POST['categories_seo_keywords'][$l]['id']) : str_replace('"', '&quot;', $_POST['categories_name'][$l]['id'])))), that I changed to 'categories_seo_description' => Text::prepare($_POST['categories_seo_description'][$l['id']]), 'categories_seo_title' => Text::prepare($_POST['categories_seo_title'][$l['id']]), 'categories_seo_keywords' => Text::prepare($_POST['categories_seo_keywords'][$l['id']]), /*** Begin Header Tags SEO ***/ and for products 'products_seo_title' => Text::prepare(strip_tags((tep_not_null($_POST['products_seo_title'][$language_id]) ? str_replace('"', '&quot;', $_POST['products_seo_title'][$language_id]) : str_replace('"', '&quot;', $_POST['products_name'][$language_id])))), 'products_seo_description' => Text::prepare(strip_tags((tep_not_null($_POST['products_seo_description'][$language_id]) ? str_replace('"', '&quot;', $_POST['products_seo_description'][$language_id]) : str_replace('"', '&quot;', $_POST['products_name'][$language_id])))), 'products_seo_keywords' => Text::prepare(strip_tags((tep_not_null($_POST['products_seo_keywords'][$language_id]) ? str_replace('"', '&quot;', $_POST['products_seo_keywords'][$language_id]) : str_replace('"', '&quot;', $_POST['products_name'][$language_id])))), TO: 'products_seo_description' => Text::prepare($_POST['products_seo_description'][$language_id]), 'products_seo_keywords' => Text::prepare($_POST['products_seo_keywords'][$language_id]), 'products_seo_title' => Text::prepare($_POST['products_seo_title'][$language_id]),
×