Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 30

Testers needed for register_globals/register_long_arrays=off

This is a discussion on Testers needed for register_globals/register_long_arrays=off within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; Hi All, I found several problems in the original port. Most notably: Sessions still did not behave correctly. oscMax expected ...

      
  1. #11
    New Member
    Join Date
    Mar 2007
    Location
    Portland
    Posts
    17
    Rep Power
    0


    Default Re: Testers needed for register_globals/register_long_arrays=off

    Hi All,

    I found several problems in the original port. Most notably:
    1. Sessions still did not behave correctly.
    2. oscMax expected more info to be in the environment than exists under PHP-5.
    So I fixed the session issues and added a psuedo function that resides in application_top.php called TBgetenv(). This tries to pick out the environmental value from other system arrays before making a final call to getenv(). I then did a global search/replace of 'getenv' with 'TBgetenv'.

    I believe the application is functioning correctly. I still have some issues with it myself, but don't believe they are related to the port to PHP-5 and register_globals/register_long_arrays.

    A new zip file is located at: http://www.ez-order-manager.com/osc/..._arrays_v2.zip

  2. #12
    Member
    Join Date
    Jan 2007
    Posts
    63
    Rep Power
    6


    Default Re: Testers needed for register_globals/register_long_arrays=off

    Hi,

    Having an absolute nightmare trying to install Osmax on a client's web server which has register globals disabled and the host won't enable it and changing host's isn't an option.

    I've tried the oscommerce register globals contribution which didn't work at all (through up loads of errors when i tried to view the front and backend), also tried changing the htaccess file and creating a php.ini file without any joy.

    I've just tried this contribution but this doesn't appear to work either, uploaded all the files and successfully went through the setup procedure then when i go to veiw the front end it looks a right mess - osCMax v2.0 : Welcome to MakeUpMirrors4U!, doesn't look like the stylesheet file is linked properly, obviously this isn't a problem though as i won't be using the stock template. I can't access the admin area though which is a problem, i just get this error - osCMax v2.0.

    Can anybody help me as i'm seriously running out of options.

    Thanks,

    James

  3. #13
    osCMax Developer

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


    Default Re: Testers needed for register_globals/register_long_arrays=off

    James, I have not tried it myself, but this looks like it is worth a try :
    osCommerce SEO - Running osCommerce with Register Globals Off - Magic SEO URL - Search Engine Optimization

    Let us know how it works for you.
    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

  4. #14
    Active Member MindTwist's Avatar
    Join Date
    Jun 2007
    Location
    Barcelona, Spain
    Posts
    408
    Rep Power
    7


    Default Re: Testers needed for register_globals/register_long_arrays=off

    Quote Originally Posted by jmdesign View Post
    I can't access the admin area though which is a problem, i just get this error - osCMax v2.0.

    Quite weird, but the first time I accessed that link, I did get the normal OSCMAX admin login screen.
    Closed the tab, tried again, and now I get the following error:

    Warning: require(includes/languages/0.php) [function.require]: failed to open stream: No such file or directory in /home/fhlinux168/t/thetailorscat.co.uk/user/htdocs/shop/admin/includes/application_top.php on line 210

    Warning: require(includes/languages/0.php) [function.require]: failed to open stream: No such file or directory in /home/fhlinux168/t/thetailorscat.co.uk/user/htdocs/shop/admin/includes/application_top.php on line 210

    Fatal error: require() [function.require]: Failed opening required 'includes/languages/0.php' (include_path='.:/usr/share/pear-php5') in /home/fhlinux168/t/thetailorscat.co.uk/user/htdocs/shop/admin/includes/application_top.php on line 210
    That was with Firefox. So I tried with Explorer, and the same thing happened... The first time, the login screen showed ok, I did a reload, and the error showed up

  5. #15
    Member
    Join Date
    Jan 2007
    Posts
    63
    Rep Power
    6


    Default Re: Testers needed for register_globals/register_long_arrays=off

    Hi Guys,

    Thanks for the help/advice.

    I've followed the instructions on the link you posted up Mike and it's definately an improvement on the other methods i've tried although it's still not working completely correctly.

    I've got an error on the admin login page and the default login details don't appear to work either

    Any ideas what the problem could be? The code around line 130 is some of additional code i added from that solution:

    PHP Code:
    // Register Globals MOD - http://www.magic-seo-url.com
      
    if (!ini_get("register_globals")) {
        if (
    version_compare(phpversion(), "4.1.0""<") === true) {
          if (isset(
    $HTTP_SESSION_VARS)) $_SESSION &= $HTTP_SESSION_VARS;
        }
        
    extract($_SESSIONEXTR_SKIP);
      } 
    Thanks,

    James

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


    Default Re: Testers needed for register_globals/register_long_arrays=off

    I have loaded the one michael referenced above from magic seo and all works but the saved cart. Any ideas?

  7. #17
    Lurker
    Join Date
    Feb 2008
    Posts
    3
    Rep Power
    0


    Default Re: Testers needed for register_globals/register_long_arrays=off

    "Hi , i have tried this installation and basically i have several problem running my shop. Below is the list, anybody please i really need your help

    1. after install i have problem with buy now button, giving me some SQL error
    Later i fix it using some guide in this forum which modify my application
    top file.
    2. Then i figure out that whenever i add to cart some product the cart
    empty.
    3. On top of that add to wishlist also end up empty.

    at the momment these are my problem i really don't know how to move on from here. Some help really needed here.

    Thanks"

    I have the same problem, i found plenty of errors regarding sessions and de cart empty, need help too!!!

    Thanxz

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


    Default Re: Testers needed for register_globals/register_long_arrays=off

    Quote Originally Posted by jmdesign View Post
    Hi Guys,

    Thanks for the help/advice.

    I've followed the instructions on the link you posted up Mike and it's definately an improvement on the other methods i've tried although it's still not working completely correctly.

    I've got an error on the admin login page and the default login details don't appear to work either

    Any ideas what the problem could be? The code around line 130 is some of additional code i added from that solution:

    PHP Code:
    // Register Globals MOD - http://www.magic-seo-url.com
      
    if (!ini_get("register_globals")) {
        if (
    version_compare(phpversion(), "4.1.0""<") === true) {
          if (isset(
    $HTTP_SESSION_VARS)) $_SESSION &= $HTTP_SESSION_VARS;
        }
        
    extract($_SESSIONEXTR_SKIP);
      } 
    Thanks,

    James
    I had problems as well but changed just one section of code in the link Michael put up for magic seo urls and so far in testing no problems with anything. (fingers crossed) I will attach the read me with the only change being in the catalog/includes/functions/sessions.php no guarantees so back up. We are talking about 2 different fixes in this thread this is for the on Michael put a link to. Maybe we should move this to php5 question+oscmax rc3
    Attached Files Attached Files

  9. #19
    Lurker
    Join Date
    Jun 2008
    Posts
    1
    Rep Power
    0


    Thumbs up Re: Testers needed for register_globals/register_long_arrays=off

    It's done for me and run with no problems.

    Tks a lot !

  10. #20
    Lurker
    Join Date
    Jul 2008
    Posts
    1
    Rep Power
    0


    Default Re: Testers needed for register_globals/register_long_arrays=off

    Hi,
    Nice effort! I did try this one out.
    Installation went smooth. When adding products to the cart, it doesn&#180;t get populated with products though.
    Just an empty cart.

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Install with register_long_arrays set to OFF
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 01-09-2007, 05:46 PM
  2. xShop Max : XP based admin for oscmax : Beta testers wanted!
    By michael_s in forum osCmax v1.7 Announcements
    Replies: 0
    Last Post: 08-27-2004, 09:31 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
  •