This topic is locked
[SOLVED]

 Project displays blank page

2/4/2016 3:09:20 PM
PHPRunner General questions
B
bountiful1 author

Using PHPRunner 8.1
I created a project using the live database on my hosting service. After making several changes in the look and feel of the displayed pages I got tired of having to ftp all the changed files every time. So I re-connected the project to my local development server (XAMPP) to speed things up.
On the initial rebuild with the new connection to the local database, for convenience I used the "Built-in web server" option for local preview. I got the display all set the way I wanted it and went to bed.
The next morning I wanted to quickly review where I was, so I pointed my browser to the local server directory. (localhost/xampp/mhs_online2016)
When the page load ended, the browser was displaying a blank page. The correct URL was showing in the address bar, but the page was stubbornly blank.
After about a half hour of trying to figure this out, went back into the PHPRunner application, set the local preview to "I have my own web server" and rebuilt the project. On the Finished screen I clicked "View in browser" and patiently waited for the page to load. And it loaded blank!
I went back Output screen, set it back to "Built-in web server", advanced to the Finished screen, and clicked "View in browser." Voila, the project displays in the browser displaying the address localhost:8085/pagename.php
I set up a companion project, connected to my local database, and on the first buiid used the "I have my own web server" option, and still the page loads blank. And again, using the "Built-in web server" option it displays fine.
How can I get rid of the blank page when pointing directly to the local output directory?
Thanks!

Admin 2/4/2016

Most likely you are specifying incorrect URL of your project.
What is the path to XAMPP's htdocs directory and what output directory do you choose in PHPRunner?

B
bountiful1 author 2/4/2016



Most likely you are specifying incorrect URL of your project.
What is the path to XAMPP's htdocs directory and what output directory do you choose in PHPRunner?


Here's a screenshot of the output screen


And here's the output directory


There is no problem loading any other pages from this server... just the output of two projects I am building with PHPR 8.1.
Thanks!

Admin 2/4/2016

Looks good to me. try a couple of things.

  1. Create a test PHP file in the same folder and make sure it works.
  2. Check XAMPP's PHP error log or enable error reporting in php.ini settings.

B
bountiful1 author 2/4/2016



Looks good to me. try a couple of things.

  1. Create a test PHP file in the same folder and make sure it works.
  2. Check XAMPP's PHP error log or enable error reporting in php.ini settings.


Well, do I ever feel like a stooge. I put phpinfo.php into the folder and ran it. When I was taking the screen capture I noticed the PHP version was 4.4. I switched it to version 5 and it now works fine.
Thanks for your patience!