Author Topic: index.php displays blank page  (Read 2225 times)

Offline kram

  • User
  • *
  • Posts: 5
    • View Profile
index.php displays blank page
« on: August 11, 2010, 08:13:54 PM »
I've installed version 0.9.9.5.1 on Centos server.  PHP version is 5.1.6, mysql version 5.0.77, apache 2.

the install went well...it created the database, created the config files and deleted the install and update files.  However.....the front end index page is blank.  The backend index page displays the log in screen and then the configuration page.

I'm going crazy looking for answers.

Any ideas?

Offline admin

  • Administrator
  • User
  • *****
  • Posts: 553
    • View Profile
    • http://www.lordlamer.de
Re: index.php displays blank page
« Reply #1 on: August 11, 2010, 08:16:47 PM »
Hi,

could you check your apache errorlog or php log if you found any errors?!

On the other hand you could run the index.php on the shell to see the problems.

regards,
Frank

Offline kram

  • User
  • *
  • Posts: 5
    • View Profile
Re: index.php displays blank page
« Reply #2 on: August 11, 2010, 09:35:42 PM »
attached here is the output from running index.php from shell.

Offline admin

  • Administrator
  • User
  • *****
  • Posts: 553
    • View Profile
    • http://www.lordlamer.de
Re: index.php displays blank page
« Reply #3 on: August 11, 2010, 09:49:13 PM »
Hi,

ok you have a rights problem in your system:

Code: [Select]
PHP Warning:  session_start(): open(/var/lib/php/session/sess_h8cu0j8cidsq4472j1
5v95os34, O_RDWR) failed: Permission denied (13) in /var/www/html/knowledgeroot/
include/class-session.php on line 101

You should set other rights on /var/lib/php/session/ or should reconfigure your php installation to use a different session store.

ok?

regards,
Frank

Offline kram

  • User
  • *
  • Posts: 5
    • View Profile
Re: index.php displays blank page
« Reply #4 on: August 16, 2010, 04:27:20 PM »
I set right as you suggested but am  now getting these errors:

[fhcuser@fhc-webserv-01 knowledgeroot]$ ./index.php
PHP Notice:  Undefined index:  HTTP_HOST in /var/www/html/knowledgeroot/include/class-knowledgeroot-header.php on line 1821
PHP Notice:  Undefined index:  REQUEST_URI in /var/www/html/knowledgeroot/include/class-knowledgeroot-header.php on line 1771
PHP Notice:  Undefined index:  ORIG_SCRIPT_NAME in /var/www/html/knowledgeroot/include/class-knowledgeroot-header.php on line 1764
PHP Notice:  Undefined index:  QUERY_STRING in /var/www/html/knowledgeroot/include/class-knowledgeroot-header.php on line 1773
PHP Notice:  Undefined index:  HTTP_HOST in /var/www/html/knowledgeroot/include/class-knowledgeroot-header.php on line 1821
PHP Notice:  Undefined index:  REQUEST_URI in /var/www/html/knowledgeroot/include/class-knowledgeroot-header.php on line 1771
PHP Notice:  Undefined index:  ORIG_SCRIPT_NAME in /var/www/html/knowledgeroot/include/class-knowledgeroot-header.php on line 1764
PHP Notice:  Undefined index:  QUERY_STRING in /var/www/html/knowledgeroot/include/class-knowledgeroot-header.php on line 1773
PHP Fatal error:  Call to undefined function mb_detect_encoding() in /var/www/html/knowledgeroot/system/php-gettext/gettext.inc.php on line 109


register_globals is set to on in php.ini.

Offline admin

  • Administrator
  • User
  • *****
  • Posts: 553
    • View Profile
    • http://www.lordlamer.de
Re: index.php displays blank page
« Reply #5 on: August 17, 2010, 08:46:45 AM »
Hi,

did you run php as cgi or fastcgi or apachemodule?

Did you have multibyte functions/extension enabled in php?

register_globals do not net to be set on.

regards,
Frank

Offline kram

  • User
  • *
  • Posts: 5
    • View Profile
Re: index.php displays blank page
« Reply #6 on: August 17, 2010, 03:47:21 PM »
PHP runnign as apachemodule

multibyte functions/extension enabled in php?   --- NO

I turned register_globals back off

Offline admin

  • Administrator
  • User
  • *****
  • Posts: 553
    • View Profile
    • http://www.lordlamer.de
Re: index.php displays blank page
« Reply #7 on: August 17, 2010, 04:41:54 PM »
Hi,

please enable multibyte support!

regards,
Frank

Offline kram

  • User
  • *
  • Posts: 5
    • View Profile
Re: index.php displays blank page
« Reply #8 on: August 17, 2010, 07:34:15 PM »
enabling multibyte support did the trick!!!

Thanks for the help.

Mark

Offline admin

  • Administrator
  • User
  • *****
  • Posts: 553
    • View Profile
    • http://www.lordlamer.de
Re: index.php displays blank page
« Reply #9 on: August 17, 2010, 07:35:27 PM »
Good to hear :)