Page 1 of 3 123 LastLast
Results 1 to 10 of 21

php5 question+oscmax rc3

This is a discussion on php5 question+oscmax rc3 within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; My host is switching soon to php5 and mysql5 I have read about people having problems and having to switch ...

      
  1. #1
    osCMax Testing Team
    Join Date
    Sep 2004
    Posts
    357
    Rep Power
    10


    Default php5 question+oscmax rc3

    My host is switching soon to php5 and mysql5 I have read about people having problems and having to switch have register globals on in php.ini or fixing it in the .htaccess file. The posts I read were with oscmax RC2. I use RC3 is this still an issue with that release? or should it be fine when they make the switch.

    Thanks in advance

  2. #2
    osCMax Testing Team
    Join Date
    Sep 2004
    Posts
    357
    Rep Power
    10


    Default Re: php5 question+oscmax rc3

    I put this contribution on my test site super easy and it states it will work with globals on or off, php 4 or 5 and won't break any modules like shipping or credit. It seems to work on my local machine test site but I can not verify on my local machine if it does not affect the shipping or credit modules. Has anyone used this on a live site yet? Thank you in advance.

    osCommerce Community Add-Ons

  3. #3
    Lurker
    Join Date
    Sep 2006
    Posts
    1
    Rep Power
    0


    Default Re: php5 question+oscmax rc3

    I still have problems with Oscmax 2.0 RC3 and PHP 5.
    Does anyone knows when the final version will come throw?

  4. #4
    osCMax Testing Team
    Join Date
    Sep 2004
    Posts
    357
    Rep Power
    10


    Default Re: php5 question+oscmax rc3

    Don;t think anyone around Freitas66 I know I tried the above contribution register globals easy and I thought it worked but it breaks the saved cart. If a customer logs out they lose the cart. CRAP!

  5. #5
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default Re: php5 question+oscmax rc3

    I have no problems with php5. See this thread:
    Testers needed for register_globals/register_long_arrays=off
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  6. #6
    osCMax Testing Team
    Join Date
    Sep 2004
    Posts
    357
    Rep Power
    10


    Default Re: php5 question+oscmax rc3

    Michael:

    I have seen that thread. Did you install the changes mentioned in that thread? I know that I still get an error with RC3 on the local machine using xampp and php4 or 5 but not live using php 4. I am just trying to avert problems that may occur when the host switches next week. Also in that thread no one mentioned whether they tested the ups xml shipping module. Thanks

  7. #7
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default Re: php5 question+oscmax rc3

    It could be a setting on your local machine causing the issue. I have no errors when adding the magic-seo solution, including no problems with saved carts.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  8. #8
    osCMax Testing Team
    Join Date
    Sep 2004
    Posts
    357
    Rep Power
    10


    Default Re: php5 question+oscmax rc3

    Nope I just made the changes and put it on my live site. Even though the customers saved cart is still in the database it does not show when they re login. Once I put the code back to what it was the cart shows back up when logging in. I am be-fuddled if that is a word and frustrated. Could it be a setting I have in the admin or another contribution that was installed?

  9. #9
    osCMax Testing Team
    Join Date
    Sep 2004
    Posts
    357
    Rep Power
    10


    Default Re: php5 question+oscmax rc3

    Alright I narrowed it down to the changes causing this for my shop is in catalog/includes/functions/sessions .php If I do all the contributions changes except for this file it works and the saved cart shows back up. So now if anyone can tell me why?
    I am still going crazy. If it worked in Michaels install why not mine.
    Argggg

  10. #10
    osCMax Testing Team
    Join Date
    Sep 2004
    Posts
    357
    Rep Power
    10


    Default Re: php5 question+oscmax rc3

    OK I have narrowed it down to the piece of code in the contribution at around line 112 of catalog/includes/functions/sessions that makes my store not be able to see the saved cart. Here is the exact contribution code for register globals easy that messes me up by not letting customers see saved cart when they re login

    function tep_session_is_registered($variable) {
    if(isset($_SESSION[$variable])) {
    return true;
    } else {
    return false;
    }
    }


    Here below is the original code in that section it replaced that worked

    function tep_session_is_registered($variable) {
    return session_is_registered($variable);
    }


    Is this enough detail to get the answer from someone who might know a bit more php than I?
    Last edited by bkpie; 02-27-2008 at 06:12 AM. Reason: narrowed down the code

Page 1 of 3 123 LastLast

Similar Threads

  1. Can not run oscmax install script on php5 - here is the fix
    By rabbit79 in forum osCmax v2 Installation issues
    Replies: 9
    Last Post: 02-18-2009, 06:48 AM
  2. Will oscMax work with php5 and MySQL5 ? (All featueres)
    By ryankan1 in forum osCmax v2 Installation issues
    Replies: 3
    Last Post: 10-16-2007, 07:31 PM
  3. osCMax 2.0 RC3 upgrade
    By jpf in forum Announcements
    Replies: 1
    Last Post: 12-15-2006, 07:16 PM
  4. Layaway Option for OSCMAX RC3
    By ALElder in forum osCmax v2 Customization/Mods
    Replies: 2
    Last Post: 11-04-2006, 09:27 PM
  5. osCMAx 2.0 RC3 Released Today
    By michael_s in forum Announcements
    Replies: 0
    Last Post: 08-04-2006, 01:00 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
  •