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

2a update for osCMax RC3 will not work

This is a discussion on 2a update for osCMax RC3 will not work within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; Hi I have a oscmax2_RC3_0_1 based store which is running fine. I decided to create a second store based on ...

      
  1. #1
    osCMax Testing Team
    Join Date
    Sep 2008
    Posts
    15
    Rep Power
    0


    Default 2a update for osCMax RC3 will not work

    Hi

    I have a oscmax2_RC3_0_1 based store which is running fine. I decided to create a second store based on a clean installation of oscmax2_RC3_0_1 and then followed the instructions to add osCMax-2.0rc3a onto it.

    The installation ran fine and appeared to go smoothly but when I try to access the catalog I get Fatal error: Call to a member function add_current_page() on a non-object in /homepages/17/xxxxxxxxx/htdocs/totallydj/includes/application_top.php on line 343 (xxxxx done by me to remove name, but is correct as checked on live site.)
    If I try and go to the admin site I get a Error 500 - Internal server error. I have spent the last 2 hours checking file permissions and have also tried using the htaccess file from the live site but no joy.

    Help! Any ideas? Would love to try the new version, especially as has payment processors which I need.

    The store is running on PHP5 and MySQL5.

    Many thanks

    Matt

  2. #2
    osCMax Developer

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


    Default Re: 2a update for osCMax RC3 will not work

    What is osCMax 2.0RC3a?

    The only official release is 3.0.1 and the SVN version RC4.
    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

  3. #3
    osCMax Testing Team
    Join Date
    Sep 2008
    Posts
    15
    Rep Power
    0


    Default Re: 2a update for osCMax RC3 will not work

    Hi

    Thanks for your quick reply. It came from here http://www.oscmax.com/forums/oscmax-...scmax-rc3.html

  4. #4
    osCMax Testing Team
    Join Date
    Sep 2008
    Posts
    15
    Rep Power
    0


    Default Re: 2a update for osCMax RC3 will not work

    Hi

    Thanks for your quick reply.

    osCMax-2.0rc3a was downloaded from http://www.oscmax.com/forums/oscmax-...scmax-rc3.html

    Had thought it was an official release based on jpf being one of the forum moderators and a vip.

    Thanks

    Matt

  5. #5
    osCMax Developer

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


    Default Re: 2a update for osCMax RC3 will not work

    It is not an official release. Official releases are not available through the forum for download. Official releases are only be available via the osCMax Project Page

    You can reply to that thread to request help instead of opening a new thread. Note the thread has been moved here:
    MileStone 2a update for osCMax RC3!
    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

  6. #6
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,699
    Rep Power
    22


    Default Re: 2a update for osCMax RC3 will not work

    No that is NOT an official release of OSCMAX it is a update of the CORE of osCommerce MS2 that was released earlier this year (that osCMax is based on).

    Look at my SIG for a working site.

    I have posed a few small changes in the original posting here.
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  7. #7
    Lurker
    Join Date
    Dec 2008
    Location
    Germany & Peru
    Posts
    1
    Rep Power
    0


    Default Re: 2a update for osCMax RC3 will not work

    Quote Originally Posted by hairbear100 View Post
    Hi

    I have a oscmax2_RC3_0_1 based store which is running fine. I decided to create a second store based on a clean installation of oscmax2_RC3_0_1 and then followed the instructions to add osCMax-2.0rc3a onto it.

    The installation ran fine and appeared to go smoothly but when I try to access the catalog I get Fatal error: Call to a member function add_current_page() on a non-object in /homepages/17/xxxxxxxxx/htdocs/totallydj/includes/application_top.php on line 343 (xxxxx done by me to remove name, but is correct as checked on live site.)
    If I try and go to the admin site I get a Error 500 - Internal server error. I have spent the last 2 hours checking file permissions and have also tried using the htaccess file from the live site but no joy.

    Help! Any ideas? Would love to try the new version, especially as has payment processors which I need.

    The store is running on PHP5 and MySQL5.

    Many thanks

    Matt

    Go to that line 343 look for this piece of code:
    Code:
    // navigation history
      if (tep_session_is_registered('navigation')) {
        if (PHP_VERSION < 4) {
          $broken_navigation = $navigation;
          $navigation = new navigationHistory;
          $navigation->unserialize($broken_navigation);
        }
      } else {
        tep_session_register('navigation');
        $navigation = new navigationHistory;
      }
    $navigation->add_current_page();
    and replace with this:
    Code:
    // navigation history
    if (tep_session_is_registered('navigation')) {
       if (PHP_VERSION < 4) {
         $broken_navigation = $navigation;
         $navigation = new navigationHistory;
         $navigation->unserialize($broken_navigation);
       } elseif (!is_object($navigation)) {
         $navigation = new navigationHistory;
       }
    } else {
       tep_session_register('navigation');
       $navigation = new navigationHistory;
    }
    $navigation->add_current_page();

    cheers

Similar Threads

  1. MileStone 2a update for osCMax RC3!
    By jpf in forum osCmax v2 Customization/Mods
    Replies: 18
    Last Post: 01-21-2009, 11:54 AM
  2. oscmax 2 rc3 installed, almost..
    By LinuxChick in forum osCommerce 2.2 Installation Help
    Replies: 5
    Last Post: 05-09-2008, 07:26 AM
  3. 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
  4. osCMax 2.0 RC3 upgrade
    By jpf in forum Announcements
    Replies: 1
    Last Post: 12-15-2006, 06:16 PM
  5. is there an update package to rc3
    By ronfedele in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 08-24-2006, 06:19 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
  •