I'm getting a blank page when opening gbook.php
Running PHP 5.2.8
IIS 7
Vista 64 bit
I've read previous posts where sessions have been indicated as the culprit. These are my php settings
Session Support enabled
Registered save handlers files user sqlite
Registered serializer handlers php php_binary wddx
Directive Local Value Master Value
session.auto_start Off
session.bug_compat_42 On
session.bug_compat_warn On
session.cache_expire 180
session.cache_limiter nocache
session.cookie_domain no value
session.cookie_httponly Off
session.cookie_lifetime 0
session.cookie_path /
session.cookie_secure Off
session.entropy_file no value
session.entropy_length 0
session.gc_divisor 100
session.gc_maxlifetime 1440
session.gc_probability 1 1
session.hash_bits_per_character 4
session.hash_function 0
session.name PHPSESSID
session.referer_check no value
session.save_handler files
session.save_path no value
session.serialize_handler php
session.use_cookies On
session.use_only_cookies Off
session.use_trans_sid 0
Is there something else I should be looking at?
Thanks
DD
Blank page
If you getting a blank page the problem aren't sessions (at least not for this part), but something else. Post a link to your GBook and to your phpinfo file.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
I'm still in development mode - working on localhost...
I've saved a version of the info.php file as on my webserver - you can access it at:
http://www.d-squared.com/d2_php/
Thank you
I've saved a version of the info.php file as on my webserver - you can access it at:
http://www.d-squared.com/d2_php/
Thank you
Delete this from the settings.php file then open gbook.php again and see if you get any error messages:
Code: Select all
ini_set('display_errors', 0);
ini_set('log_errors', 1);
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Tried that in IE 7 and Firefox 3.0.7 - no error messages.
I've also tried a clean install in a different folder.
Permissions are properly set.
It's probably something really obvious but I can't figure it out - my php knowledge is intermediate.
I got this working just fine on my work PC (it runs on XP Pro, if that makes a difference).
I uploaded my settings file to:
http://www.d-squared.com/d2_php/settings.txt
I've also tried a clean install in a different folder.
Permissions are properly set.
It's probably something really obvious but I can't figure it out - my php knowledge is intermediate.
I got this working just fine on my work PC (it runs on XP Pro, if that makes a difference).
I uploaded my settings file to:
http://www.d-squared.com/d2_php/settings.txt
If deleting those two lines form the settings file didn't give any error messages I'm afraid I'm out of ideas.
Settings file looks fine.
Usually a blank page would mean PHP not working (it obviously is on your server) or ZLib not enabled but this should show as an error if above lines are removed and your phpinfo file shows ZLib is enabled.
What you can try is to run the sessions test:
http://www.phpjunkyard.com/extras/session_test.zip
Upload, open session_test.php, click the link you get and see if you get the test session variable set to "TRUE" on the next page.
Settings file looks fine.
Usually a blank page would mean PHP not working (it obviously is on your server) or ZLib not enabled but this should show as an error if above lines are removed and your phpinfo file shows ZLib is enabled.
What you can try is to run the sessions test:
http://www.phpjunkyard.com/extras/session_test.zip
Upload, open session_test.php, click the link you get and see if you get the test session variable set to "TRUE" on the next page.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools