0

I am using windows7 . and VM VirtualBox for Ubuntu 12.04.

I have one PHP project which is written in Unix. But now I have to host it through Ubuntu 12.04. I have already imported that project into Ubuntu server and I am able to access other php pages of Ubuntu from windows browser using IP.

Now the problem is - I am not able to access that particular project. When I try to access it shows a blank page. I am not getting any error messages(display error is enabled) for that.

Please help me.. at-least give me some hint.

1 Answers1

0

First of all PHP is platform independent so nothing to do with unix or windows.

Now coming back to you problem reason could be:

  1. You are including some php file (that contains some error) using 'include' or 'require' statement in the file that you are trying to access.
  2. Do you have some javascript written in header of PHP page? If yes, error in that javascript page can also cause a blank response.

Try to create a new simple php file having nothing more than an echo statement. And try to access it & see if the problem persists.

Vivek
  • 1,380
  • 7
  • 8
  • thank u for ur comment... I have tried with simply writing an echo statement and i m able to access it properly. Regarding Javascript, I have to check... I will update u soon. Thnx – user2991245 Mar 22 '14 at 06:50
  • I am glad that it was helpful. To debug the errors quickly you can download the WebDeveloper extension for firefox from URL: https://addons.mozilla.org/en-US/firefox/addon/web-developer/?src=ss

    Also if the answer was helpful you can accept the answer :)

    – Vivek Mar 22 '14 at 08:34
  • thnx its working – user2991245 Mar 24 '14 at 08:32