-
Content count
319 -
Joined
-
Last visited
-
Days Won
3
Everything posted by artfulweb
-
[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo
artfulweb replied to spidometrs's topic in General Add-Ons Support
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. -
[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo
artfulweb replied to spidometrs's topic in General Add-Ons Support
Thank you, Jack! -
[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo
artfulweb replied to spidometrs's topic in General Add-Ons Support
Found it, but the change does nothing, unfortunately... -
[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo
artfulweb replied to spidometrs's topic in General Add-Ons Support
Excuse me, Jack, where is that? -
[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo
artfulweb replied to spidometrs's topic in General Add-Ons Support
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. -
[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo
artfulweb replied to spidometrs's topic in General Add-Ons Support
Thank you for all your help, Jack. -
[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo
artfulweb replied to spidometrs's topic in General Add-Ons Support
Excuse me, php 7.4.25 -
[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo
artfulweb replied to spidometrs's topic in General Add-Ons Support
On 7.4.13, have not yet taken the plunge to 8. -
[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo
artfulweb replied to spidometrs's topic in General Add-Ons Support
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. -
[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo
artfulweb replied to spidometrs's topic in General Add-Ons Support
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. -
[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo
artfulweb replied to spidometrs's topic in General Add-Ons Support
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('&', '&', $url); header("Location: $url"); // redirect...bye bye break; -
[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo
artfulweb replied to spidometrs's topic in General Add-Ons Support
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. -
[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo
artfulweb replied to spidometrs's topic in General Add-Ons Support
Found it and injectSiteStart is on line 36 of that file so why the problem? I am so perplexed. -
[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo
artfulweb replied to spidometrs's topic in General Add-Ons Support
Jack, there is no more template_top.php in 1.0.8.9, it is template.php. -
[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo
artfulweb replied to spidometrs's topic in General Add-Ons Support
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 -
[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo
artfulweb replied to spidometrs's topic in General Add-Ons Support
Thanks Jack. Just for info I am not yet on php 8. Have a happy New Year! -
[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo
artfulweb replied to spidometrs's topic in General Add-Ons Support
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? -
[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo
artfulweb replied to spidometrs's topic in General Add-Ons Support
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 -
[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo
artfulweb replied to spidometrs's topic in General Add-Ons Support
Perfect Jack! All working as should. Thanks ever so much for the update. -
[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo
artfulweb replied to spidometrs's topic in General Add-Ons Support
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 -
[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo
artfulweb replied to spidometrs's topic in General Add-Ons Support
What a dilemma! -
[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo
artfulweb replied to spidometrs's topic in General Add-Ons Support
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? -
[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo
artfulweb replied to spidometrs's topic in General Add-Ons Support
Hi Jack, Have you been able to get this to work with Phoenix 1.0.8.4 ? -
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.
-
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('"', '"', $_POST['categories_seo_title'][$l]['id']) : str_replace('"', '"', $_POST['categories_name'][$l]['id'])))), 'categories_seo_description' => Text::prepare(strip_tags((tep_not_null($_POST['categories_seo_description'][$l]['id']) ? str_replace('"', '"', $_POST['categories_seo_description'][$l]['id']) : str_replace('"', '"', $_POST['categories_name'][$l]['id'])))), 'categories_seo_keywords' => Text::prepare(strip_tags((tep_not_null($_POST['categories_seo_keywords'][$l]['id']) ? str_replace('"', '"', $_POST['categories_seo_keywords'][$l]['id']) : str_replace('"', '"', $_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('"', '"', $_POST['products_seo_title'][$language_id]) : str_replace('"', '"', $_POST['products_name'][$language_id])))), 'products_seo_description' => Text::prepare(strip_tags((tep_not_null($_POST['products_seo_description'][$language_id]) ? str_replace('"', '"', $_POST['products_seo_description'][$language_id]) : str_replace('"', '"', $_POST['products_name'][$language_id])))), 'products_seo_keywords' => Text::prepare(strip_tags((tep_not_null($_POST['products_seo_keywords'][$language_id]) ? str_replace('"', '"', $_POST['products_seo_keywords'][$language_id]) : str_replace('"', '"', $_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]),