Menu

#2797 (ok 3.1.0-rc2) fclose() error with Create PHP code

Latest_Git
fixed
1
2013-06-11
2008-11-19
No

Warning in ./import.php#354
fclose(): supplied argument is not a valid stream resource
Backtrace ./import.php#354: fclose(NULL)

howto reproduce on the Demo-server:
Browse any table, click on: [ Create PHP Code ]

(that code only tests on FALSE, not NULL)

Discussion

  • Marc Delisle

    Marc Delisle - 2008-11-21
    • assigned_to: nobody --> lem9
     
  • Marc Delisle

    Marc Delisle - 2008-11-21

    Fixed in subversion, thanks for reporting.

     
  • Marc Delisle

    Marc Delisle - 2008-11-21
    • priority: 5 --> 1
    • summary: fclose(NULL): supplied argument is not valid --> (ok 3.1.0-rc2) fclose() error with Create PHP code
    • status: open --> open-fixed
     
  • Marc Delisle

    Marc Delisle - 2008-11-28
    • status: open-fixed --> closed-fixed
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-fixed --> fixed