Skip to content

Fatal error: require_once(): Failed opening required 'ROOT_PATH #15746

@eehmke

Description

@eehmke

Describe the bug

After upgrading from 4.9.3 to 5.0.0 I got this error message:

Warning: Use of undefined constant ROOT_PATH - assumed 'ROOT_PATH' (this will throw an Error in a future version of PHP) in /var/www/phpMyAdmin-5.0.0-all-languages/libraries/common.inc.php on line 78

Warning: require_once(ROOT_PATHlibraries/vendor_config.php): failed to open stream: No such file or directory in /var/www/phpMyAdmin-5.0.0-all-languages/libraries/common.inc.php on line 78

Fatal error: require_once(): Failed opening required 'ROOT_PATHlibraries/vendor_config.php' (include_path='.') in /var/www/phpMyAdmin-5.0.0-all-languages/libraries/common.inc.php on line 78

When I downgraded to 4.9.3 the problem disappeared.

To Reproduce

Steps to reproduce the behavior:
Upgrade from 4.9.3 to 5.0.0

Expected behavior

phpmyadmin should just work

Server configuration

  • Operating system: Debian 10.3
  • Web server: Apache 2.4.38-3+deb10u3
  • Database version: mariadb 10.3.18-0+deb10u1
  • PHP version: 7.3
  • phpMyAdmin version: 5.0.0

Client configuration

  • Browser: Firefox 71.0
  • Operating system: Linux Mint 19.3

Additional context

On another machine with similar configuration this did not happen.

Metadata

Metadata

Assignees

Labels

invalidquestionUsed when we need feedback from the submitter or when the issue is a question about PMA

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions