Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#4247 (ok 4.1.6) open_basedir warnings on export page

4.1.5
fixed
Marc Delisle
None
1
2014-07-28
2014-01-24
azurIt
No

When exporting database, these warninigs are shown on export page:

Warning in ./libraries/tcpdf/tcpdf_autoconfig.php#96
file_exists(): open_basedir restriction in effect. File(/usr/share/doc/php-tcpdf/examples/images/) is not within the allowed path(s): (/usr/share/phpmyadmin/:/tmp/:/usr/share/php/:/proc/stat:/proc/meminfo:/var/tmp/)

Warning in ./libraries/tcpdf/tcpdf_autoconfig.php#96
file_exists(): open_basedir restriction in effect. File(/usr/share/doc/tcpdf/examples/images/) is not within the allowed path(s): (/usr/share/phpmyadmin/:/tmp/:/usr/share/php/:/proc/stat:/proc/meminfo:/var/tmp/)

Warning in ./libraries/tcpdf/tcpdf_autoconfig.php#96
file_exists(): open_basedir restriction in effect. File(/usr/share/doc/tcpdf/examples/images/) is not within the allowed path(s): (/usr/share/phpmyadmin/:/tmp/:/usr/share/php/:/proc/stat:/proc/meminfo:/var/tmp/)

Warning in ./libraries/tcpdf/tcpdf_autoconfig.php#96
file_exists(): open_basedir restriction in effect. File(/usr/share/doc/tcpdf/examples/images/) is not within the allowed path(s): (/usr/share/phpmyadmin/:/tmp/:/usr/share/php/:/proc/stat:/proc/meminfo:/var/tmp/)

Warning in ./libraries/tcpdf/tcpdf_autoconfig.php#96
file_exists(): open_basedir restriction in effect. File(/var/www/html/tcpdf/images/) is not within the allowed path(s): (/usr/share/phpmyadmin/:/tmp/:/usr/share/php/:/proc/stat:/proc/meminfo:/var/tmp/)

Warning in ./libraries/tcpdf/tcpdf_autoconfig.php#96
file_exists(): open_basedir restriction in effect. File(/usr/local/apache2/htdocs/tcpdf/images/) is not within the allowed path(s): (/usr/share/phpmyadmin/:/tmp/:/usr/share/php/:/proc/stat:/proc/meminfo:/var/tmp/)

I know that i can 'fix' them by allowing that directories in open_basedir but why should i when phpmyadmin doesn't need them?

Discussion

  • Marc Delisle
    Marc Delisle
    2014-01-24

    • assigned_to: Marc Delisle
     
  • Marc Delisle
    Marc Delisle
    2014-01-24

    azurit,
    please confirm that by adding this line after the last "define" of libraries/vendor_config.php, the warnings are gone:

    define('K_PATH_IMAGES', '');

     
  • azurIt
    azurIt
    2014-01-24

    warnings are gone, looks like a proper fix :) thank you!

     
  • Marc Delisle
    Marc Delisle
    2014-01-24

    • summary: open basedir warnings on export page --> (ok 4.1.6) open_basedir warnings on export page
    • status: open --> resolved
    • Priority: 5 --> 1
     
  • Marc Delisle
    Marc Delisle
    2014-01-26

    • Status: resolved --> fixed