Dragos Wrote:
-------------------------------------------------------
> RiggsFolly Wrote:
> --------------------------------------------------
> -----
> > Hi,
> >
> > I am a little confused! If the errors appear on
> > lines 822 and 823, why are you showing us line
> 829
> > to line 837, where the error is not ?
>
>
> To understand the context of the entire script
> without having to reopen the mentioned page. It
> can be seen from your totally useless post that
> you are a little confused....maybe you need a
> coffee???
I was going to let that slip by, but sorry I cannot after the sarky comment.
Lines numbers
clearly mentioned in the error message
PHP Notice: Undefined index: ServerName in D:\wamp64\scripts\wampserver.lib.php on line 822
PHP Notice: Undefined index: DocumentRoot in D:\wamp64\scripts\wampserver.lib.php on line 823
And now those lines
822 $SerName = $virtualHost['Server'][$key]['ServerName'];
823 $DocRoot = $virtualHost['Server'][$key]['DocumentRoot'];
And now the lines you picked to highlight, different line numbers, with more by luck than judgement one line that actually contains one of the variables!
832 if(!isset($phpFcgiVersionList)) GetAliasVersions();
833 foreach($virtualHost['ServerName'] as $value) {
I was rather wondering WHY you would pick some random lines of code with absolutely nothing to do with the line number in the Notice's you are asking about?
---------------------------------------------------------------------------------------------
(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 --
phpMyAdminGet 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-