Full service web hosting, great prices and support. Starts at $1.99/month!
Page 3 of 3 First 123
Results 21 to 24 of 24

Thread: security issues with older version of oscmax?

  1. #21
    osCMax Development Team

    security issues with older version of oscmax?

    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    4,164
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    ridexbuilder     $ 15.00
    Rep Power
    100


    Thumbs up Re: security issues with older version of oscmax?

    Well done. The perseverance paid off

    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
    osCMax Developer


    security issues with older version of oscmax?


    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    23,134
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    michael_s     $ 10.00
    Rep Power
    598


    Default Re: security issues with older version of oscmax?

    My recommendation for doing a db upgrade manually: Always start with a default version of the stable 2.0.2 configuration table. Never use an old configuration data set, as it will cause problems. Then manually add in your custom records from there to avoid conflicts and omissions.

    Other than that, I think you have the manual update process burned into your brain for future reference

    The good thing about being up to date with the current 2.0.2, is that there will always be update scripts moving forward to simplify the process of changing the core datbase records and upgrading the files. If you went so far as to check out your install via SVN, future upgrades will be as simple as making a backup of site and datbase, then running the command svn update from the catalog directory, and perhaps running a few sql queries.

  3. #23
    Claymm
    Guest


    Default Re: security issues with older version of oscmax?

    Hi earth-friendly !

    Is this manual update fixed the problems about the register_globals ?
    Did you turn it to "off" in your php.ini ?

    Did you keep some written tracks to this update, that I could use to make mine ?
    Do you have some advices for someone which want to do the same ?

    Best Regards.

    Claym.

  4. #24
    earth-friendly
    Guest


    Default Re: security issues with older version of oscmax?

    Hi Claym. First, let me say the upgrading from the old version that I had before, 2 RC2, to the new version, 2.0.2, was a massive undertaking. I had made many, many changes to the original versions, to fit my needs. Hopefully your site does not have such massive changes.

    A tool that I found invaluable was Beyond Compare. If you get the advanced version, for $50, it will do a 3-way merge, where you give it the original file, the 2.0.2 version of the file, and your newest version of the file, and then it will help you merge all the changes. If I didn't have this tool, it would have taken me months, instead of 1-2 weeks. They give you a 30-day trial to see if you like it, and you can use the advanced version during the trial. I liked it so much that even if I didn't need to do comparisons again, I would still pay the $50 for all of the value that I got.

    In my old version, I had "register_globals = On" in php.ini.
    In my new version, I no longer have a php.ini. It presumably gets the default value from the server, which is Off.

    The main kinds of changes I had to make during the merge were to make sure to add my mod changes into the final version. I'll give you a few tips of the other kinds of changes I had to make in order to debug my new version.

    Sometimes the mods I had added weren't set up for Register_globals being off.
    What this means is that when you have a cgi argument passed in the url, like "payment=cc", or you have a form variable, then in the cgi script that processes the results, with Register_globals on, php would create a variable, like $payment, where you could access the cgi argument or the form variable. But now, you have to get the value by doing $_GET['payment'] or $_POST['payment'].

    The other main change is that register_long_arrays is, I think, also off.
    So before, $HTTP_POST_VARS and $HTTP_GET_VARS could be used as global variables, and these contained the same contents as $_POST and $_GET. Now you need to use $_GET and $_POST. There is some code in, I think, includes/application_top.php that sets $HTTP_POST_VARS and $HTTP_GET_VARS to $_POST and $_GET, respectively.
    (Note: I also added this code to admin/includes/application_top.php.)
    But, if these are used inside of a function, you now need to include a global declaration.

    I found that I had to fix up a lot of things like this in the admin, while the regular catalog code was in much better shape. Especially for MVS in the admin, I had to make lots of these kinds of changes.

    One of the big tips for merging the sql:
    Start with the oscmax 2.0.2 version of the sql, and then add your changes into that version. One of the problems I had initially was that I used my version, and then added some oscmax 2.0.2 changes into it. But there were some fields in certain tables, like the configuration table, and they were supposed to be able to be joined with a different field in another table, and things got totally messed up for me.

    So, those are the general tips that I can think of. I hope you find this helpful.

    Regards,
    -Lori-

Page 3 of 3 First 123

Similar Threads

  1. What are the known issues with php 5.25 and oscmax?
    By excaliburwebdesigners in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 03-09-2008, 06:15 PM
  2. Security Issues..still?
    By adiwillow in forum osCMax v2 Features Discussion
    Replies: 3
    Last Post: 07-23-2006, 11:27 AM
  3. 2 osCMax-2.0RC2 issues
    By macfionn in forum osCMax v2 Features Discussion
    Replies: 7
    Last Post: 01-02-2006, 09:43 PM
  4. Download Issues OSCMax RC2
    By Cisco in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 10-01-2005, 07:35 AM
  5. Are there any security issues running in root?
    By DMG in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 01-25-2004, 05:23 AM

Bookmarks

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
  •