Fresh install, all green - havent seen this error before
Posted by: CanadaBri (204.101.102.---)
Date: February 08, 2019 08:13PM

I have installed WAMP 3.1.7, and updated all the addons to latest versions
Apache : 2.4.38
PHP : 7.3.2
MySQL : 5.7.25
MariaDB : 10.3.12

All is green. No virtual hosts yet.



When I try to add a new Virtual Host, I get this error on the top of the screen:


Notice: Undefined index : passadd in E:\wamp_3x_64\www\add_vhost.php on line 312

Options: ReplyQuote
Re: Fresh install, all green - havent seen this error before
Posted by: CanadaBri (204.101.102.---)
Date: February 08, 2019 08:18PM

just to add..

I have entered information for the new virtual host in the same manner I have don in the past on a separate server (running 3.1.4)

in the top area, I use the server name as it would have been typed in a browser (without the [http://])

and in the bottom I use the drive and path to the location where the web files will be located.



Edited 1 time(s). Last edit at 02/08/2019 08:18PM by CanadaBri.

Options: ReplyQuote
Re: Fresh install, all green - havent seen this error before
Posted by: RiggsFolly (Moderator)
Date: February 08, 2019 08:25PM

Would be simpler to just show us the httpd-vhosts.conf file so we can see the results of your attempt to create a new vhost

---------------------------------------------------------------------------------------------
(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: Fresh install, all green - havent seen this error before
Posted by: CanadaBri (204.101.102.---)
Date: February 08, 2019 08:32PM

It still has the default content. When I click to add the virtual host, really nothing happens.. the error is immediate. httpd-vhosts.conf is not changed.

Still, here is the content of my httpd-vhosts.conf file:

[
#Virtual Hosts
#
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require Local
</Directory?
</VirtualHost>
]

Options: ReplyQuote
Re: Fresh install, all green - havent seen this error before
Posted by: Otomatic (Moderator)
Date: February 09, 2019 09:36AM

Hi,

> Notice: Undefined index : passadd in E:\wamp_3x_64\www\add_vhost.php on line 312

"passadd" is an index of session variables $_SESSION that are used to verify that the addition or deletion of VirtualHost has been initiated by the requester.
Session variables are saved in the wamp(64)/tmp/ folder in sessions whose file name begins with sess_

If users are inactive for more than 24 minutes, their session may be garbage collected.

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

Options: ReplyQuote
Re: Fresh install, all green - havent seen this error before
Posted by: CanadaBri (204.101.102.---)
Date: February 11, 2019 03:51PM

any ideas on how to fix?

Options: ReplyQuote
Re: Fresh install, all green - havent seen this error before
Posted by: Otomatic (Moderator)
Date: February 11, 2019 04:02PM

Hi,

Empty folder wamp(64)/tmp/
Accept cookies

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

Options: ReplyQuote
Re: Fresh install, all green - havent seen this error before
Posted by: CanadaBri (204.101.102.---)
Date: February 11, 2019 04:17PM

Perfect - thanks

On a Win2016 server - forgot to turn off IE Enhanced Security.

Options: ReplyQuote


Sorry, only registered users may post in this forum.