2011-02-01 22:59 阅读 48

使用Swift Mailer我收到此错误?

Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (VIRTUAL_DOCUMENT_ROOT) in /www/zxq.net/g/t/a/gtag/htdocs/lib/preferences.php on line 15 blarg!

This is what is on Line 15 of preferences.php: if (function_exists('sys_get_temp_dir') && is_writable(sys_get_temp_dir()))

Any clue what this means? Thanks

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

1条回答 默认 最新

  • 已采纳
    doujiang1001 doujiang1001 2011-02-01 23:03

    SiftMailer wants to write a file to the system's temporary directory, which is /tmp.

    Your host has restricted you from being able to write files outside certain directories. You're not allowed to write a file to /tmp.

    This warning has informed you of these facts. It means what it says!

    点赞 评论 复制链接分享