简体   繁体   English

迁移后上下文无法正常工作

[英]Contexts not working after migration

I have a site with several contexts. 我有一个具有多个上下文的站点。 When I migrated the site to a new server, they stopped working. 当我将站点迁移到新服务器时,它们停止工作。 The default context is the only one that works. 默认上下文是唯一起作用的上下文。 I get a bunch of errors like this: 我收到很多这样的错误:

[2011-06-12 12:53:19] (ERROR @ /index.php) [[++my_context_var]] is not a valid integer and may not be passed to makeUrl()

Anyone have any idea what's going on? 任何人都知道发生了什么事吗?

Thanks! 谢谢!

Could be an issue with your .htaccess file, missing alias domains or your context switching plugin. 您的.htaccess文件,缺少别名域或上下文切换插件可能有问题。

  • check your .htaccess got migrated [some FTP clients will ignore hidden files] 检查您的.htaccess是否已迁移[某些FTP客户端将忽略隐藏的文件]
  • ensure all the domain aliases [if any] got migrated 确保所有域别名(如果有)都已迁移
  • add some debugging to your context switcher plugin 向您的上下文切换器插件添加一些调试

Let's see the source of your context switcher plugin. 让我们看看上下文切换器插件的来源。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM