Posted by:
Nige M
(---.7-4.cable.virginm.net)
WAMP projects menu fix.
I have generated what I think is a fix for this problem.
The wampmanager.ini file in wamp root holds the [myProjectsMenu] paths in the Parameters variables. The localhost/ is not present in the path.
That project list in wampmanager.ini is dynamically created, extracted from reading the names of the project folders you create in www.
The list in the wampmanager.ini file is generated by the script refresh.php file, located in the wamp/scripts folder.
The following edit worked for me.
First, save a copy of your existing refresh.php file; to restore to in case of problems.
Search in the refresh.php script for $projectContents (around line 651 if you are using an editor with line numbering).
Update the last line below (existing) with the three below, using all three of these lines:-
651 //update by Nige M to add localhost/ to the Parameters: path value - the original line commented out and the amended line is below it
652 //$myreplacesubmenuProjects .= 'Type: item; Caption: "'.$projectContents[$i].'"; Action: run; FileName: "'.$c_navigator.'"; Parameters: "[
'.$projectContents][$i].'/"; Glyph: 5
653 $myreplacesubmenuProjects .= 'Type: item; Caption: "'.$projectContents[$i].'"; Action: run; FileName: "'.$c_navigator.'"; Parameters: "[
localhost][$i].'/"; Glyph: 5
So, I have replaced my existing line 651 with three lines. I'm guessing that your line numbers may differ a little from mine but I don't know.
You can refresh your wampmanager.ini file by right clicking your tray icon and clicking Refresh. Or exit then restart Wamp.
You should then be able to open your projects by clicking them in the Wamp icon My Projects menu!
Your wampmanager.ini file will now have localhost/ appended to the http:// part of the Parameter.
Please add your feedback here if you have tried this fix.