HelioHost Posted October 31, 2017 Posted October 31, 2017 Hello, I encountered a problem with this url: https://kairyon.heliohost.org/contact/form.php It just shows a blank page. No error could be detected in debug mode.However, when uploading form.php and rename to for example form2.php, everything is fine.So for me it appears to be some sort of cache or blocking issue. -- wwww.kairyon.tk
Krydos Posted October 31, 2017 Posted October 31, 2017 PHP files aren't cached so it can't be that. Maybe try fixing some of your errors first [31-Oct-2017 15:25:03 UTC] PHP Warning: include(/includes/handler.php): failed to open stream: No such file or directory in /home/kairyon/public_html/contact/form.php on line 18 [31-Oct-2017 15:25:03 UTC] PHP Warning: include(): Failed opening '/includes/handler.php' for inclusion (include_path='.;/path/to/php/pear') in /home/kairyon/public_html/contact/form.php on line 18 [31-Oct-2017 15:25:03 UTC] PHP Warning: include(/includes/head.php): failed to open stream: No such file or directory in /home/kairyon/public_html/contact/form.php on line 19 [31-Oct-2017 15:25:03 UTC] PHP Warning: include(): Failed opening '/includes/head.php' for inclusion (include_path='.;/path/to/php/pear') in /home/kairyon/public_html/contact/form.php on line 19 [31-Oct-2017 15:25:03 UTC] PHP Warning: include(/includes/header.php): failed to open stream: No such file or directory in /home/kairyon/public_html/contact/form.php on line 20 [31-Oct-2017 15:25:03 UTC] PHP Warning: include(): Failed opening '/includes/header.php' for inclusion (include_path='.;/path/to/php/pear') in /home/kairyon/public_html/contact/form.php on line 20 [31-Oct-2017 15:25:03 UTC] PHP Warning: include(/includes/footer.php): failed to open stream: No such file or directory in /home/kairyon/public_html/contact/form.php on line 192 [31-Oct-2017 15:25:03 UTC] PHP Warning: include(): Failed opening '/includes/footer.php' for inclusion (include_path='.;/path/to/php/pear') in /home/kairyon/public_html/contact/form.php on line 192
HelioHost Posted November 1, 2017 Author Posted November 1, 2017 Am 31.10.2017 16:28, schrieb Heliohost Support:> PHP files aren't cached so it can't be that. Maybe try fixing some of> your errors first[31-Oct-2017 15:25:03 UTC] PHP Warning:> include(/includes/handler.php): failed to open stream: No such file or> directory in /home/kairyon/public_html/contact/form.php on line> 18[31-Oct-2017 15:25:03 UTC] PHP Warning: include(): Failed opening> '/includes/handler.php' for inclusion> (include_path='.;/path/to/php/pear') in> /home/kairyon/public_html/contact/form.php on line 18[31-Oct-2017> 15:25:03 UTC] PHP Warning: include(/includes/head.php): failed to open> stream: No such file or directory in> /home/kairyon/public_html/contact/form.php on line 19[31-Oct-2017> 15:25:03 UTC] PHP Warning: include(): Failed opening> '/includes/head.php' for inclusion> (include_path='.;/path/to/php/pear') in> /home/kairyon/public_html/contact/form.php on line 19[31-Oct-2017> 15:25:03 UTC] PHP Warning: include(/includes/header.php): failed to> open stream: No such file or directory in> /home/kairyon/public_html/contact/form.php on line 20[31-Oct-2017> 15:25:03 UTC] PHP Warning: include(): Failed opening> '/includes/header.php' for inclusion> (include_path='.;/path/to/php/pear') in> /home/kairyon/public_html/contact/form.php on line 20[31-Oct-2017> 15:25:03 UTC] PHP Warning: include(/includes/footer.php): failed to> open stream: No such file or directory in> /home/kairyon/public_html/contact/form.php on line 192[31-Oct-2017> 15:25:03 UTC] PHP Warning: include(): Failed opening> '/includes/footer.php' for inclusion> (include_path='.;/path/to/php/pear') in> /home/kairyon/public_html/contact/form.php on line 192> > You may view the status of your ticket by visiting:> > https://www.helionet.org/index/index.php?showtopic=30344> > Thank you,> Heliohost support> https://www.heliohost.org/> https://www.helionet.org/That can't be.The template works that way: for every page. So the path is correct. All other pages work, too. Exepct this. -- wwww.kairyon.tk Am 1.11.2017 22:03, schrieb Heliohost Support:> Am 31.10.2017 16:28, schrieb Heliohost Support:>> PHP files aren't cached so it can't be that. Maybe try fixing some of>> your errors first[31-Oct-2017 15:25:03 UTC] PHP Warning:>> include(/includes/handler.php): failed to open stream: No such file or>> directory in /home/kairyon/public_html/contact/form.php on line>> 18[31-Oct-2017 15:25:03 UTC] PHP Warning: include(): Failed opening>> '/includes/handler.php' for inclusion>> (include_path='.;/path/to/php/pear') in>> /home/kairyon/public_html/contact/form.php on line 18[31-Oct-2017>> 15:25:03 UTC] PHP Warning: include(/includes/head.php): failed to open>> stream: No such file or directory in>> /home/kairyon/public_html/contact/form.php on line 19[31-Oct-2017>> 15:25:03 UTC] PHP Warning: include(): Failed opening>> '/includes/head.php' for inclusion>> (include_path='.;/path/to/php/pear') in>> /home/kairyon/public_html/contact/form.php on line 19[31-Oct-2017>> 15:25:03 UTC] PHP Warning: include(/includes/header.php): failed to>> open stream: No such file or directory in>> /home/kairyon/public_html/contact/form.php on line 20[31-Oct-2017>> 15:25:03 UTC] PHP Warning: include(): Failed opening>> '/includes/header.php' for inclusion>> (include_path='.;/path/to/php/pear') in>> /home/kairyon/public_html/contact/form.php on line 20[31-Oct-2017>> 15:25:03 UTC] PHP Warning: include(/includes/footer.php): failed to>> open stream: No such file or directory in>> /home/kairyon/public_html/contact/form.php on line 192[31-Oct-2017>> 15:25:03 UTC] PHP Warning: include(): Failed opening>> '/includes/footer.php' for inclusion>> (include_path='.;/path/to/php/pear') in>> /home/kairyon/public_html/contact/form.php on line 192>> >> You may view the status of your ticket by visiting:>> >> https://www.helionet.org/index/index.php?showtopic=30344>> >> Thank you,>> Heliohost support>> https://www.heliohost.org/>> https://www.helionet.org/> That can't be.> The template works that way:> for every page. So the path is correct. All other pages work, too.> Exepct this.My code got filtered by your system. I wanted to say I use include with document root variable and the path IS correct.-- wwww.kairyon.tk
Krydos Posted November 1, 2017 Posted November 1, 2017 So, I did a debug technique on your code to find out where the problem is. I just put the code echo "working";exit; starting at the top and working my way down line by line. If the echo worked when I refreshed the page in the browser that means that all of the code above that point is working. This allowed me to isolate exactly which line is broken. Which is include $_SERVER["DOCUMENT_ROOT"]."/includes/handler.php"; If that file is included it breaks form.php and nothing is displayed. I would look in includes/handler.php to find out why this is. I'll let you take it from here. Let us know if you have any other questions.
Recommended Posts