five-server icon indicating copy to clipboard operation
five-server copied to clipboard

server fails when a PHP file has include statement

Open caulmseh opened this issue 1 year ago • 1 comments

error shows

stderr: PHP Warning: include(include/navbar.php): Failed to open stream: No such file or directory in C:\xampp\htdocs\Gandacatering\.php_tmp\index.php on line 14PHP Warning: include(): Failed opening 'include/navbar.php' for inclusion (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\Gandacatering\.php_tmp\index.php on line 14 sorry I can't format bug reports properly but I think this would suffice

inject body, navigate, and highlight options are enabled

caulmseh avatar Feb 18 '24 11:02 caulmseh

i have the same error i think it's because navbar.php or header in my case are in a subfolder and not in the same folder as the index.php file

the extension created a folder named .php_tmp with index.php et header.php so there is not "include" folder. how can i fix that ?

we can't use subfolders ?

JPnux avatar Nov 10 '24 13:11 JPnux