sql-parser icon indicating copy to clipboard operation
sql-parser copied to clipboard

Syntax error after logging in ContextMySql50700.php file?

Open phantom2152 opened this issue 3 years ago β€’ 3 comments

Hey,

When I try to login to my php myadmin I get this parse error from php

Parse error: syntax error, unexpected identifier "JSON_CONTAINS_PATH", expecting "]" in C:\localServer\Apache24\htdocs\phpMyAdmin\vendor\phpmyadmin\sql-parser\src\Contexts\ContextMySql50700.php on line 73

image

Can anyone help mw with this

phantom2152 avatar Apr 01 '22 22:04 phantom2152

Hi @phantom2152 From a syntax point of view https://github.com/phpmyadmin/sql-parser/blob/master/src/Contexts/ContextMySql50700.php is okay What PHP version are you using ? How did you install phpMyAdmin ? What version is it ?

williamdes avatar Apr 01 '22 22:04 williamdes

Php version is 8.1.2

I installed PhpMyAdmin Manually without xampp and have been using it for many days

PhpMyAdmin Version 5.1.2

I am attaching a photo of ContextMySql50700.php seems to be corrupted to meπŸ˜…πŸ˜… image

phantom2152 avatar Apr 02 '22 19:04 phantom2152

@ibennetch do you have an idea of what could be occurring?

williamdes avatar Apr 02 '22 22:04 williamdes

I am closing this one, this is most probably a corrupted unzip or FTP upload. Is it solved @phantom2152 ?

williamdes avatar Apr 21 '23 19:04 williamdes