我已将Drupal站点从实时服务器复制到测试环境,以便进行进一步的开发。我已经在WAMP环境中设置了这个,成功导入了数据库并设置了该站点的虚拟主机。
我可以毫无问题地连接到网站并登录。当我想访问管理页面时,我从浏览器(http://www.MYSITE.local/da/admin/modules)收到以下消息:
The connection has been reset
Firefox将请求报告为" Aborted"当我检查Firebug的网络时。
Apache日志文件中没有错误。此外,我已启用PHP错误进行调试,并且不显示任何内容。
我已重置缓存,在phpMyAdmin中查找CSS和Javascript的压缩设置,但未找到任何我可以禁用的设置。
帮助很多!
答案 0 :(得分:2)
如果您遇到问题,迁移后,请运行rebuild_registry并解决问题。 请注意,它不是drupal的模块。它可以作为一个非常有用的子模块进行碾压。
我强烈建议手动为windows安装drush。按照instruction安装drush。
安装完成后,
drush dl registry_rebuild
从哪个目录运行此命令无关紧要,因为它是一个drush扩展而不是drupal扩展。 Drush将下载所需的文件并将其放在适当的位置。
完成后,您可以访问您的站点文件夹并运行
drush rr
那应该重建注册表并清除缓存。大多数迁移问题都是自动修复的。如果不能解决您的问题,请发表评论。
答案 1 :(得分:2)
如果它没有帮助 - 就像我的情况一样,将以下代码添加到httpd.conf这将增加堆栈大小(默认为1MB)
<IfModule mpm_winnt_module>
ThreadStackSize 8388608
</IfModule>
答案 2 :(得分:0)
手动截断所有缓存表以及可以解决的会话:
例如:
Truncate table myprefix_cache;
Truncate table myprefix_cache_admin_menu;
Truncate table myprefix_cache_block;
Truncate table myprefix_cache_bootstrap;
Truncate table myprefix_cache_field;
Truncate table myprefix_cache_filter;
Truncate table myprefix_cache_form;
Truncate table myprefix_cache_image;
Truncate table myprefix_cache_l10n_update;
Truncate table myprefix_cache_libraries;
Truncate table myprefix_cache_media_xml;
Truncate table myprefix_cache_menu;
Truncate table myprefix_cache_page;
Truncate table myprefix_cache_path;
Truncate table myprefix_cache_rules;
Truncate table myprefix_cache_token;
Truncate table myprefix_cache_update;
Truncate table myprefix_cache_variable;
Truncate table myprefix_cache_views;
Truncate table myprefix_cache_views_data;
Truncate table myprefix_sessions;
答案 3 :(得分:0)
我通过访问Performance并禁用Aggregate和Compress CSS来解决这个问题。