Error displaying the error page:
Posted by: »Ð@RK ÐR@GÖN™« (179.43.104.---)
Date: February 02, 2016 11:39PM

Error displaying the error page:

Projects page does not open, it display the following message:
“Error displaying the error page: Application Instantiation Error: Could not connect to MySQL”.

WampServer 2.5 32bits
Apache2.4.18
MySQL5.6.28
php5.5.31 | php5.6.17

Server Icon “GREEN”. Both Apache and MySQL services are running
phpMyAdmin “running fine”
localhost “page display fine”
_______________
*httpd-vhosts

<VirtualHost *:80>
DocumentRoot "C:/WampServer/www/"
ServerName Localhost
ServerAlias www.Localhost
ErrorLog "logs/Localhost-error.log"
CustomLog "logs/Localhost-access.log" common
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "C:/WampServer/www/Project-xyz"
ServerName Project-xyz.dev
ServerAlias www. Project-xyz.dev
ErrorLog "logs/ Project-xyz.dev-error.log"
CustomLog "logs/ Project-xyz.dev-access.log" common
</VirtualHost>
_______________
*HOSTS

127.0.0.1 localhost
::1 localhost

127.0.0.1 Project-xyz.dev www. Project-xyz.dev
::1 Project-xyz.dev www. Project-xyz.dev


Question about httpd-vhost:
Should use a different “ServerAdmin” for each project or all project must be under the same “ServerAdmin”?

______________________________________________________________________
Powered By: JayManuel-NetWork4.org
©2015-2016 »Ð@RK ÐR@GÖN™«. All Rights Reserved.
______________________________________________________________________
WAMPServer 2.5 32bits
Apache2.4.18 | MySQL5.6.29 | php5.6.18-php5.5.32-php7.0.3
______________________________________________________________________

Re: Error displaying the error page:
Posted by: RiggsFolly (---.dynamic.dsl.as9105.com)
Date: February 03, 2016 12:38AM

Read this [forum.wampserver.com]

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.2.8 32bit & 64bit) Aestan Tray Menu 3.2.4.7
<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-

Re: Error displaying the error page:
Posted by: RiggsFolly (---.dynamic.dsl.as9105.com)
Date: February 03, 2016 03:36PM

Do you know what the parameter ServerAdmin is used for?

If (answer == YES) {
    echo 'That decision is totally yours to make';
} else {
    echo 'Look that parameter up in the Apache Manual';
}

Link to the Apache Manual

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.2.8 32bit & 64bit) Aestan Tray Menu 3.2.4.7
<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-



Edited 2 time(s). Last edit at 02/03/2016 03:40PM by RiggsFolly.

Re: Error displaying the error page:
Posted by: »Ð@RK ÐR@GÖN™« (179.43.104.---)
Date: February 08, 2016 03:42AM

Hi RiggsFolly, the answer to that question is that I am not sure of the use of that parameter, that was one of the parameter that came originally in “httpd-vhosts.conf” file; and I find a match to that parameter in the “httpd.conf” file in Apache.
I have not delete or change the configuration of that parameter in the “httpd-vhosts.conf” file, but, due that I have more than one project I wanted to know if I should use the same parameter for each or every project.
But it will be nice if you give me some insight about configuration and use of “ServerAdmin” parameter.

______________________________________________________________________
Powered By: JayManuel-NetWork4.org
©2015-2016 »Ð@RK ÐR@GÖN™«. All Rights Reserved.
______________________________________________________________________
WAMPServer 2.5 32bits
Apache2.4.18 | MySQL5.6.29 | php5.6.18-php5.5.32-php7.0.3
______________________________________________________________________

Re: Error displaying the error page:
Posted by: Otomatic (Moderator)
Date: February 08, 2016 09:30AM

Hi,

ServerAdmin

------------------------------------------------------------------------------------------------------------
Wampserver 3.2.9 32 bit - Apache 2.4.54 - PHP 8.1.9…5.6.40 - MySQL 5.7.39 - MariaDB 10.5.13/10.6.5
Wampserver 3.2.9 64 bit - Apache 2.4.54 - PHP 8.1.9…5.6.40 - MySQL 5.7.39/8.0.30 - MariaDB 10.5.17/10.8.4
PhPMyadmin 5.1.3 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Re: Error displaying the error page:
Posted by: RiggsFolly (---.dynamic.dsl.as9105.com)
Date: February 08, 2016 10:27AM

Hi,

You cannot understand what this parameter is for and still be asking this question.

If you are sure what it does, then the answer is as I said before.

If you want it to be unique for each site then add a unique email address it each to the vhost definitions, if not then use the same one.

Its only a link that appears on serious error pages so the best solution is to code your site so serious errors either do not happen or get caught by your script and processed by you.

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.2.8 32bit & 64bit) Aestan Tray Menu 3.2.4.7
<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-



Edited 1 time(s). Last edit at 02/08/2016 10:28AM by RiggsFolly.

Sorry, only registered users may post in this forum.