#5 problem with php 5.4.x (main page not loading)

open
Sven Ginka
None
9
2013-04-14
2012-08-17
Anonymous
No

Hi, because of some removed function in php 5.4 the main page is not visible anymore.

error.log:
2012-08-17 13:48:03: (mod_fastcgi.c.2676) FastCGI-stderr: PHP Fatal error: Call to undefined function import_request_variables() in /var/www/phpmpreloaded/index.php on line 21

see:
http://de2.php.net/manual/de/function.import-request-variables.php

regards

Discussion

  • bergerf
    bergerf
    2012-09-07

    replace line 21:
    import_request_variables ( 'gp', 'url_' );

    with

    extract($_REQUEST, EXTR_PREFIX_ALL|EXTR_REFS, 'url');

     
  • Sven Ginka
    Sven Ginka
    2013-04-14

    • assigned_to: nobody --> tswaehn
    • priority: 5 --> 9