Koozali.org: home of the SME Server

All php pages white

Kris75

All php pages white
« on: November 05, 2005, 02:46:22 PM »
Hi

Im cant see any of my php pages on my server. All of them are white. First i tried with the 6.0.1 server and now i have upgraded to the 7.0 beta 5 server and still the same, all white. What can the problem be? Do i have to activate php?

Offline arne

  • ****
  • 1,116
  • +0/-4
All php pages white
« Reply #1 on: November 05, 2005, 04:15:39 PM »
Strange if you go to http://<ip>/horde do you really got a blank page (this is php..)

I also had a blank page at the 7.0 B5 first, but as I tried the link above, I understood it was only misstyping from my side.
......

gbaird

Enable Php
« Reply #2 on: November 05, 2005, 04:30:01 PM »
Php is enabled in the Sme setup however when you create an IBAY
and plan on putting php pages in it you MUST enable the

Execution of dynamic content (CGI, PHP, SSI) when you create the ibay or you can just go back and modify it if you have forgot to set it

Sme 6.5rc1 and lower work great with php but the Sme 7 betas
have some problems php pages will display fine but something in the base configuration has changed GET requests fail

GET request for login & password like items http error 304 NOT MODIFIED and no cookie produced

I have spent over 20 hours on this problem stick with Sme 6.5 or less

Offline gordonr

  • *
  • 646
  • +0/-0
    • http://www.smeserver.com.au/
Re: Enable Php
« Reply #3 on: November 05, 2005, 10:10:47 PM »
Quote from: "gbaird"

I have spent over 20 hours on this problem stick with Sme 6.5 or less


And we won't be able to fix anything in 7.0beta without details of what is wrong. Which means 7 will have this issue unless someone can provide details of what to fix.

As we stated many times - something is different which affects third-party PHP scripts. But we don't know what it is either and can't debug it without help of those experiencing the problem.

I am still waiting to see an apology from you for your offensive behaviour in this thread. Although you have taken down the offending page, I find your behaviour unacceptable:

http://forums.contribs.org/index.php?topic=29397.msg122790#msg122790
............

Kris75

All php pages white
« Reply #4 on: November 06, 2005, 07:53:25 AM »
Thanks guys. Ill take the 6.5 and installl it instead. Horde works fine though!?

Kris75

All php pages white
« Reply #5 on: November 07, 2005, 08:03:38 AM »
I have upgraded to sme 6.5 and still the same problem:

http://cofman.helgenaes.com/cofman/de/main.php

All the pages are white. I have enabled Execution of dynamic content (CGI, PHP, SSI), but still the same!?!

What can it be?

duncan

All php pages white
« Reply #6 on: November 07, 2005, 09:44:16 AM »
Quote from: "Kris75"
I have upgraded to sme 6.5 and still the same problem:

http://cofman.helgenaes.com/cofman/de/main.php

All the pages are white. I have enabled Execution of dynamic content (CGI, PHP, SSI), but still the same!?!

What can it be?


Incorrect permissions, a database not populated, a problem with pear. Plenty of things can cause a white page.

Kris75

All php pages white
« Reply #7 on: November 08, 2005, 09:20:12 AM »
How should the permissions be on the sme server?

Offline judgej

  • *
  • 375
  • +0/-0
All php pages white
« Reply #8 on: November 08, 2005, 10:12:07 AM »
Quote from: "Kris75"
I have upgraded to sme 6.5 and still the same problem:

http://cofman.helgenaes.com/cofman/de/main.php


Have you tried looking at the source for that page? Looks to me like PHP is running fine. Check your code, or try running something simpler, like <? phpinfo(); ?>
-- Jason

Kris75

All php pages white
« Reply #9 on: November 08, 2005, 10:18:59 AM »
This is what i got when i tried <? phpinfo(); ?>. Does it look alright?

http://www.helgenaes.com/test%20php.php

Offline judgej

  • *
  • 375
  • +0/-0
All php pages white
« Reply #10 on: November 08, 2005, 10:41:37 AM »
Quote from: "Kris75"
This is what i got when i tried <? phpinfo(); ?>. Does it look alright?

http://www.helgenaes.com/test%20php.php


Looks good to me. PHP is definately running. The white screen you are seeing, is your PHP script producing a white screen. You are in the realms of PHP development now...

-- JJ
-- Jason

Kris75

All php pages white
« Reply #11 on: November 08, 2005, 07:06:01 PM »
Quote from: "judgej"
You are in the realms of PHP development now...


What do you meen by that? Realms?

Offline judgej

  • *
  • 375
  • +0/-0
All php pages white
« Reply #12 on: November 08, 2005, 09:08:02 PM »
Quote from: "Kris75"
Quote from: "judgej"
You are in the realms of PHP development now...


What do you meen by that? Realms?


It means: if your PHP scripts are not doing what you expect them to do - and I am sure you are not expecting them to produce a white screen - then best ask on a PHP forum.

-- JJ
-- Jason

Kris75

All php pages white
« Reply #13 on: November 08, 2005, 09:10:10 PM »
Ah ok, thanks.  :-)

gardnc

All php pages white
« Reply #14 on: November 08, 2005, 11:52:09 PM »
Kris75

Your page at:

http://www.helgenaes.com/test%20php.php

is working now.  Can you tell us how you repaired it?

Larry