Support » Plugin: Shortcodes Ultimate » Warning: file_exists(): open_basedir restriction in effect.

  • yard

    (@yard)


    Hello,

    some is wrong in your plugin, because I was obtain error messages, when try ing use it and make gallery pages.

    Issue is in wrong path, please look at this at:
    http://new.swisspearl.sk/gallery-test-3/

    Warning: file_exists(): open_basedir restriction in effect. File(/var/www/html/wp-content/uploads/7043_azurite-132×200.jpg) is not within the allowed path(s): (/data/clients/nic/swisspearl.sk:/tmp:/var/tmp:.) in /data/clients/nic/swisspearl.sk/new/wp-content/plugins/shortcodes-ultimate/inc/core/tools.php on line 306

    Warning: is_file(): open_basedir restriction in effect. File(/var/www/html/wp-content/uploads/7043_azurite.jpg) is not within the allowed path(s): (/data/clients/nic/swisspearl.sk:/tmp:/var/tmp:.) in /data/clients/nic/swisspearl.sk/new/wp-includes/class-wp-image-editor-gd.php on line 96

    https://wordpress.org/plugins/shortcodes-ultimate/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Ketsuka

    (@ketsuka)

    Hi,

    I’ve the same problem.

    tistrega

    (@tistrega)

    Hi,
    …same problem.

    tistrega

    (@tistrega)

    Resolved!

    I had this error message

    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/var/www/html/wp-content/uploads/2015/09/presentazione-4-302x260.jpg) is not within the allowed path(s): (/membri:/membri2) in /membri/my-site/wp-content/plugins/shortcodes-ultimate/inc/core/tools.php on line 306

    and this

    Warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/var/www/html/wp-content/uploads/2015/09/presentazione-4.jpg) is not within the allowed path(s): (/membri:/membri2) in /membri/my-site/wp-includes/class-wp-image-editor-gd.php on line 96

    I add this

    $_SERVER['DOCUMENT_ROOT'] = '/membri/my-site';

    in file wp-content/plugins/shortcodes-ultimate/inc/core/tools.php (right after <?php )

    Ketsuka

    (@ketsuka)

    Hi,

    It works! Thank you realy !

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Warning: file_exists(): open_basedir restriction in effect.’ is closed to new replies.