ubercart文件下载设置问题
您好,我正在使用 drupal 6.x 和 ubercart 2.x。我尝试创建一个产品,但是当涉及到添加文件下载功能时,我遇到了一些问题。我在 drupal 文件夹中放入了一个名为 downloads 的文件夹,并在 download 文件夹中放入了一个文件。然后我将路径指定为“drupal/downloads,但它表明 drupal/downloads 不是有效的文件或目录”
我绑定了以下文件路径也是
1.www.mysite.com/drupal/downloads/faq.ods
2.drupal/downloads/faq.ods
3.drupal/faq.ods(将 faq.ods 放入 drupal 文件夹后。
但我仍然得到相同的结果请一些人帮助我。
Hi I am using drupal 6.x and ubercart 2.x. I trie dto create a product,but when it comes to add the file download feature I am getting some issue. I put a folder called downloads in the drupal folder and one file inside the download folder.then I gave the path as "drupal/downloads but it is telling that drupal/downloads is not a valid file or directory"
I tied the following file paths too
1.www.mysite.com/drupal/downloads/faq.ods
2.drupal/downloads/faq.ods
3.drupal/faq.ods(after putting faq.ods in the drupal folder.
But still I am getting the same message. Plesae some body help me
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它正在寻找路径而不是 URL。您可能应该从您的托管公司那里找出您的 webroot 的绝对路径是什么(例如 www.mysite.com 实际上可能在磁盘上为
/users/mysite.com/httpdocs
)并输入其后是/drupal/downloads
It is looking for a path rather than a URL. You should probably aim to find out from your hosting company what the absolute path for your webroot is (e.g. www.mysite.com may actually be on disk as
/users/mysite.com/httpdocs
) and put in that followed by/drupal/downloads