致命错误:c:\wamp\www\drupal2\includes\common.inc 第 551 行超出最大执行时间 30 秒
当我进入 drupal 6 中的管理选项时。我的浏览器上出现以下错误
致命错误:超过了 30 秒的最大执行时间 c:\wamp\www\drupal2\includes\common.inc 第 551 行
在我在 drupal 6 站点/all/modules 文件夹中安装“Views”模块后,开始出现此错误。
为什么会发生这种情况?请帮忙。 谢谢。
when I go to admin option in drupal 6. I get following error on my Browser
Fatal Error: Maximum execution time of 30 seconds exceeded in
c:\wamp\www\drupal2\includes\common.inc on line 551
This error has started occuring after i install 'Views' module in my drupal 6 sites/all/modules folder.
why this is happening? Please Help.
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
使用wamp它的非常简单事情,点击任务栏上的wamp图标,转到php并转到php.ini,然后找到
max_execution_time
并将30 到 500
或更多设置为您满意的值。Using wamp its pretty simple thing , Click on the wamp icon on taskbar, go to php and go to php.ini and then find
max_execution_time
and make30 to 500
or more what u are comfort with.在wamp菜单中(单击打开php.ini文件并搜索
并将30更改为180或更多,
而不是重新启动你的apache
in the wamp menu (click open the php.ini file and search for
and change 30 to 180 or more,
than restart your apache
有关“视图”模块的某些内容的处理时间超过 30 秒(第 551 行)。您可以尝试通过将以下内容添加到 php 脚本来增加最大执行时间:
默认情况下 php 设置为 30 秒。使用上面的命令,您可以逐步增加它以查看它是否会运行。如果您继续遇到相同的错误,我建议隔离并修复脚本或卸载它。
Something about the 'Views' module is taking longer than 30 secs to process (Line 551). You can try to increase the maximum execution time by adding the following to your php script:
By default php is set to 30 seconds. Using the above command you can increase it incrementally to see if it will run. If you continue to get the same error I would suggest Isolating and fixing the script or uninstalling it.
在settings.php中添加以下行,然后它将正常工作而不会出现错误
Add following line in settings.php and then it will work without error