1. Micah Stetson
  2. obiblio
  3. Issues
Issue #105 on hold

It just display blank page when I click circulation, cataloging, admin...

Anonymous created an issue

After my server updated their php and MySQl, I can not log in and use Circulation, Cataloging, Admin and Reports. It just display blank page.

You can see this: http://ibc.ac.th/Library-Chinese/circ/index.php

My server info: PHP Version 5.3.25 MySQL: 5.1.68

http://ibc.ac.th/Library-Chinese/install/phpinfo.php

Also, it has no problem when I use it at other server.

Please help me.

Comments (10)

  1. Hans van der Weij

    phpinfo says display_errors is off. Perhaps turning it on will show what is causing trouble. When you don't have access to PHP.INI, try adding the following to /shared/common.php

    ini_set('display_errors',1); 
    error_reporting(E_ALL);
    

    Comment out the other lines starting with error_reporting.

    When the problem is fixed, undo all changes to common.php

  2. zikunthyme

    Thanks for your time to help me. The error message:

    Warning: session_start() [function.session-start]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Denver' for 'MDT/-6.0/DST' instead in /home/ibcacth/public_html/Library-Chinese/shared/common.php on line 121
    
    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/ibcacth/public_html/Library-Chinese/database_constants.php:22) in /home/ibcacth/public_html/Library-Chinese/shared/common.php on line 121
    
    Warning: session_start() [function.session-start]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Denver' for 'MDT/-6.0/DST' instead in /home/ibcacth/public_html/Library-Chinese/shared/common.php on line 121
    
    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/ibcacth/public_html/Library-Chinese/database_constants.php:22) in /home/ibcacth/public_html/Library-Chinese/shared/common.php on line 121
    
    Warning: header() [function.header]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Denver' for 'MDT/-6.0/DST' instead in /home/ibcacth/public_html/Library-Chinese/shared/logincheck.php on line 36
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/ibcacth/public_html/Library-Chinese/database_constants.php:22) in /home/ibcacth/public_html/Library-Chinese/shared/logincheck.php on line 36
    
  3. Hans van der Weij

    Probably it will be sufficient to fix the first warning.

    It is preferred to set date.timezone in PHP.INI.

    When you don't have access to PHP.INI, you can try to add the following line to /shared/common.php

    Unlike the changes mentioned in the previous messages, this should be a permanent change.

    date_default_timezone_set ( string $timezone_identifier ) 
    

    Check the documentation http://php.net/manual/en/function.date-default-timezone-set.php

    Make sure that the value for the PHP timezone is in sync with MySQL, otherwise you can experience problems with Circulation. You can check for this automatically by running the /install/ script in your web browser.

  4. zikunthyme

    Thank you so much for your time to help me. I have set the timezone. But the other errors remain:

    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/ibcacth/public_html/Library-Chinese/database_constants.php:22) in /home/ibcacth/public_html/Library-Chinese/shared/common.php on line 125
    
    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/ibcacth/public_html/Library-Chinese/database_constants.php:22) in /home/ibcacth/public_html/Library-Chinese/shared/common.php on line 125
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/ibcacth/public_html/Library-Chinese/database_constants.php:22) in /home/ibcacth/public_html/Library-Chinese/shared/logincheck.php on line 36
    
  5. Hans van der Weij

    Empty lines? Perhaps caused by editing. I've seen that before.

    About the timezone, not configured: I'm not sure if OpenBiblio should check for this. Isn't that something that the system administrator should take care of?

    Perhaps in the future OpenBiblio will have it's own timezone configuration, but I don't expect it soon.

  6. Log in to comment