查看完整版本: 已解决 很多问题上 vbulletin 5 安装
你好,我有一些问题在 vbulletin 5 上安装
我已上传文件,可以在后台设置我谷歌 api 密钥和所需的所有设置
当我试图导入产品 vbenterprisetranslator.xml 我得到了错误:
[报价]
导入产品,请稍候...
[:]
警告: require_once(...//vbenterprisetranslator_functions_admin.php): 未能打开流: 没有这样的文件或目录在.../includes/adminfunctions_product.php(881): eval () 将在第 2 行代码
致命错误: require_once (): 所需的失败的开幕 ' / home/forumsrv/public_html/core//vbenterprisetranslator_functions_admin.php' (include_path ='.: /usr/lib/php: / usr/局部/lib/php ') 在 /home/forumsrv/public_html/core/includes/adminfunctions_product.php(881): eval () 将在第 2 行代码
[基金]
[基金]
所以增加了这条线到我"+ core+includes+config.php"到宣布获得"[杂项] [admincpdir]"
[报价] [杂项] [admincpdir] $config = '后台';[基金]
vbulletin 5.1.9 并没有从默认的这条线。
此 xml 怎么能要求一个变量并不存在??
不管怎么说,以后安装它。我去 vbet 设置和添加我谷歌 api 密钥并设置所需的所有设置。
之后我编辑我的.htaccess,首先添加这一句台词 (做不上载 + 工具 + 重定向规则提供):
[报价]对 RewriteEngine
选项列出
重写规则 ^ /?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/archive/index.php/(.*)? $ archive/index.php?/$2 & 语言 = $1 [LQSA]
重写规则 ^ /?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi) / $ index.php?language=$1 [L,QSA]
重写规则 ^ /?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/(.*)? $ $2? 语言 = $1 [L,QSA]
[基金]
没有真正根本运作,任何语言标志选择了语言还是英语
然后在.htaccess 其余行补充说::
[报价]重写过程 %{QUERY_STRING}! 重定向 =
重写过程 %{QUERY_STRING}! 做 =
重写过程 %{并}!() admincp|modcp|clientscript|cpstyles|images|css|js|login|auth|ajax
重写规则 ^(.*) $ vbenterprisetranslator_front_controller.php?redirected=$1 [L,QSA] [/ 引用]
工作,当我点击语言标志它更改了论坛的语言,但是。未显示的图像附件和我不能登陆后台,
当我试图在后台登录我此错误:
[报价]未指定的输入的文件。[基金]
15/2/10 编辑:
请阅读此线程获得帮助在 vbulletin 5.1.9 上安装上的我最后一篇文章
Marcin Kalak
30-09-15, 08:10
嗨。
谢谢你 config.xml 有关的信息。以前的版本中包含一条线 $config [杂项] [admincpdir] = '后台';。我不知道为什么它被删除在最新版本的 vb。
您的.htaccess 应如下所示:
RewriteEngine On
Options FollowSymLinks
RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/archive/index.php/(.*)?$ archive/index.php?/$2&language=$1 [L,QSA]
RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/$ index.php?language=$1 [L,QSA]
RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/(.*)?$ $2?language=$1 [L,QSA]
<IfModule mod_rewrite.c>
RewriteEngine On
#In some cases where you have other mod_rewrite rules, you may need to comment out the following line
#and change it to match your folder name. This resets the other mod_rewrite rules for just this directory
#If your site was www.example.com/forum, the setting would be /forum/
#RewriteBase /
# Send css calls directly to the correct file VBV-7807
RewriteRule ^css.php$ core/css.php [NC,L]
# Redirect old install path to core.
RewriteRule ^install/ core/install/ [NC,L]
# Main Redirect
RewriteCond %{REQUEST_URI} !\.(gif|jpg|jpeg|png|css)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?routestring=$1 [L,QSA]
# Because admincp is an actual directory.
RewriteRule ^(admincp/)$ index.php?routestring=$1 [L,QSA]
</IfModule>
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE application/atom+xml \
text/javascript \
application/x-javascript \
application/javascript \
application/json \
application/rss+xml \
application/vnd.ms-fontobject \
application/x-font-ttf \
application/xhtml+xml \
application/xml \
font/opentype \
image/svg+xml \
image/x-icon \
text/css \
text/html \
text/plain \
text/x-component \
text/xml
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType application/x-javascript A1209600
ExpiresByType text/javascript A1209600
ExpiresByType application/javascript A1209600
ExpiresByType text/css A31536000
ExpiresByType image/x-icon A2592000
ExpiresByType image/icon A2592000
ExpiresByType application/x-ico A2592000
ExpiresByType application/ico A2592000
ExpiresByType image/gif A2592000
ExpiresByType image/jpeg A1209600
ExpiresByType image/jpg A1209600
ExpiresByType image/png A1209600
ExpiresByType application/x-shockwave-flash A1209600
ExpiresByType font/ttf A2592000
ExpiresByType font/otf A2592000
ExpiresByType font/x-woff A2592000
ExpiresByType image/svg+xml A2592000
ExpiresByType font/truetype A2592000
ExpiresByType font/opentype A2592000
ExpiresByType application/x-font-woff A2592000
ExpiresByType application/vnd.ms-fontobject A2592000
</IfModule>
<IfModule mod_headers.c>
Header set Connection keep-alive
<filesmatch "\.(ico|flv|gif|swf|eot|woff|otf|ttf|svg)$">
Header set Cache-Control "max-age=2592000, public"
</filesmatch>
<filesmatch "\.(jpg|jpeg|png)$">
Header set Cache-Control "max-age=1209600, public"
</filesmatch>
<filesmatch "\.(eot|woff|otf|ttf|svg)$">
Header set Cache-Control "max-age=2592000, public"
</filesmatch>
# css and js should use private for proxy caching https://developers.google.com/speed/docs/best-practices/caching#LeverageProxyCaching
<filesmatch "\.(css)$">
Header set Cache-Control "max-age=31536000, private"
</filesmatch>
<filesmatch "\.(js)$">
Header set Cache-Control "max-age=1209600, private"
</filesmatch>
</IfModule>
RewriteCond %{QUERY_STRING} !redirected=
RewriteCond %{QUERY_STRING} !do=
RewriteCond %{REQUEST_URI} !(admincp|modcp|clientscript|cpstyles|images|css|js|login|auth|ajax)
RewriteRule ^(.*)$ vbenterprisetranslator_front_controller.php?redirected=$1 [L,QSA]
请送我到 Admin CP 和 FTP 的 PM 访问详细信息。我想要检查您的设置。
当我把我不能在后台登录那 htaccess,它说,"没有输入的文件"
发送你下午与管理员密码
禁用 ftp 和我访问它通过交友
如果需要让我知道
Marcin Kalak
30-09-15, 15:30
若要禁用将语言代码添加到您的论坛附件:
将添加到后台-> vBET-> 翻译选项-> 忽略 Url:
/filedata/
/fetch
/image.php.
若要与后台修复问题,请尝试关闭在服务器中设置 FastCGI。
还有没有这样的选项在后台,fastcgi 是已经关闭
Marcin Kalak
30-09-15, 17:11
此选项应该是在后台-> vBET-> 翻译选项-> 忽略 Url。你确定你禁用 FastCGI?
我添加 url,添加 htaccess 你提供和得到白色字符无法登录到后台。我的服务器上没有甚至安装 fastcgi
Marcin Kalak
30-09-15, 19:51
你有 mod_rewrite 启用吗?在 phpinfo 写 FastCGI 启用。
是否启用了 CGI,不 FastCGI。即使未安装 FastCGi。phpinfor 说 cgi/fastcgi 因为它意味着一个或其他。
我尝试过使用 DSO,它将打开 cpanel 但生成错误信息在主页面: 警告: 不能修改标头信息-在.../includes/vbenterprisetranslator_functions.php 线 223 已经发送标头
而转向 dso 添加 htaccess 内容我还有白色字符 (默认英语语言) 论坛
我加上的 3 线忽略 url。
所以我又回到 CGI (不 FASTCGI) 和删除 htaccess 线,这样的论坛就可以工作。
不能理解这种情况,你有它可以工作或没有任何方式吗?你甚至尝到了它对 vbulletin 5.1.9 吗?我需要帮助,我已经为您提供 ftp 和后台凭据什么办得到它工作吗?
Marcin Kalak
01-10-15, 18:44
是的我们测试基于 vB 5.1.9 vBET。我怀疑这是服务器配置有问题。请尝试再次使用 DSO。如果完成的.htaccess 你会看到白页尝试禁用的翻译供应商在后台-> 后 vBET-> 翻译提供可用性。你有 mod_rewrite 启用吗?
只是 google 上翻译供应商从开始活跃。
mod_rewrite 的 apache 默认安装
从白色的字符,除了 dso 给了我的错误警告: 不能修改标头信息-在.../includes/vbenterprisetranslator_functions.php 线 223 已经发送标头
Marcin Kalak
02-10-15, 07:13
在我最后一篇文章后,你测试过你 DSO 吗?更正了一个小小的一个 vBET 文件,我想看看是否 DSO 会工作。此警告和白色的页面是已知的问题的解决方案车轮就应该更容易。
工作。
一个问题,我离开你寄给我的线应该忽略 url?
当还我选择语言编码需要设置为 unicode 的浏览器中显示正确的字符。有一种显示翻译的语言,而无需选择在浏览器上的编码方法吗?
Marcin Kalak
02-10-15, 11:31
不要删除忽略 URL。这将允许您的附件不会解析。如果你看到一张白纸你不更改服务器配置,白页通常意味着翻译提供者连接出现问题。
我已经看,测试的字符编码问题。
也翻译页面上不显示图像 attachemnts。请检查也
我已经改变了语言和短语 > 语言管理器 > 编辑设置和编辑"HTML 字符集"为"utf-8"和编码问题得到解决。
现在唯一的问题是翻译页面上不显示附件
Marcin Kalak
02-10-15, 13:30
做你能表明这种联系附件不翻译页面上的显示位置,在他们未出现在翻译结果页面上?
我通过做修复附件表上的固定附件 (后台 > 修复/优化表)
我的结论 (对想要在他们的论坛上安装这个插件的所有 vb5 用户):
这个插件有一些固定的安装问题"马辛-Kalak"的帮助下 (非常感谢)
将它安装上 Vbulletin 5.1.9 您需要编辑"/ core/includes/config.php"通过添加这条线的一端:
$ CONFIG ['其他'] ['admincpdir'] ='admincp“;
PHP 处理器必须"DSO",不"CGI"。所以如果你有"cgi"你必须改变它对"DSO"在您的服务器上。在南国交友可以改变去"服务配置 > 配置 PHP ad SUExec"和选择有"PHP 5 处理程序"到"数字存储示波器"
了。Htaccess 应该已经开始对这些行:
RewriteEngine叙述在
选项列出
RewriteRule归档/的index.php / $ 2和语言= $ 1 [L,QSA]
RewriteRule的index.php?语言= $ 1 [L,QSA]
RewriteRule 2元?语言= $ 1 [L,QSA]
在结束了这句台词:
RewriteCond%{QUERY_STRING}!重定向=
重写过程 %{QUERY_STRING}! 做 =
重写过程 %{并}!() core|admincp|modcp|clientscript|cpstyles|images|css|js|login|auth|ajax
重写规则 ^(.*) $ vbenterprisetranslator_front_controller.php?redirected=$1 [L,QSA]
您必须添加将添加到"后台-> vBET 翻译-> 选项-> 忽略 Url":
/filedata/
/fetch
/image.php
然后转到"后台 > 语言和短语 > 语言管理器 > 编辑设置"并编辑"HTML 字符集"为"utf-8"
Vbet 翻译插件将工作 Vbulletin 5.1.9
15/12/27 编辑: 一些好检查发现了不少问题后,页甚至不译,许多 db 错误发生......
Marcin Kalak
02-10-15, 19:16
我帮了你很高兴。在下一个版本 vBET 不会需要更改配置文件。
Htaccess"|core"上的一件事马辛,必须添加对重写过程 %{并}
所以看起来应该像这样:
重写过程 %{并}!() admincp|modcpclientscript|cpstyles|images|css|js|login|auth|ajax|core(编辑我上述的指南)
其他的化身将不会显示 (拒绝访问)
谢谢
Marcin Kalak
02-10-15, 20:00
非常感谢你的信息。
只是为了告知,之后这种变化论坛执行很差,某些页面工作以及我说但是我注意到许多 db 错误和翻译的问题。很多页甚而未被翻译。所以我删除 vbet (很难做,因为它有很多人走上在数据库上)。
等待将满工作对 vb 5.1.9 更新并不会造成这种问题。
Marcin Kalak
28-12-15, 11:22
当前版本 vBET 应该为 vB 5.1.9 工作。没有翻译页面可能原因用尽翻译限制。在上述的配置我测试 vB 5.1.9 vBET。如果您有任何其他问题,请创建一个新的课题。
Automatic Translations (Powered by Google, Microsoft®,
Yandex, SDL Language Cloud, IBM Watson and Apertium):
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.