Blank page after install
Submitted by Bithunter on Tue, 09/11/2007 - 02:00.
I've installed ProjectPier successfully, I think :)
But login page is completely blank ...
Environment is Windows Server 2003, PHP 5.2, MySQL 5 and Apache 2
Any advice is appreciated.
Thanks

Do your symptoms match this?: http://www.projectpier.org/node/124
Are you using the Uniform Server? There is a problem with Uniform Server that has yet to be solved (see www.projectpier.org/node/164 ). I would recommend trying XAMPP instead, Roland just wrote an article about how to install ProjectPier on XAMPP (see www.projectpier.org/node/224 ).
I seem to have a similar problem as BitHunter. The install process goes well until I enter the details for the admin. After that it just hangs for several minutes and eventually just shows a blank page. All other web apps running on localhost work just fine. I also tried OpenGoo and that had exactly the same problem. If you need any more info just ask.
System is XAMPP 1.6.3a running on XP Pro.
And thanks for ProjectPier :)
Flotsam, others have had this problem with Uniform Server, but not with XAMPP. Checkout the tutorial on installing ProjectPier on XAMPP, perhaps there is a change to the settings listed there that will help. If you find one particular setting that you made that fixed the problem, please post that back here as it may be helpful in solving the problems with Uniform Server as well.
Thanks,
Jon
The tutorial is here: http://www.projectpier.org/node/223
Hi, Jon,
I made another attempt this morning to see if I could figure out what was happening. I noticed that the status bar of the browser forever said "connecting to localhost" and guessed that something was timing out leaving the blank screen.
I then closed down everything that may have caused a problem, such as my firewall, moved my HOSTS file out (as that has some wacky localhost related redirects) and even turned off my Net connection. I reinstalled ProjectPier and it went perfectly this time.
I then added back the firewall, did a fresh install from scratch and that worked just fine. Next I added the HOSTS file back into the equation and did another complete reinstall and that was also perfect.
So, in summary, I have no idea why it didn't work before but I do recall that I gave up with activeCollab some months ago for the same reason. I hope this info may give a clue to anyone else that's having similar problems.
I was poking around in my nicely working copy of ProjectPier this afternoon and clicked the Update link on the Admin page. I got the same symptoms as the installation blank page. I carried out the same procedure as I did before and this time narrowed it down to having a Net connection available. When that was turned off the application gave a "you have the latest version" message. If the connection was on then it gave the blank page. In fact, if left long enough it would crash Apache.
My guess, and Roland may be able to confirm this, is that ProjectPier does a latest version check during installation and that is causing the blank screen.
Hope this helps :)
I cannot confirm this. I had that behavour with the Uniform Srv but not XAMPP.
I will test it with the latest build tomorrow on XAMPP and post my experiences - if it is the update stuff, than we should disable it by default.
Hi, Roland,
I did a clean install today with 0.8.0-final and had the same problem as before. Then I did another clean install with my software firewall set to disable all traffic and this time it worked correctly. I have XAMPP locked down at the firewall with outgoing Apache HTTP traffic blocked so I'm pretty sure that the problem is due to PP not being able to reach your server for the update check. I've cross-checked this by temporarily allowing Apache to talk to the outside world and the update check then works as expected.
Is there a way to disable the update check before installation? I'm no PHP expert so I wouldn't know where to start looking in the code to turn it off.
0.8.0-final seems to work beautifully from my brief usage today so I'll spend the next couple of days filling it with some test data.
If I'm not mistaken you can do that by:
a) using phpMyAdmin or any other tool, open config_options table, if you set a prefix it should be _config_options;
b) find upgrade_check_enabled row and set it's value to 0.
That should help.
Some help on getting over this problems can be found here: http://www.activecollab.com/blog/23/activecollab-on-your-computer-or-usb-revisited
Unfortunately I haven't been able to get PP on to UniformServer with those instructions, but for other servers where similar problems arise it could help.
I've noted this for future reference - many thanks.
After a couple of days of fairly heavy testing usage I can say that I've not found any problems with PP at all. I have a big (for me) project on the horizon and it will be my tool of choice for organising it so a big thank you to all the developers.
Hi all,
I also get a blank page each time I try to access my fresh installation of ProjectPier.
I tried every solution i could find (PP forums, activeCollab forums, ...) and i still can't get it to work.
With debug mode on, the error i get is the following :
Session "default" started at 2007-10-26T22:24:28+0000#1 FATAL: exception 'OwnerCompanyDnxError' with message 'Owner company is not defined' in /.../www/application/models/CompanyWebsite.class.php:64
Stack trace:
#0 /.../www/application/models/CompanyWebsite.class.php(45): CompanyWebsite->initCompany()
#1 /.../www/application/models/CompanyWebsite.class.php(49): CompanyWebsite->init()
#2 /.../www/application/application.php(21): CompanyWebsite::init()
#3 /.../www/init.php(125): require_once('/home/hebergeme...')
#4 /.../www/index.php(9): require('/home/hebergeme...')
#5 {main}
Any idea ?
Thanks in advance ;)
dcoueron, try this solution: http://www.activecollab.com/forums/topic/1654/
- Jon
Reposted below for future reference/archive:
You will need to manually create administrator user and owner company. Use phpMyAdmin or any other MySQL management tool to work with the database directly.
Start by inserting company row in companies table (may have prefix, usually ac_). Make sure that fields have following values:
id => 1
name => Your company name (use your organization name)
client_of_id => 0
created_by_id => 1
Now create a new user in users table:
id => 1
company_id => 1
username => Your username
email => Your email address
token => 0a92df346e3a833cae214d65af35e69b3cf4e5ab
salt => 6d093346fa02f
twister => 4982716305
is_admin => 1
auto_assign => 1
That should do the trick. Your password will be '123' (without quotes).
It's alive ! :)
Thanks a lot Jon.
Damien