osCmax v2.5 User Manual
Results 1 to 4 of 4

Help with oscmax and wampserver

This is a discussion on Help with oscmax and wampserver within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; HI, I have a dilemna coming up as my host goes to PHP 5.3 and about 8 stores are lined ...

      
  1. #1
    Active Member
    Join Date
    Nov 2002
    Location
    Sydney
    Posts
    242
    Rep Power
    10


    Question Help with oscmax and wampserver

    HI,

    I have a dilemna coming up as my host goes to PHP 5.3 and about 8 stores are lined up to fall over unless..

    I or someone fixes them!

    Half of them are oscmax and the other half 2.2 oscommerce.

    At the moment the host is running 5.2 PHP so I need an environment of 5.3 to test our upgrades.

    If I do a full back from Cpanel at my host's site, how can I get the sites running on wampserver which deos have 5.3?

    Thanks,

    oz

  2. #2
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Smile Re: Help with oscmax and wampserver

    Have a look in the Wiki.

    Install guide for localhost

    We have been working on PHP5.3 fixes in the SVN . So you could go through your code and manually fix these ... not sure about the osCommerce stores ...

    However, this will depend on which versions of osCMax and osCommerce you are running on these stores ... as the versions would need to match ... it might be worth taking this opportunity to upgrade them all to the lastest version of osCMax v2.0.25 ... If you know what you are doing with SQL it is not difficult ...

    If you do not want to upgrade to v2.0.25 then you will need to take the SQL backup of each of the stores and run this on the WAMP server to create a mirror of your online database, copy php files from the server on to your local machine ... then fix all of the php5.3 changes and re-upload ...

    (You could also move to a host which isn't upgrading yet!)

    Edit: You can also simply hide the deprecated functions from displaying by editing the application_top.php file like this ...
    error_reporting(E_ALL & ~E_NOTICE & ~'E_DEPRECATED');
    It just depends if you want 'fix' the problem or just 'not show' the problem.
    Last edited by pgmarshall; 03-30-2010 at 03:22 AM.
    pgmarshall
    _______________________________

  3. #3
    osCMax Developer

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


    Default Re: Help with oscmax and wampserver

    The workaround above (turning off notices and deprecated warnings in application_top.php) is ideal and will give you time to fix things on your own timetable instead of your host's. It will allow all the sites to handle the change to php 5.3 seamlessly. This is the same workaround we instituted for 2.0.15 and .25 to run on php 5.3 with no problems.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    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

  4. #4
    Active Member
    Join Date
    Nov 2002
    Location
    Sydney
    Posts
    242
    Rep Power
    10


    Default Re: Help with oscmax and wampserver

    Thanks for that, I appreciate the time you put into it for us.

    I was thinking about doing the upgrades to .25 as it makes sense to use this opportunity to do it however these are client sites and I am not sure they will want to invest in doing it. They each also have a couple of mods that are different which may or may not work with 5.3 let alone .25.

    I have already started another site with .25 and can't believe how simple the install was and can't wait to get into to it more as time permits. You guys have done a great job.

    I want this one to be a music download site, but then again that's another story, what with finding flash players and the way to set out the tracks, albums etc.

    I like the idea of using the 5.3 'fix' first as a safety net. Never thought to use it as a way to keep the sites up whilst we worked through the real fixes.

    Good answers.. Many thanks..

    oz

Similar Threads

  1. do CreLoaded templates work on oscmax? Also do oscommerce contribs work on oscmax?
    By Misery_Kitty in forum osCmax v2 Installation issues
    Replies: 7
    Last Post: 02-12-2008, 01:06 AM

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
  •