install / upgr... > Bug (done?)

blank screen after installation of v0.07xx / #2719

Summary

v0.08
done?
Oct 27, 2006
100%
Oct 27, 2006 / pixtur
Feb 25, 2007 / pixtur
 

Attached files

Summary
php.ini
46494 bytes / ID 3313 / Dec 10, 2006
Show Details
 

I just installed the latest version of Streber v.0.07rc1. The installation went fine but after it completed I was redirected to the login screen and all I get is a blank screen.




alse see:

Issue report

Minor
Have not tried
WinXP / Firefox
v0.0701
rev123
 

6 Comments

guest

Nov 10, 2006
version 2
Tried again with latest version, same thing happens
Just tried it again with a new fresh install using v0.0704 final, same thing.

Here is the bug related info:
  • Streber v0.0704 final
  • FireFox v.2.0
  • MySQL v.4.0.23-max
  • PHP v.5.1.2
  • Apache v2.0.55
  • Windows XP pro, service pack 2
errors.log.php:

Error 20061109182145 WARNING:   dbdb_item.inc.php :   2 require_once(db/db.inc.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory
Error 20061109182145                     index.php : 179 -> require_once("C:wwwstreberdbdb_item.inc.")
Error 20061109182145 
Error 20061109182145      Variables in require_once():
Error 20061109182145                       GLOBALS = Array
Error 20061109182145                         _POST = NULL
Error 20061109182145                          _GET = NULL
Error 20061109182145                       _COOKIE = NULL
Error 20061109182145                        _FILES = NULL
Error 20061109182145                      _REQUEST = NULL
Error 20061109182145                    TIME_START = 1163096505.2308
Error 20061109182145               DB_ITEMS_LOADED = NULL
Error 20061109182145                            tz = America/New_York
Error 20061109182145              g_cache_projects = NULL
Error 20061109182145               g_cache_persons = NULL
Error 20061109182145                 g_cache_tasks = NULL
Error 20061109182145                g_request_vars = NULL
Error 20061109182145                g_tags_removed = NULL
Error 20061109182145                        g_lang = en
Error 20061109182145                       _SERVER = Array
Error 20061109182145                  g_error_list = NULL
Error 20061109182145                  g_item_names = Array
Error 20061109182145            COMMENTTYPE_VALUES = Array
Error 20061109182145             COMMENTTYPE_NAMES = Array
Error 20061109182145          g_security_questions = Array
Error 20061109182145                  g_time_zones = Array
Error 20061109182145                      g_config = Array
Error 20061109182145                           url = www.mydomain.net/streber/index.php
Error 20061109182145                      g_themes = Array
Error 20061109182145                 g_theme_names = Array
Error 20061109182145               g_user_profiles = Array
Error 20061109182145                   g_languages = Array
Error 20061109182145              g_language_names = Array
Error 20061109182145                       db_type = mysql
Error 20061109182145                          auth = Object id #1
Error 20061109182145    v0.0703, from 70.145.76.230,  uri:/streber/index.php
Error 20061109182145



pixtur

Nov 10, 2006
version 2
We need php.ini for this
php.ini would be interesting...

This errors says, that a file inside a sub directory couldn't be found. Make sure, all directories and files inside those directories are readable for php/apache.

pixtur

Nov 13, 2006

pixtur

Dec 10, 2006
Changes in php.ini
I checked the php.ini for differences:

 output_buffering = 4096

 allow_call_time_pass_reference = Off

 max_execution_time = 600     ; Maximum execution time of each script, in seconds
 max_input_time = 600	; Maximum amount of time each script may spend parsing request data
 memory_limit = 256M      ; Maximum amount of memory a script may consume (8MB)

 display_errors = Off
 log_errors = On


 variables_order = "GPCS"   #was  "EGPCS"

 register_long_arrays = Off
 register_argc_argv = Off
 post_max_size = 8M
 magic_quotes_gpc = Off
 session.bug_compat_42 = 0
 url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
 #my: url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="

[Sockets]
; Use the system read() function instead of the php_read() wrapper.
sockets.use_system_read = On

I checked this php.ini but still couldn't reproduce the behaviour. I will try with php5.2.0 next.


pixtur

Dec 10, 2006
version 2
I can now reproduce the bug...
This is a mixture of several issues:
  • In the php.ini display_errors was off. If streber encountered any error, you get a blank page. The error-code can the be found in apache's own error.log
  • For some reason I do not understand the require_once() method does not work inside included files. This is a pain in the ass (Yeah! Php — please, Hit me one more time, please please!. Oh dear... What a joke.) Anyways, I now have to change all require_once() command.
  • The was a problem calling a function from the mysql-extension. I now check, if this function exists and put out an error.
Oh jesus. I am sooo happy with php. Please give me something to kick.

guest

Dec 14, 2006
New Comment
Hi guys.
I had similar problem too.
The solution is to add . to the include_path in php.ini.
E.g. i had: include_path = "C:\PHP\PEAR"
You need to replace it with: include_path = ".;C:\PHP\PEAR"
Best regards, Alex.
 

Comment / Update