Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Does it or does it not work with php 5?

This is a discussion on Does it or does it not work with php 5? within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; i just noticed i have the same problem where if i click edit itll revert back to the original attribute ...

      
  1. #11
    osCMax Testing Team
    Join Date
    Jun 2004
    Posts
    244
    Rep Power
    0


    Default Re: Does it or does it not work with php 5?

    i just noticed i have the same problem where if i click edit itll revert back to the original attribute manager and doesnt do anything, i changed the files and it still doesnt do anything, i actually have 2 other sites hosted on this server so it seems to be working but maybe so can give me an idea why it might be causing this?

  2. #12
    Member
    Join Date
    Mar 2008
    Posts
    34
    Rep Power
    0


    Default Re: Does it or does it not work with php 5?

    Hi,
    Actually, the bug tracker is not exactly right either, at least that was my experience. I cannot remember exactly what I did to get it working...I'll try to take a look tomorrow...can you tell me what where the affected files again so I can lookup what I did faster?

    J

  3. #13
    osCMax Testing Team
    Join Date
    Jun 2004
    Posts
    244
    Rep Power
    0


    Default Re: Does it or does it not work with php 5?

    i think the files where

    new_attributes_include.php
    new_attributes_select.php
    new_attributes.php

  4. #14
    Member
    Join Date
    Mar 2008
    Posts
    34
    Rep Power
    0


    Default Re: Does it or does it not work with php 5?

    Hi,
    I don't know why this worked for me honestly, but all I know is that it did. If anyone wants to give an explanation, that would be great. Files not mentioned are unchanged. I did this instead of what the bug tracker mentioned:

    //new_attributes_include.php
    //old code B
    <TR>
    <TD class="pageHeading" colspan="3"><?php $pageTitle ?></TD>
    </TR>

    <FORM ACTION="<?php $PHP_SELF?>" METHOD="POST" NAME="SUBMIT_ATTRIBUTES">
    <INPUT TYPE="HIDDEN" NAME="current_product_id" VALUE="<?php $current_product_id?>">
    <INPUT TYPE="HIDDEN" NAME="action" VALUE="change">

    <?php


    ///End old code

    //
    //new code B

    <TR>
    <TD class="pageHeading" colspan="3"><?php $pageTitle ?></TD>
    </TR>

    <FORM ACTION="<? $PHP_SELF?>" METHOD="POST" NAME="SUBMIT_ATTRIBUTES">
    <INPUT TYPE="HIDDEN" NAME="current_product_id" VALUE="<?php $current_product_id?>">
    <INPUT TYPE="HIDDEN" NAME="action" VALUE="change">

    <?php
    //new code End

    ///new_attributes_select.php
    ///old code B
    <TR>
    <TD class="pageHeading" colspan="3"><?php $pageTitle ?></TD>
    </TR>
    <FORM ACTION="<?php $PHP_SELF; ?>" NAME="SELECT_PRODUCT" METHOD="POST">
    <INPUT TYPE="HIDDEN" NAME="action" VALUE="select">

    //old code End

    //new code B
    <TR>
    <TD class="pageHeading" colspan="3"><?php $pageTitle ?></TD>
    </TR>
    <FORM ACTION="<? $PHP_SELF; ?>" NAME="SELECT_PRODUCT" METHOD="POST">
    <INPUT TYPE="HIDDEN" NAME="action" VALUE="select">

    //new code End

  5. #15
    osCMax Testing Team
    Join Date
    Jun 2004
    Posts
    244
    Rep Power
    0


    Default Re: Does it or does it not work with php 5?

    weird i tried those changes and it still didnt work, must be some other files, theres 2 different versions of oscmax i was using so it might be that theyre different

    the 2 versions i was using was rc3 and then rc3 w/registers globals

  6. #16
    Member
    Join Date
    Mar 2008
    Posts
    34
    Rep Power
    0


    Default Re: Does it or does it not work with php 5?

    Ok, let's go though this again:
    Tell me exactly what you do and how it responds.

    Then tell me exactly what you have tried as far as modifications and which things did not work(on which files)...process of elimination


    J

  7. #17
    Member
    Join Date
    Jul 2006
    Location
    Highland Park, New Jersey
    Posts
    50
    Rep Power
    0


    Default Re: Does it or does it not work with php 5?

    Quote Originally Posted by michael_s View Post
    It works on php5/mysql5
    Hi. I have a somewhat older version of oscmax, that I've made tons of changes to.
    I think it is osCMax v2.0 (May 2005) (it contains a readme with that info).

    I need to upgrade to use php5 in the very near future (my server currently has both php4 and php5, but php4 will go away sometime soon).
    Is this version of osCMax compatible with php5 also?

    Any suggestions/pointers on what changes I might need to make to get it compatible if it is not?
    You mentioned that there were stickies on such things, but I couldn't find them.

    Would you suggest I attempt to upgrade to a more current version of oscmax? I've made so many changes that I couldn't just overwrite files--it would be best if I could follow some sort of change log or upgrade instructions.
    I'd rather not upgrade if it is not necessary, but if it is, I'd like to make it as simple as possible.

    Thanks in advance for any advice on this!

    -Lori-

  8. #18
    Lurker
    Join Date
    Feb 2005
    Posts
    1
    Rep Power
    0


    Default Re: Does it or does it not work with php 5?

    Hello all! (my first post here..) // found out that our version is: "MS2-MAX" osCommerce 2.2-MS2.

    I´ve just recieved a mail from our ISP where they mention about a soon-to-be upgrade from "Apache 1.3, PHP 4"

    to

    Apache 2.2, PHP 5

    As i understand from this thread, that wont be any problem? But i Guess I´ll have to read a bit about what "globals" and "stickies" are.. will do that..

    If anyone have some good link to an easy-to-understand-fix, (if at all needed..)it would be appriciated, but feel I should look around a bit more before asking..

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


    Default Re: Does it or does it not work with php 5?

    Quote Originally Posted by rickard1127@hotmail.com View Post
    Hello all! (my first post here..) // found out that our version is: "MS2-MAX" osCommerce 2.2-MS2.

    I´ve just recieved a mail from our ISP where they mention about a soon-to-be upgrade from "Apache 1.3, PHP 4"

    to

    Apache 2.2, PHP 5

    As i understand from this thread, that wont be any problem? But i Guess I´ll have to read a bit about what "globals" and "stickies" are.. will do that..

    If anyone have some good link to an easy-to-understand-fix, (if at all needed..)it would be appriciated, but feel I should look around a bit more before asking..
    You have an older version 1.5 or 1.7 which is no longer supported. There is several changes to the 2.0 code base and to the database as well.

    There are other option like setting in .htaccess the register_globals=on or in PHP.INI if you have access to....
    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!

Page 2 of 2 FirstFirst 12

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, 02:06 AM
  2. index.php links - some work, some don't
    By rmv in forum osCommerce 2.2 Installation Help
    Replies: 0
    Last Post: 04-05-2007, 01:25 PM
  3. How does the new BTS work?
    By redink in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 07-17-2005, 11:47 AM
  4. Webserver Upgraded to PHP v4.3.10 and TEP_MAIL won't work...
    By TECH-OPS.net in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 02-14-2005, 10:32 AM
  5. Can not get mail to work. Please help??
    By mfox in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 09-27-2003, 06:11 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
  •