Hi Guys

Please explain the difference between
<?php_track_vars?> and <?track_vars?>

I was using the <?php_track_vars?> until today but now I get the following error message.

Warning: is no longer supported - please use the track_vars INI directive
instead in /home/favorite/public_html/formmail/main/index.php3 on line 1

If you know why this error message has only just appeared please help

Many thanks

Justin

    remove <? php_track_vars ?> from your code
    and put track_vars = On in your php.ini

    JBL

      It looks like your server has upgraded to PHP4 - where the <?php_track_vars?> directive has been depreciated.

      With any luck your host has set track_vars = 1 in their php.ini file. If not, then you're stuck AFAIK. Which is the annoying thing about the depreciation of <?php_track_vars?>

      If your host HAS set track_vars = 0 (which I think you can tell with phpinfo()😉 then you just need to remove the <?php_track_vars?> directives from the top of your scripts and they should work okay.

      You might want to test them again, just to make sure they work under PHP4. I had to make some minor mods.. but most of that was due to my host neglecting to include the calander functions in their PHP4 install.. which was a pain because I was using them.

      /Mike

        sorry.. that should have read:

        "If your host HAS set track_vars = 1 (which ..."

        :-)

        /Mike

          Hi

          We encountered the same problem yesterday and have been trying to work out the solution with our not so helpful web hosts.

          They said..."As we run linux on our servers there is no php.ini file" someone on the forum said the file should exist and when I ran the phpinfo() command it gives a location for the file.

          However...I have deleted the track_vars line and the error page is still triggered. The error.htm displays ok but with no error message.

          How do I find out what's wrong now??

            Write a Reply...