Page 3 of 5 First 12345 LastLast
Results 21 to 30 of 46

Thread: Who's Online 3.4 ~ OSCMax

  1. #21
    osCMax Development Team

    Who's Online 3.4 ~ OSCMax

    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    4,132
    Total Contributions For

    ridexbuilder     $ 15.00
    Rep Power
    96


    Question Re: Who's Online 3.4 ~ OSCMax

    Anyone figured out how to allow the cart to display - maybe by substitution of the function call with a suhosin compatible one?

    Developers resource at bitbucket
    *** *** ***
    oscmax.co.uk / ejsolutions.co.uk
    Hosting plans with installation, configuration, contributions, support and maintenance.
    *** FREE osCmax hosting available ***
    oscmaxtemplates.com

  2. #22
    jpf
    Guest


    Default Re: Who's Online 3.4 ~ OSCMax

    if you read the notes:
    4. This contribution is not completely compatible with the "suhosin PHP security patch from the Hardened-PHP Project". Cart contents will not display.
    If you have that installed - do not install this contrib. Will not work. Or uninstall the suhosin patch.

  3. #23
    osCMax Development Team

    Who's Online 3.4 ~ OSCMax

    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    4,132
    Total Contributions For

    ridexbuilder     $ 15.00
    Rep Power
    96


    Default Re: Who's Online 3.4 ~ OSCMax

    Thanks jpf,
    I had read the notes but things move on (sometimes)
    I'm forever hopeful

    EJ

    Developers resource at bitbucket
    *** *** ***
    oscmax.co.uk / ejsolutions.co.uk
    Hosting plans with installation, configuration, contributions, support and maintenance.
    *** FREE osCmax hosting available ***
    oscmaxtemplates.com

  4. #24
    JohnW
    Guest


    Default Re: Who's Online 3.4 ~ OSCMax

    I find Who's Online 3.5.4 to be a very useful tool and I use it often, but the phpsuhosin problem has existed for over a year with it.

  5. #25
    osCMax Development Team

    Who's Online 3.4 ~ OSCMax

    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    4,132
    Total Contributions For

    ridexbuilder     $ 15.00
    Rep Power
    96


    Default Re: Who's Online 3.4 ~ OSCMax

    Yep, one of my clients loves it - can't stay away Just a change of hosting provider recently, brought the issue into focus. It's a PITA that it doesn't work - hence my asking if a workaround had been found. It's still a worthwhile contrib. to add but is a lot better when the cart shows

    Developers resource at bitbucket
    *** *** ***
    oscmax.co.uk / ejsolutions.co.uk
    Hosting plans with installation, configuration, contributions, support and maintenance.
    *** FREE osCmax hosting available ***
    oscmaxtemplates.com

  6. #26
    JohnW
    Guest


    Default Re: Who's Online 3.4 ~ OSCMax

    It took me quite a while to figure out what was causing my problem, but it had worked on earlier versions of suhosin. I'm on a dedicated server so I have suhosin off for the time being but if your client is on a box running Mod_SuPhp it is possible to run a unique php.ini for his account if they allow it. I have 3 different php.ini for my live site and 2 test sites. You can put this in his .htaccess and give it a try, but you have to put all the php.ini details in his file or it will go with default settings. Just remove the sushosin extension for his.

    suPHP_ConfigPath /home/username/public_html
    <Files php.ini>
    order allow,deny
    deny from all
    </Files>


    Suhosin also caused problems with my quick updates that I was using a lot because I modified it to change dimensions and weight for UPSxml. I updated mine to full dimension support in 2006 so using quick updates for it really helped me along a lot because the packing routine was new and JanZ was tweaking it from my feedback. It used to put items that wouldn't fit in a box.

  7. #27
    osCMax Development Team

    Who's Online 3.4 ~ OSCMax

    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    4,132
    Total Contributions For

    ridexbuilder     $ 15.00
    Rep Power
    96


    Thumbs up Re: Who's Online 3.4 ~ OSCMax

    You, my friend, are a flippin' star!
    Looks as though it's only required at the Admin level - though a bit too soon to be certain.

    Ta muchly
    Have a good one.
    EJ

    Developers resource at bitbucket
    *** *** ***
    oscmax.co.uk / ejsolutions.co.uk
    Hosting plans with installation, configuration, contributions, support and maintenance.
    *** FREE osCmax hosting available ***
    oscmaxtemplates.com

  8. #28
    JohnW
    Guest


    Default Re: Who's Online 3.4 ~ OSCMax

    Actually, I just played with this after I wrote that and it works perfectly and yes you only need to change it at admin level. Honestly, I hadn't thought about this for suhosin until I was writing my last post and it came to me at the time. I did it originally in working on register_globals. So, right now on my server I have the main php.ini with
    Code:
    ; Directory in which the loadable extensions (modules) reside.
    extension = "homeloader.so"
    extension = "suhosin.so"
    extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20060613"
    and on my live site using who's online
    Code:
    ; Directory in which the loadable extensions (modules) reside.
    extension = "homeloader.so"
    extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20060613"
    But, make sure you put an entire php.ini and not just want you want to change because it will assume default settings for the rest. There is some info out there saying to just put what you want to change but you need a full file. It only needs a permission of 400 after it's set.

    I can't believe I didn't think of this before but I guess that's proof that we can help ourselves by answering others. Let me know if you have any questions.

  9. #29
    osCMax Development Team

    Who's Online 3.4 ~ OSCMax

    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    4,132
    Total Contributions For

    ridexbuilder     $ 15.00
    Rep Power
    96


    Default Re: Who's Online 3.4 ~ OSCMax

    Kinda lost me with that lot

    All I done was added the code you supplied (replacing the userid) to the top of .htaccess in the admin directory - shazzam!

    [If I recall, there's an extensive top level php.ini, with a suhosin directive in it, that was supplied by my hosting provider - it made not a jot of difference, until...]

    EJ

    [Amazing how thinking on one problem/challenge sparks up an idea in another one ]

    Developers resource at bitbucket
    *** *** ***
    oscmax.co.uk / ejsolutions.co.uk
    Hosting plans with installation, configuration, contributions, support and maintenance.
    *** FREE osCmax hosting available ***
    oscmaxtemplates.com

  10. #30
    JohnW
    Guest


    Default Re: Who's Online 3.4 ~ OSCMax

    EJ,

    I meant it only needs chmod at 400 not 644 or 444 when running mod_suphp.

    The above code was only the part of the ini that is changed but you need to put a full ini and not just the change, so copy the host's php.ini and only change the suhosin or the php will use php default settings which is not a good for production servers. I made this mistake myself at first. The top level php.ini is overwritten entirely for the folder you put it in so you want to duplicate it and only change the suhosin directive IMHO.

    My understanding is some host will block the ability to do this because of problems they've had.

Page 3 of 5 First 12345 LastLast

Similar Threads

  1. Online osCMax sandpit
    By MindSpace in forum General Topics & Chit Chat
    Replies: 1
    Last Post: 01-31-2008, 09:13 AM
  2. Who's Online Enhancement
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 01-30-2008, 08:21 AM
  3. Who's Online Enhancement
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 12-03-2007, 10:21 AM
  4. Who's Online Enhancement 3.21 - For OSCMAX
    By ALElder in forum osCmax v2 Customization/Mods
    Replies: 2
    Last Post: 08-02-2007, 11:32 AM
  5. online new v.1
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 03-09-2007, 07:20 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •