Question:
I am trying to use ReplDB in my PHP project, but when I try to use include "repldb.php"; in the first line of my file, it doesn’t work. The file repldb.php exists, and I don’t have any syntax errors. Here are the errors I’m getting:
Warning: include(repldb.php): Failed to open stream: No such file or directory in /home/runner/Elemental-Conquest/play/conquest/plains/index.php on line 2
Warning: include(): Failed opening 'repldb.php' for inclusion (include_path='.:/nix/store/0cqzc3525991mwba1762xbryq6llwrzm-php-8.2.0/lib/php') in /home/runner/Elemental-Conquest/play/conquest/plains/index.php on line 2
I just noticed that you have multiple index.php files. Try to change the name of the other files (like index1, index2) or something like that. It makes less confusing