Menu

Problems with running on a windows server

Help
conor
2004-06-23
2012-10-11
  • conor

    conor - 2004-06-23

    hi,
    I cannot get the phpwiki 1.2.4 to run on my server. although It works fine locally.

    Access to global variables has been disabled on the server and i do not have permissions to change them.

    Is there anything i can do?

    i have installed it at http://www.forwind.net/phpwiki2/

    We ran a small test on the server using the below php script
    <?
    $port = ($_ENV[SERVER_PORT] == 80) ? '' : ":$_ENV[SERVER_PORT]";
    $test=  'http://' . $_ENV[SERVER_NAME] . $port . $_ENV[SCRIPT_NAME];
    echo '<a href='.$test.'?test>test</a>';

    if(isset($_REQUEST['test']))
    {
    echo "<br><br>works";
    }
    ?>

    which seemed to access the globals with  _ENV  in front of all the global names.

    does that mean i have to do this throughout the whole wiki folder!
    yeicks!

    anyone help .....

    Cj

     
    • Dan F

      Dan F - 2004-06-23

      I'm not sure about all your questions.

      However, I believe 1.2.4 requires "register_globals = On", and you might be saying it is Off and you can't change it.

      You might try the latest release, 1.3.10.

      Dan

       
    • conor

      conor - 2004-06-23

      >I believe 1.2.4 requires "register_globals = On", and you >might be saying it is Off and you can't change it.

      yeah that is the problem.

      should 1.3.10 resolve this.

       
      • Dan F

        Dan F - 2004-06-24

        1.3.10 does not require register_globals=On.

        Dan

         
    • conor

      conor - 2004-06-28

      Cheers Dan,

      Conor

       
    • Reini Urban

      Reini Urban - 2004-07-01

      you could also add
      import_request_variables("GP") at the very start of index.php and admin.php

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.