Php 在提供程序上键入3不工作,但在localmaschine上键入3

Php 在提供程序上键入3不工作,但在localmaschine上键入3,php,linux,apache,typo3,Php,Linux,Apache,Typo3,我用xampp在本地windows Machine上创建了一个TYPO3网站,它运行良好,没有任何错误。然后我去了一家网络主机提供商那里,租用了域名和网络空间(实际上是虚拟服务器)。然后,我在数据库服务器上导入了我的sql转储,并通过ftp将web文件夹上载到服务器。我在typoscript中调整了LocalConfiguration.php和config.baseURL,但当我在浏览器中调用域时,它会说: `Template could not be loaded. I tried "/is/

我用xampp在本地windows Machine上创建了一个TYPO3网站,它运行良好,没有任何错误。然后我去了一家网络主机提供商那里,租用了域名和网络空间(实际上是虚拟服务器)。然后,我在数据库服务器上导入了我的sql转储,并通过ftp将web文件夹上载到服务器。我在typoscript中调整了LocalConfiguration.php和config.baseURL,但当我在浏览器中调用域时,它会说:

`Template could not be loaded. I tried "/is/htdocs/###domain####/www/typo3conf/ext/template/Resources/Private/Templates/Page/Render.html" `无法加载模板。我试过“/is/htdocs/###########/www/typo3conf/ext/template/Resources/Private/Templates/Page/Render.html” 我正在使用以下扩展:

-builder -fluidcontent -fluidpages -flux -news -powermail -realurl -template -vhs -建筑商 -流体含量 -水流图 -通量 -新闻 -电子邮件 -realurl -模板 -vhs

可以使用调用安装工具 http://domain/typo3/install 在安装工具,我得到错误消息,如上点击链接“前端网站”。单击“后端管理”显示服务器错误:

Servererror There is an error at website by calling http://domain/typo3/index.php. Possibly maintenance or bad configuration. system environment 服务器错误 通过调用在网站上出现错误http://domain/typo3/index.php. 可能是维护或不良配置。 在安装工具系统环境下,所有显示均为绿色。 system environment 在 文件夹结构有三个错误:

第一(红色):

/typo3_src应该是链接,但它不存在 此系统无法修复链接 第二(黄色):

Path/index.php不是链接 target/index.php应该是链接,但类型为file。这无法自动修复。请调查。 第三(黄色):

路径/类型3不是链接 目标/typo3应该是链接,但类型为dir。这无法自动修复。请调查。 我问过提供商,他们说一切都很好,这一定是脚本上的错误(本例中为typo3)。我真的很失望,因为我不知道如何纠正这个错误。如果有人知道如何运行,那就太好了








编辑:这在日志文件中说:

PHP Fatal error: TYPO3\\CMS\\Core\\Core\\ClassLoader::loadClass() [[a href='function.require']function.require[/a]]: Failed opening required 'C:/xampp/htdocs/*****+++++++++++++++*****/typo3/typo3conf/ext/flux/Classes/Core.php' (include_path='/is/htdocs/####/www/typo3/contrib/pear/:.:/usr/share/pear/php5.3') in /is/htdocs/####/www/typo3/sysext/core/Classes/Core/ClassLoader.php on line 197 PHP致命错误:TYPO3\\CMS\\Core\\Core\\ClassLoader::loadClass()[[a href='function.require']function.require[/a]]:无法打开所需的'C:/xampp/htdocs/******++++++++++++++++++++++++++++++++++++++++++***/TYPO3/typo3conf/ext/flux/Classes/Core.PHP'(include_path='/is/htdocs/#在第197行的/is/htdocs/#######/www/typo3/sysext/core/Classes/core/ClassLoader.php中
有趣的是,上面路径中的******++++++++++++++++++++****是我的本地web文件夹的名称。当LocalConfiguration.php被调整时,它来自哪里?我已经清除了安装工具中的所有缓存。似乎有一些缓存文件未清除。但是如何解决这个问题呢?

您的提供商是正确的,文件系统检查中的错误可以忽略。模板路径看起来不正确,请仔细检查模板路径是否正确。如前所述,此路径看起来错误:
/../htdocs/../www/typo3conf/ext/template/Resources/Private/Templates/Page/Render.html
-它以
/../code>开头,因此它尝试从文件系统根目录向上移动,这是错误的。您将模板路径设置为什么?感谢您的关注
plugin.tx_template.view{templaterootpath.default=EXT:template/Resources/Private/Templates/partialrootpath.default=EXT:template/Resources/Private/Partials/layoutootpath.default=EXT:template/Resources/Private/Layouts/}
作为常量添加到另一个.ts
plugin.tx_模板{view{templaterootpath.0={$plugin.tx_模板.view.templaterootpath.default}partialrootpath.0={$plugin.tx_模板.view.partialrootpath.default}layoutrootpath.0={$plugin.tx模板.view.layoutrootpath.default}}
您说过
***++++++++++++++++++++++******
是本地Web空间上的路径。我建议清除
typo3temp/*
目录。PS:TYPO3的缓存机制在某些情况下可能非常烦人。 Path /index.php is not a link The target /index.php should be a link, but is of type file. This cannot be fixed automatically. Please investigate. Path /typo3 is not a link The target /typo3 should be a link, but is of type dir. This cannot be fixed automatically. Please investigate. PHP Fatal error: TYPO3\\CMS\\Core\\Core\\ClassLoader::loadClass() [[a href='function.require']function.require[/a]]: Failed opening required 'C:/xampp/htdocs/*****+++++++++++++++*****/typo3/typo3conf/ext/flux/Classes/Core.php' (include_path='/is/htdocs/####/www/typo3/contrib/pear/:.:/usr/share/pear/php5.3') in /is/htdocs/####/www/typo3/sysext/core/Classes/Core/ClassLoader.php on line 197