Blank login page after 1.9.4 -> 1.9.7 upgade

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
MyTallest
TestLink user
Posts: 1
Joined: Wed Sep 19, 2012 8:02 pm

Blank login page after 1.9.4 -> 1.9.7 upgade

Post by MyTallest »

I have gone through the steps outlined in the README file twice. Restoring everything in-between. When accessing the main page it redirects to login.php as usual but the page is blank.

Here is output from the access log:

10.0.1.9 - - [06/Jun/2013:11:29:22 -0700] "GET /testlinknew/ HTTP/1.1" 200 135
10.0.1.9 - - [06/Jun/2013:11:29:22 -0700] "GET /testlinknew/login.php HTTP/1.1" 200 1
10.0.1.9 - - [06/Jun/2013:11:30:58 -0700] "GET /projects/toodledo-ios/issues.atom?key=2cae6e96cd223b16d3266f9c7b4dc3aaac817ac1&query_id=9 HTTP/1.1" 404 1
10.0.1.9 - - [06/Jun/2013:11:30:58 -0700] "GET /projects/toodledo-ios/issues.atom?key=2cae6e96cd223b16d3266f9c7b4dc3aaac817ac1&query_id=2 HTTP/1.1" 200 22667
10.0.1.9 - - [06/Jun/2013:11:32:58 -0700] "GET /projects/toodledo-ios/issues.atom?key=2cae6e96cd223b16d3266f9c7b4dc3aaac817ac1&query_id=9 HTTP/1.1" 404 1
10.0.1.9 - - [06/Jun/2013:11:32:58 -0700] "GET /projects/toodledo-ios/issues.atom?key=2cae6e96cd223b16d3266f9c7b4dc3aaac817ac1&query_id=2 HTTP/1.1" 200 22667

The first two lines are the initial failed login attempt.

This is the output of login.php.

<html><head></head><body></body></html>

Have I missed something during the install?
fman
Member of TestLink Community
Posts: 3106
Joined: Tue Nov 15, 2005 7:19 am

Re: Blank login page after 1.9.4 -> 1.9.7 upgade

Post by fman »

my suggestion can sound silly but think is a test to do

1. upgrade from 1.9.4 to 1.9.5 => check that you can login and basic features are working
2. if 1) goes OK, do same that 1) but from 1.9.5 to 1.9.6
3. if 2) goes OK, do same that 1) but from 1.9.6 to 1.9.7

this will allow us to find where the glitch exists
osmanAmine
TestLink user
Posts: 8
Joined: Sun Dec 11, 2011 8:01 am
Location: Tunisie

Re: Blank login page after 1.9.4 -> 1.9.7 upgade

Post by osmanAmine »

hi i have a same problem
can you help me please
mrommel
Advanced user
Posts: 16
Joined: Thu Jul 19, 2012 9:37 pm

Re: Blank login page after 1.9.4 -> 1.9.7 upgade

Post by mrommel »

I had the same problem.
In my case there were 205 files missing.
Could you check up the folter (...)/gui/templates_c/
Those files had been missing on my system.
After i had placed them into this directory, I had the normal interface ...

Hope this could help.

Regards
TurboPT
Member of TestLink Community
Posts: 343
Joined: Sun Dec 10, 2006 4:51 am

Re: Blank login page after 1.9.4 -> 1.9.7 upgade

Post by TurboPT »

mrommel wrote:I had the same problem.
In my case there were 205 files missing.
Could you check up the folter (...)/gui/templates_c/
Those files had been missing on my system.
After i had placed them into this directory, I had the normal interface ...

Hope this could help.

Regards
@mrommel

That sounds like a possible configuration and/or permissions issue?

The templates_c/ directory stores compiled smarty templates. Those are dynamically created if they don't already exist, and a template is automatically updated [recompiled] if a template's timestamp has changed.
smarty.net wrote: ...Upon each invocation of the PHP application, Smarty tests to see if the current template has changed (different timestamp) since the last time it was compiled. If it has changed, it recompiles that template. If the template has yet not been compiled at all, it will compile regardless of this setting...
So, it does NOT matter if those files were missing.
maia
TestLink user
Posts: 2
Joined: Mon Jul 29, 2013 8:20 pm

Re: Blank login page after 1.9.4 -> 1.9.7 upgade

Post by maia »

Good morning,

I am having the same problem when upgrading from 1.9.3 to 1.9.7.
I have done what mrommel said about the files in the folder templates_c/ without sucess.
Also, i have tried to upgrade like fman said, from 1.9.3 to 1.9.4, and the result is the same.

I have followed all the indications from the installation manual and from the README file, including the database upgrade, and i have always the same result, the login page returns blank.

Can someone help?
Post Reply