a php file with a tag incuding crashes…
-
Hi Stefano,
I have been using your “Include Me” plugin for over a year and is has worked well, thank you. BUT recently either WordPress or PHP 7 auto updated and something broke. I spent several hours tracking the problem down and it is simply that including a PHP file with a “body” tag hangs the page. Here is an example:
Page text:
Will this [includeme file="crash.php"] crash?
crash.php:
<!DOCTYPE html> <html lang="en"> <body> <?php Print "crash..."; ?> </body>
Removing the body tag works fine:
ok.php:
<!DOCTYPE html> <html lang="en"> <?php Print "ok..."; ?>
I am not a PHP guru so maybe I am doing something wrong, but this was working for well over a year and just recently stopped. It is not my VPS, because I can open my php pages with a browser. Also my VPS is running an updated Debian Stretch lamp stack.
Can you please give me some advice on this?
Thanks,
Phil
- The topic ‘a php file with a tag incuding crashes…’ is closed to new replies.