Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

artfulweb

Members
  • Posts

    324
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by artfulweb

  1. Hi Jack, I set up a testing site, vanilla install of Phoenix 1.0.8.16 and it works perfectly. Now I need to figure out which of my add-ons or rewriting rules create the problem. Sorry to have bothered you but at least for others I can confirm that it does work on a vanilla installation!

  2. Finally got an error in my logs

    PHP Fatal error:  Uncaught Error: Undefined constant "DIR_WS_HTTPS_CATALOG" in /xx/xx/xx/xx/includes/application_top.php:52
    Stack trace:
    #0 /xx/xx/xx/xx/index.php(13): require()
    #1 {main}
      thrown in /xx/xx/xx/xx/includes/application_top.php on line 52

    Line 52 is

              tep_redirect(HTTP_SERVER . DIR_WS_HTTPS_CATALOG . 'googlesitemap/index.php');  //   
     

  3. Hi Jack, having been trying everything. When I click to generate the maps a new page opens but blank. Nothing in the error logs. Tried the diagnostic but nothing shows. There is no sitemap_index.php.

    I had had the previous version installed but it only did the products sitemap so I hoped this version would fix it but the result is the same and as the googlesitemap/index.php is blank I do not know where to look.

    That said, the only other change to the site was the add of Name Based URLs which gives the same result as Ultimate SEO URLs ( which had bugged on this version  of Phoenix though installed for years so I gave the other a try as it is a live site, sorry).

  4. new version has been uploaded with these changed:

    • Corrected code to run correctly via cron or the shop.
    • Fixed some php warnings for 7.3+.

     

    Hi Jack, having been using this for years and now on Phoenix 1.0.8.16 the only sitemap generated is for the products, not the rest. any ideas would be appreciated.

  5. 6 hours ago, petbeemer said:

    I have exactly that as well will latest CE Phoenix v1.0.8.14 

    PHP Version 7.4.29 (Zend 3.4.0)

     

    Did anyone find a cure?

    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.

  6. On 1/4/2022 at 8:04 PM, Jack_mcs said:

    @artfulwebI was just working on a different problem that reminded me of this one. That problem was a setting on the server not being set. To check it, please go to admin->Tools->Server Info and search for "output buttering". There should be a number for it. The default is 4096. It can be something different but if it is blank that is most likely the problem. 

    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.

  7. 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;
     

  8. 22 hours ago, Jack_mcs said:

    @BrockleyJohnGood catch. It appears they have removed injectinjectAppTop completely. 

    @artfulwebIn the hook file change this line 

    
    public function listen_injectinjectAppTop() {

    to this

    
    public function listen_injectSiteStart() {

    I made the change here and it ran without errors.

    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
     

  9. 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?

  10. On 11/25/2021 at 4:03 PM, Jack_mcs said:

    @radhavallabhSince it works in other shops but not yours, it must be something unique to yours. If you turn the addon off in admin do all of the urls work correctly? If it does, try using the Uninstall setting and then reload the shop side. Does that fix it? If not, try turning off all cache options in the settings and try again. If it still fails then the only thing I can think to do is to install it into a new, basic, shop. That should work since it works here. Then you can try it with your database and if it fails, then it is something there that is causing the problem.  

    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
     

  11. 9 hours ago, Jack_mcs said:

    @zeeshopDue to how updates are done in Phoenix, it might be that there isn't a version of this addon that will work in your version. I tested up to 1.0.7.6 and in 1.0.8.5 but not the ones in-between.  But for any working version, when you click uninstall in admin, the settings won't show up again until you reload the shop side. I assume you checked for the settings after loading the shop side but thought I should mention it just in case. And, usually, you can safely replace the seo.class.php file with one from a different version for a quick test. You you may want to upload the files in one of the other Phoenix directories to see if that helps.

    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

×
×
  • Create New...