A completely blank PHP page is a sign of two things. First, your host has error reporting turned off, and that earns them twenty gold stars for being security-minded. Great! And second, you have a fatal error in your page, likely a simple syntax error or similar.
Is the PHP something you coded yourself, and added to Freeway through an include or the Page / HTML Markup dialog? If so, find the very first line of code that you can, directly after the opening <?php delimiter, and paste in these two lines, which will temporarily turn on error reporting and crank the sensitivity level all the way up.
error_reporting(E_ALL);
ini_set('display_errors', true);
If you’re lucky or experienced, you will uncover the issue immediately after visiting this page in a browser once the updated code is in place.
Some errors occur at such a low level that they won’t even make it this far, and you still won’t see the error. In that case, you need to open the published PHP code in a debugger, such as the one built into TextMate (my weapon of choice for all hand-coding errands). In TM, the command is Shift-Control-V to run the validator. This will show you in a yellow tool-tip the precise line with the error, and an accurate (if cryptic) description of the error.
Once you find the error, and update your code on the server, be sure to either delete or comment out those two lines above. They provide a rich source of diagnostic information to anyone trying to hack your server.
Walter
On Aug 20, 2013, at 8:59 AM, mog wrote:
Hi there,
I have recently updated to a later version of Freeway Pro from Freeway 5.5 to Freeway 6.0.2
I opened and saved a file I created in Freeway 5.5 to 6.0.2 and now a page on the website is showing blank. It’s an updatable .php page with webyep innit code and all data is in the webyep folder. I haven’t made any changes to this page but for some reason since i’ve saved it as 6.0.2 t is now showing a blank page.
Any help as soon as possible would be extremely appreciated.
Thanks
Mog
http://www.makersbristol.co.uk/makers-events.php
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options