在 Strato.de 上安装 joomla

发布于 2024-11-29 04:44:42 字数 803 浏览 3 评论 0原文

我正在创建一个基于 Joomla! 的网站给我的德国朋友,他在 Strato.de 上有主机 我在此主机上安装 Joomla 时遇到了很多问题。在他们的服务器上上传 Joomla 1.5.23 文件并尝试安装 Joomla 后,我收到一个错误:

Warning: file_put_contents(.../configuration.php) [function.file-put-contents]:
failed to open stream:
Permission denied in /.../installation/installer/models/model.php on line 850

此后,我手动创建了 configuration.php 并用数据库数据(密码等)填充了它。

Joomla 似乎已安装,但是当我尝试安装任何扩展时,我无法执行此操作,因为它只显示如下错误:

Cound not create directory
Component install: failed to create directory

当然我尝试将目录权限更改为 777 但它没有帮助,总是同样的问题并且无法安装任何组件。 php 信息显示它是服务器上的 SunOs,我认为文件所有者有问题。

我还尝试通过 Strato 自己的安装程序安装 Joomla,但它给出了相同的错误。 我联系了 Strato de 帮助办公室,但他们的回答是“我们不为任何第三方 CMS 提供任何技术/脚本支持”。

有人可以帮我吗? 有人在此主机上成功安装 Joomla 和组件吗?

我将不胜感激任何帮助。

I am creating a website based on Joomla! for my german friend who has a hosting in strato.de
I encountered many problems with installing Joomla on this hosting. After uploading Joomla 1.5.23 files on their server and trying to install Joomla, I got anerror:

Warning: file_put_contents(.../configuration.php) [function.file-put-contents]:
failed to open stream:
Permission denied in /.../installation/installer/models/model.php on line 850

After this, I created manually configuration.php and filled it with database data (passwords etc).

Joomla seemed to be installed, but when I tried to install any extension, I can't do it since it shows only errors like:

Cound not create directory
Component install: failed to create directory

Of course I tried to change directory permissions to 777 but it didn't help, always the same problem and no availability to install any component. The php info shows it's a SunOs on the server and i think something is wrong with owner of the files.

I also tried to install Joomla via strato own installator, but it gives the same errors.
I contacted strato de help office, but they answer was "we do not offer any technical / scripting support for either of the 3rd party CMS's".

Could someone help me please with that?
Has anyone succeed with installing Joomla and components on this hosting?

I would appreciate any help.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

花桑 2024-12-06 04:44:42

首先,你永远不应该将任何权限设置为 777,这是一个很大的安全风险。

接下来,很可能服务器配置不正确,无法正常运行 Joomla。当 PHP 以 CGI 模式运行时,Joomla 的工作效果比作为 Apache 模块运行时要好得多。您所在的服务器很可能将 PHP 作为 Apache 模块运行,这会导致很多问题。

通过打开 FTP 层可以解决很多问题,但首先需要检查一些事情 -

  1. 确保根目录中存在 log 和 tmp 目录。
  2. 通过登录管理员然后“帮助”>“检查目录权限”系统信息>目录权限(您还应该在此处看到 tmp 和 log 目录)。文件应为 644,目录应为 755。
  3. 通过转至“站点”>“打开 FTP 层”。全局配置>服务器> FTP 设置

如果仍然出现错误,我建议您转到更好的托管公司。 Rochen Host 在英国设有数据中心,负责处理所有 Joomla 官方网站。我用它们,它们很棒。一切正常,没有任何问题。

First, you should never set the permissions to anything to 777, that's a big security risk.

Next, chances are that the server is not configured properly to run Joomla without any problems. Joomla works a lot better when PHP is run in CGI mode rather than when it is run as an Apache module. Most likely the server you are on is running PHP as an Apache module, which causes a lot of issues.

You can get around a lot of the issues by turning on the FTP layer, but there are some things to check first -

  1. Make sure that both the log and tmp directories exist in the root.
  2. Check the directory permissions by logging in to the admin then Help > System Info > Directory Permissions (you should see the tmp and log directories here as well). Files should be 644, directories should be 755.
  3. Turn on the FTP layer by going to Site > Global Configuration > Server > FTP Settings

If it still gives you errors, I would suggest moving to a better hosting company. Rochen Host has a data center in the UK and they handle all of the official Joomla websites. I use them and they are great. Everything works without any issues.

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