Start phpMyAdmin from WAMP menu item - bad link
Posted by: funkyfrank (---.170.16.17.81.swissinet.com)
Date: August 01, 2015 04:37PM

Usually use /localhost/phpmyadmin/ to get there. However I also like to use it via the WAMP menu item when clicking on phpMyAdmin there.

However I get following error:

Aestan Tray Menu:
Could not execute menu item (internal error)
[Exception] Could not execute run action:
The directory name is invalid

I assume I need to change something in wampmanager.tpl?

Thanks for any help with this.

Regards
Frank

Version of Operating system? Windows 7 Ultimate 64bit
Version of Wamp Server installed? 2.5 32bit
Version of Apache you are running? 2.4.9
Version of MySQL you are running? 5.6.17
Version of PHP you are running? 5.5.12
What colour is your WampManager icon? Green
Host file localhost 127.0.0.1

New to WAMP?
Read this please: [forum.wampserver.com]

Options: ReplyQuote
Re: Start phpMyAdmin from WAMP menu item - bad link
Posted by: RiggsFolly (---.as43234.net)
Date: August 01, 2015 08:43PM

What if anything have you changed from the default config.

Also was apache running when you tried to access phpMyAdmin?

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Start phpMyAdmin from WAMP menu item - bad link
Posted by: funkyfrank (179.43.144.---)
Date: August 01, 2015 09:40PM

In httpd.conf I have deleted the comment # from rewrite_module and from vhost_alias_module.

In wampmanager.tpl I don't think I have changed anything.

Here is a pastebin of wampmanager.tpl pastebin.com/x3F3Wz1K

Anything else you need to know from my part?

Thank you for your help.

winking smiley

Version of Operating system? Windows 7 Ultimate 64bit
Version of Wamp Server installed? 2.5 32bit
Version of Apache you are running? 2.4.9
Version of MySQL you are running? 5.6.17
Version of PHP you are running? 5.5.12
What colour is your WampManager icon? Green
Host file localhost 127.0.0.1

New to WAMP?
Read this please: [forum.wampserver.com]

Options: ReplyQuote
Re: Start phpMyAdmin from WAMP menu item - bad link
Posted by: funkyfrank (179.43.144.---)
Date: August 01, 2015 09:56PM

Oh and I also did this change to wampmanager.tpl outlined in the VirtualHost sticky:


====
How do I turn this other 'My Virtual Hosts' menu on?
This may be a little premature but I suppose now is as good a time as any to tell you that.

- Make a backup of the \wamp\wampmanager.tpl file, just in case you make a mistake, its a very important file.
- Edit the \wamp\wampmanager.tpl
- Find this parameter ';WAMPPROJECTSUBMENU', its in the '[Menu.Left]' section.
- Add this new parameter ';WAMPVHOSTSUBMENU' either before or after the ';WAMPPROJECTSUBMENU' parameter.
- Save the file.
- Now left click the wampmanager icon, and select 'Refresh'. If this does not add the menu, 'exit' and restart wampmanager.
====

Besides that I left it untouched.

Thank you.

Version of Operating system? Windows 7 Ultimate 64bit
Version of Wamp Server installed? 2.5 32bit
Version of Apache you are running? 2.4.9
Version of MySQL you are running? 5.6.17
Version of PHP you are running? 5.5.12
What colour is your WampManager icon? Green
Host file localhost 127.0.0.1

New to WAMP?
Read this please: [forum.wampserver.com]

Options: ReplyQuote
Re: Start phpMyAdmin from WAMP menu item - bad link
Posted by: funkyfrank (179.43.144.---)
Date: August 01, 2015 10:09PM

I checked and unfortunately I also get this error also when trying the following menu items:

- My Virtual Hosts (for localhost as well as for the vhosts I have listed the error message comes up
when I click the "# match a or ServerAlias in any <VirtualHost> block." menu item the error message also comes up)

When I click the menu item
- My Projects (no error is given and nothing happens)


Reading this
========
'My Projects' will list any sub directory of the \wamp\www directory and provide a link to launch the site in that sub directory.
As I said earlier, it launches 'project1` and not 'localhost/project1' so to make the link work we must create a Virtual Host definition to make this link actually launch that site in your browser, without the Virtual Host definition it's likely to launch a web search for the site name as a keyword or just return a site not found condition.
========

and not having any projects in the \wamp\www dir I assume this is why nothing is shown. How do I make a Virtual Host definition that leads from c\wamp\www to my projects folder d\web projects\www ? I have a virtual host definition in httpd-vhost.conf and that works great, however I am not sure how to "link" c\wamp\www to d\web projects\www?

Should I try and get a default wampmanager.tpl file from somewhere? Do you have one? Or can I simply change a few lines and the errors will be gone?

All this is not super urgent as I can live without clicking the menu items and simply go to the url in the browser, however it would be neat to have to working and knowing how to fix it.

Thank you.

Best Regards
Frank

Version of Operating system? Windows 7 Ultimate 64bit
Version of Wamp Server installed? 2.5 32bit
Version of Apache you are running? 2.4.9
Version of MySQL you are running? 5.6.17
Version of PHP you are running? 5.5.12
What colour is your WampManager icon? Green
Host file localhost 127.0.0.1

New to WAMP?
Read this please: [forum.wampserver.com]

Options: ReplyQuote
Re: Start phpMyAdmin from WAMP menu item - bad link
Posted by: RiggsFolly (---.as43234.net)
Date: August 02, 2015 02:29PM

Frank,

Read this [forum.wampserver.com] ... all of this. At the bottom there is a section called Now if you take this to its logical extension when you get there it shouls help you do the Virtual Host in any drive/folder you like.

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Start phpMyAdmin from WAMP menu item - bad link
Posted by: funkyfrank (179.43.144.---)
Date: August 02, 2015 04:53PM

Read that many times and will continue to read it many times for sure.

Will that also fix the broken menu item phpMyAdmin?

As far the vhost definitions go I will try and get it right, but linking the menu item to phpMyAdmin also works this way?

This is my current vhost definition and that works like a charm with all the web projects and the defined vhost also come up in the My Projects menu item, however when I click it, it throws the error.

 <VirtualHost *:80>
    DocumentRoot "c:/wamp/www"
    ServerName localhost
    ServerAlias localhost
    <Directory  "c:/wamp/www">
    	AllowOverride All
	Require local
	Require ip 192.168.188
    </Directory>
</VirtualHost>

<VirtualHost *:80>
    DocumentRoot "D:/Web Projects/WWW"
    ServerName workbench.webdev
    ServerAlias www.workbench.webdev
	
    ErrorLog "D:/Web Projects/WWW/Logs/workbench-apache.error.log"
    CustomLog "D:/Web Projects/WWW/Logs/workbench-apache.access.log" common	

    <Directory "D:/Web Projects/WWW">
	AllowOverride all
        Options Indexes FollowSymLinks

    	<IfDefine APACHE24>
    		Require local
    		Require ip 192.168.188
		</IfDefine>

		<IfDefine !APACHE24>
			Order Deny,Allow
				Deny from all
				Allow from 127.0.0.0/8 localhost ::1 192.168.188
		</IfDefine>

    </Directory>
	
	php_flag log_errors on
    php_flag display_errors on
    php_value error_reporting 2147483647
    php_value error_log "D:/Web Projects/WWW/Logs/workbench-php.error.log"
</VirtualHost>

So despite reading the linked post, that I also have in my signature, I am not really sure if I adding something more to the vhost definition will fix the error.

For example I have localhost working fine in the browser, though when clicking the menu item it throws that error. I think it did throw that error from the beginning onwards but since I did not really mind I left it as it was.

I will go over this and see if I can fix this somehow, though I think this could have something to do with wampmanager.tpl somehow.

Thank you for your help!!

Version of Operating system? Windows 7 Ultimate 64bit
Version of Wamp Server installed? 2.5 32bit
Version of Apache you are running? 2.4.9
Version of MySQL you are running? 5.6.17
Version of PHP you are running? 5.5.12
What colour is your WampManager icon? Green
Host file localhost 127.0.0.1

New to WAMP?
Read this please: [forum.wampserver.com]

Options: ReplyQuote
Re: Start phpMyAdmin from WAMP menu item - bad link
Posted by: RiggsFolly (---.as43234.net)
Date: August 02, 2015 05:35PM

Frank,

phpMyAdmin is run as an Alias and not a Virtual Host

Just checking, when you did this

- Find this parameter ';WAMPPROJECTSUBMENU', its in the '[Menu.Left]' section.
- Add this new parameter ';WAMPVHOSTSUBMENU' either before or after the ';WAMPPROJECTSUBMENU' parameter.

You did put these 2 intems on seperate lines like this right?

;WAMPVHOSTSUBMENU
;WAMPPROJECTSUBMENU

Not like this
;WAMPVHOSTSUBMENU;WAMPPROJECTSUBMENU

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Start phpMyAdmin from WAMP menu item - bad link
Posted by: funkyfrank (179.43.144.---)
Date: August 02, 2015 05:41PM

Indeed they are on THE SAME line.

This means I am THE super noob right?

Here is the wampmanager.tpl file pasted as it is now.

pastebin.com/x3F3Wz1K

Version of Operating system? Windows 7 Ultimate 64bit
Version of Wamp Server installed? 2.5 32bit
Version of Apache you are running? 2.4.9
Version of MySQL you are running? 5.6.17
Version of PHP you are running? 5.5.12
What colour is your WampManager icon? Green
Host file localhost 127.0.0.1

New to WAMP?
Read this please: [forum.wampserver.com]



Edited 1 time(s). Last edit at 08/02/2015 05:42PM by funkyfrank.

Options: ReplyQuote
Re: Start phpMyAdmin from WAMP menu item - bad link
Posted by: Otomatic (Moderator)
Date: August 02, 2015 05:43PM

Hi,

>DocumentRoot "D:/Web Projects/WWW"
To avoid problem, don't use space in path as space is a delimiter between parameters in CLI.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Start phpMyAdmin from WAMP menu item - bad link
Posted by: RiggsFolly (---.as43234.net)
Date: August 02, 2015 05:49PM

Frank,

Sorry, I am not going to PLOW through all that looking for problems.

The phpMyAdmin thing is facinating me. I have no idea why it is doing what you say its doing.


Woudl you like a quick TeamViewer session, so I can have a look at what you have really dont to mess this up?

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Start phpMyAdmin from WAMP menu item - bad link
Posted by: funkyfrank (179.43.144.---)
Date: August 02, 2015 06:05PM

Have TeamViewer running. Hope it works. Where do I send you details?

Version of Operating system? Windows 7 Ultimate 64bit
Version of Wamp Server installed? 2.5 32bit
Version of Apache you are running? 2.4.9
Version of MySQL you are running? 5.6.17
Version of PHP you are running? 5.5.12
What colour is your WampManager icon? Green
Host file localhost 127.0.0.1

New to WAMP?
Read this please: [forum.wampserver.com]

Options: ReplyQuote
Re: Start phpMyAdmin from WAMP menu item - bad link
Posted by: RiggsFolly (---.as43234.net)
Date: August 02, 2015 06:17PM

Send a Private Message to me with the ID and PASSWORD

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote


Sorry, only registered users may post in this forum.