ubercart文件下载设置问题

发布于 2024-08-20 02:40:56 字数 385 浏览 4 评论 0原文

您好,我正在使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

ι不睡觉的鱼゛ 2024-08-27 02:40:56

它正在寻找路径而不是 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文