configuration file contains a syntax error on line
Posted by: mferg (181.41.56.---)
Date: October 28, 2021 07:10PM

I updated my WAMP install to 3.2.5, updated a couple VC packages and VC checker says all updates installed. I also updated the Aestan Tray Menu to 3.2.4.2.

Now when I go to start WAMP, I'm getting an Aestan Tray Menu dialog popup, which says:

>The configuration file contains a syntax error on line 650:
>[EParseError] Unrecognized parameter name "Type"

I click OK and it goes away. Then about 5 Command Prompt windows open and close, then the Aestan Tray Menu dialog pops up again. I click OK and it goes away and nothing happens. WAMP doesn't start.

I'm running Windows 10 64-bit.

Help, please!

Options: ReplyQuote
Re: configuration file contains a syntax error on line
Posted by: Otomatic (Moderator)
Date: October 29, 2021 09:34AM

Hi,

>The configuration file contains a syntax error on line 650:
>[EParseError] Unrecognized parameter name "Type"

What are lines 645 to 655 of wampmanager.ini file ?

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

Options: ReplyQuote
Re: configuration file contains a syntax error on line
Posted by: mferg (181.41.56.---)
Date: October 29, 2021 03:25PM

Here they are:

====================
645 Type: Separator;
646 ;WAMPMENULEFTEND
647 Type: item; Caption: "No Default DBMS"; Glyph: 19; Action: multi; Actions: warning_nodefaultDBMS
648 [warning_nodefaultDBMS]
649 Action: run; FileName: "c:/wamp64/bin/php/php5.6.40/php.exe";Parameters: "msg.php 11 DQpOZWl0aGVyIE1hcmlhREIgbm9yIE15U1FMIGlzIGNvbmZpZ3VyZWQgYXMgdGhlIGRlZmF1bHQgU0dEQi4NClNlZSBSaWdodC1DbGljayAtPiBIZWxwIC0+IE1hcmlhREIgLSBNeVNRTA0K";WorkingDir: "c:/wamp64/scripts"; Flags: waituntilterminated
650 Type: separator; Caption: "Warning MySQL"
651 Type: item; Caption: "skip-grant-tables = On - !! WARNING !!"; Glyph: 19; Action: multi; Actions: skip-grant-tables
652
653
654
655 [myVhostsMenu]
====================



Edited 1 time(s). Last edit at 10/29/2021 03:32PM by mferg.

Options: ReplyQuote
Re: configuration file contains a syntax error on line
Posted by: Otomatic (Moderator)
Date: October 29, 2021 06:02PM

Hi,

You don't have default DBMS. See wamp(64)/mariadb_mysql.txt file

You have modified a my.ini file to uncomment the line ;skip-grant-tables

It seems that the wampmanager.ini file is "corrupted"!
To repair it, you need to use the Wampmanager.ini repair tool
Repair tool for wampmanager.ini file if it is corrupted or missing. You can download at any time, but install this tool only if you need it, because it takes into account the current configuration of Wampserver. A wampmamanger.ini corrupted file is reflected mostly by errors like "[EparseError]" or "Could not execute run action" when launching Wampserver.

Install this tool then read carefully the information windows at the end of installation.

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

Options: ReplyQuote
Re: configuration file contains a syntax error on line
Posted by: Otomatic (Moderator)
Date: October 29, 2021 07:20PM

Hi,

There is a problem if there is both No Default DBMS and skip_grant_tables uncommented.

Please comment skip-grant-tables BEFORE running the wampini repair tool.

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

Options: ReplyQuote
Re: configuration file contains a syntax error on line
Posted by: mferg (181.41.56.---)
Date: October 29, 2021 07:33PM

Hi,

Ok, so far so good! I commented out that line in my.ini and repaired Wampmanager.ini and now I can start WAMP!

I started WAMP and removed the tick from MariaDB so that only MySQL is ticked. Then stopped and restarted WAMP. Mouseover WAMP icon says, "local server - All services running", but I'm still getting the "No Default DBMS" warning.

I did the "Test port 3306" and got this:

***** Test which uses port 3306 *****

===== Tested by command netstat filtered on port 3306 =====

Port 3306 is not found associated with TCP protocol
Port 3306 is not found associated with TCP protocol


I don't see how to manually set MySQL to port 3306.

Mark

Options: ReplyQuote
Re: configuration file contains a syntax error on line
Posted by: Otomatic (Moderator)
Date: October 29, 2021 08:17PM

Hi,

Read Right-Click -> Help -> Mariadb-MySQL

To change port Right-Click -> Tools -> MySQL -> Use a port other than 3308

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

Options: ReplyQuote
Re: configuration file contains a syntax error on line
Posted by: mferg (181.41.56.---)
Date: October 29, 2021 08:37PM

Ha! Well, that was easy enough... thanks!

So, I've got phpmyadmin working now, but it's not showing any of my databases. How do I fix that?

Also, one more thing... is there a way to remove old projects under "Your Projects" on the Wampserver Homepage?

Thanks so much for your help on this. I'm almost back to production mode.

Mark

Options: ReplyQuote
Re: configuration file contains a syntax error on line
Posted by: mferg (181.41.56.---)
Date: October 29, 2021 09:09PM

Ok, nevermind on the databases. It appears when installing, my databases were moved under mysql version 8.0.18, but I had changed to version 5.7.36. I changed it back to ver8 and they're back.

Just have that final question on removing projects from "Your Projects" section of wampmanager homepage.

Also, is there a way to send you or the team a small donation?

I really appreciate the help and all that you do.

Thanks,
Mark



Edited 1 time(s). Last edit at 10/29/2021 09:10PM by mferg.

Options: ReplyQuote
Re: configuration file contains a syntax error on line
Posted by: Otomatic (Moderator)
Date: October 29, 2021 09:34PM

Hi,
Delete folders under Wamp(64)\www\

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

Options: ReplyQuote
Re: configuration file contains a syntax error on line
Posted by: mferg (181.41.56.---)
Date: October 29, 2021 10:17PM

Awesome!!!


Thanks very much for all your help, Otomatic!!!

Mark

Options: ReplyQuote


Sorry, only registered users may post in this forum.