我从WAMP
服务器收到错误Aestan Tray Menu
。
配置文件包含语法错误:
在第 0 行 [EParseError] 未指定纸盘图标。
请使用 中的 TrayIcon* 指令之一分配托盘图标[配置]部分
我该如何解决它?
这是因为 wampmanager.ini 文件已损坏。
您可以在不进行完整安装的情况下修复它。
- 打开命令 crompt
- 键入 "cd c:/wamp/scripts"
- 键入"php refresh.php"(请注意,对于此步骤,您需要将 php 作为环境路径变量)
这应该重新创建wampmanager.ini你应该很高兴。
wampserver 的线程涵盖了这个问题 - 对我来说,解决问题的是更新 wampmanager.ini
以下内容[Config]
ImageList=images_off.bmp
ServiceCheckInterval=1
ServiceGlyphRunning=13
ServiceGlyphPaused=14
ServiceGlyphStopped=15
TrayIconAllRunning=16
TrayIconSomeRunning=17
TrayIconNoneRunning=18
ID={wampserver}
AboutHeader=WAMP5
AboutVersion=Version 2.2
[AboutText]
WampServer Version 2.2
Maintainer / Upgrade / Roadmap by Herve Leclerc (herve.leclerc@alterway.fr)
Powered by Alter Way [www.alterway.fr]
Sources are available at SourceForge
[www.wampserver.com]
[Services]
Name: wampapache
Name: wampmysqld
[Messages]
AllRunningHint=WAMP5 - All services running - server Offline
SomeRunningHint=WAMP5 - %n of %t services running - server Offline
NoneRunningHint=WAMP5 - None of %t services running - server Offline
[StartupAction]
Action: run; FileName: "c:/wamp1/bin/php/php5.4.3/php-win.exe";Parameters: "refresh.php";WorkingDir: "c:/wamp1/scripts"; Flags: waituntilterminated
Action: resetservices
Action: readconfig;
Action: service; Service: wampapache; ServiceAction: startresume; Flags: ignoreerrors
Action: service; Service: wampmysqld; ServiceAction: startresume; Flags: ignoreerrors
您需要使用正确的路径和 PHP 版本更新 StartupAction 部分。 更新后保存并再次运行 wamp 管理器。 它应该开始。
原始线程:http://forum.wampserver.com/read.php?2,126657
Wamp在2016年9月30日的Windows更新kb3194496期间为我打破了。