We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16086
    • 2 Posts
    Сервер linux, работа с DOMx под Ubuntu 9.

    Проблема такая:

    при вставке картинки на страницу
    при нажатии в строке "адрес"на кнопку "просмотр" выскакивает сообщение об ошибке:

    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/volume1/webassets/plugins/seturl_js_tinymce.inc) is not within the allowed path(s): (/volume1/web:/volume2/web:/volume3/web:/volume4/web:/volume5/web:/volume1/photo:/volume2/photo:/volume3/photo:/volume4/photo:/volume5/photo:/usr/syno/synoman:/etc:/var/run:/tmp:/var/spool/php:/volume1/@tmp/php:/var/services/web:/var/services/photo:/var/services/blog) in /volume1/web/manager/media/browser/mcpuk/browser.php on line 17

    Вопрос: что надо и где исправить?

    В файле browser.php в строке 17 такая запись:

    if(file_exists($seturl_js_path . $seturl_js_filename))
    {
    $result = file_get_contents($seturl_js_path . $seturl_js_filename);
      • 16086
      • 2 Posts
      прошу прощения, я в первом сообщении написал DOMx, следует понимать, конечно, MODx!!
      undecided