Aestan tray menu error - wamp server

2020-06-23 06:39发布

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 ?

2条回答
\"骚年 ilove
2楼-- · 2020-06-23 07:08

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.

查看更多
我想做一个坏孩纸
3楼-- · 2020-06-23 06:59

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.

查看更多
登录 后发表回答