Aestan tray menu error - wamp server

匿名 (未验证) 提交于 2019-12-03 09:05:37

问题:

I am getting the error Aestan Tray Menu from the WAMP server.

The configuration file contains a syntax error:

on line 0 [EParseError] No Tray icon was specified.

Please assign a tray icon by using one of the TrayIcon* directives in the [Config]section

how can i fix it ?

回答1:

This is because the wampmanager.ini file is corrupted.

You can repair it without doing a full install.

  1. Open up command crompt
  2. Type "cd c:/wamp/scripts"
  3. Type "php refresh.php" (note, for this step you'll need to have php as an environment path variable)

This should recreate wampmanager.ini and you should be good to go.



回答2:

The threads at wampserver cover the issue - for me what fixed the problem was updating the wampmanager.ini with the following

[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 

You will need to update the StartupAction portion with your correct paths and PHP version. After updating save it and run the wamp manager again. It should start.

Original threads: http://forum.wampserver.com/read.php?2,126657

Wamp broke for me during the Windows Update kb3194496 on September 30th 2016.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!