Unable to access User Administration after fresh install

The release related discussions, plans and questions.

Unable to access User Administration after fresh install

Postby mhayes » Fri May 09, 2008 4:51 pm

All,

I have completed the installation of 1.7.4. I am able to login and access some pages, but when I try to access the User Administration page, I just get a blank page. Any ideas what the problem might be?

Thanks,
Mark
mhayes
Advanced user
 
Posts: 15
Joined: Sun Apr 20, 2008 6:09 pm

Postby havlatm » Mon May 12, 2008 11:17 am

Set logging to debug and see in log what is wrong. This should work.
havlatm
Member of TestLink Community
 
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Postby mhayes » Mon May 12, 2008 3:19 pm

I have set the logging to debug, but it does not show much. Below is the logging output from an attempt to access the User Administration Page. By the way, I notice that in the browser source, it indicates that an error is being returned that the browser does not support frames. It reports this, no matter what browser I use (Internet Explorer or FireFox). It does not return the same error when I hit the demo site though. Any help would be much appreciated.

Logging:
[root@Linux-Test01 testlink]# cat /tmp/userlog1.log |more
[08/May/12 08:08:16][DEBUG][/testlink/lib/usermanagement/usersedit.php][admin][7rqb1qo6rj93b4999cufrielv0]
SQL [1] executed [took 0.0001 secs][all took 0.0001 secs]:
SET CHARACTER SET utf8
[08/May/12 08:08:16][DEBUG][/testlink/lib/usermanagement/usersedit.php][admin][7rqb1qo6rj93b4999cufrielv0]
SQL [2] executed [took 0.0001 secs][all took 0.0003 secs]:
SET collation_connection = 'utf8_general_ci'
[08/May/12 08:08:16][DEBUG][/testlink/lib/usermanagement/usersedit.php][admin][7rqb1qo6rj93b4999cufrielv0]
test /testlink/lib/usermanagement/usersedit.php
[08/May/12 08:08:16][DEBUG][/testlink/lib/usermanagement/usersedit.php][admin][7rqb1qo6rj93b4999cufrielv0]
SQL [3] executed [took 0.0005 secs][all took 0.0009 secs]:
SELECT roles.id, roles.description, rights.description AS rights_description, notes
FROM role_rights r, roles, rights
WHERE role_id=roles.id and right_id=rights.id
[08/May/12 08:08:16][DEBUG][/testlink/lib/usermanagement/usersedit.php][admin][7rqb1qo6rj93b4999cufrielv0]
SQL [4] executed [took 0.0001 secs][all took 0.0015 secs]:
SELECT id,description FROM roles WHERE id=3
[08/May/12 08:08:16][DEBUG][/testlink/lib/usermanagement/usersedit.php][admin][7rqb1qo6rj93b4999cufrielv0]
SQL [5] executed [took 0.0001 secs][all took 0.0017 secs]:
SELECT testproject_id,role_id FROM user_testproject_roles WHERE user_id = 1
[08/May/12 08:08:16][DEBUG][/testlink/lib/usermanagement/usersedit.php][admin][7rqb1qo6rj93b4999cufrielv0]
SQL [6] executed [took 0.0001 secs][all took 0.0019 secs]:
SELECT testplan_id,role_id FROM user_testplan_roles WHERE user_id = 1
[08/May/12 08:08:16][DEBUG][/testlink/lib/usermanagement/usersedit.php][admin][7rqb1qo6rj93b4999cufrielv0]
SQL [7] executed [took 0.0001 secs][all took 0.0021 secs]:
SELECT testproject_id,role_id FROM user_testproject_roles WHERE user_id = 1
[08/May/12 08:08:16][DEBUG][/testlink/lib/usermanagement/usersedit.php][admin][7rqb1qo6rj93b4999cufrielv0]
SQL [8] executed [took 0.0001 secs][all took 0.0023 secs]:
SELECT testplan_id,role_id FROM user_testplan_roles WHERE user_id = 1
[08/May/12 08:08:16][DEBUG][/testlink/lib/usermanagement/usersedit.php][admin][7rqb1qo6rj93b4999cufrielv0]
SQL [9] executed [took 0.0001 secs][all took 0.0025 secs]:
SELECT testproject_id,role_id FROM user_testproject_roles WHERE user_id = 1
[08/May/12 08:08:16][DEBUG][/testlink/lib/usermanagement/usersedit.php][admin][7rqb1qo6rj93b4999cufrielv0]
SQL [10] executed [took 0.0001 secs][all took 0.0027 secs]:
SELECT testplan_id,role_id FROM user_testplan_roles WHERE user_id = 1
[08/May/12 08:08:16][DEBUG][/testlink/lib/usermanagement/usersedit.php][admin][7rqb1qo6rj93b4999cufrielv0]
SQL [11] executed [took 0.0002 secs][all took 0.003 secs]:
SELECT testproject_id,role_id FROM user_testproject_roles WHERE user_id = 1
[08/May/12 08:08:16][DEBUG][/testlink/lib/usermanagement/usersedit.php][admin][7rqb1qo6rj93b4999cufrielv0]
SQL [12] executed [took 0.0001 secs][all took 0.0033 secs]:
SELECT testplan_id,role_id FROM user_testplan_roles WHERE user_id = 1
[08/May/12 08:08:16][DEBUG][/testlink/lib/usermanagement/usersedit.php][admin][7rqb1qo6rj93b4999cufrielv0]
SQL [13] executed [took 0.0001 secs][all took 0.0035 secs]:
SELECT id,description FROM roles
[root@Linux-Test01 testlink]#
mhayes
Advanced user
 
Posts: 15
Joined: Sun Apr 20, 2008 6:09 pm

Postby havlatm » Mon May 19, 2008 8:21 pm

It seems that the frame problem is web server related issue. See
http://www.techzonez.com/forums/archive ... -2545.html

It's possible that user administration include some newly added component (for example table sorting) that have a problem with your webserver.
havlatm
Member of TestLink Community
 
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Postby mhayes » Tue Jul 08, 2008 5:27 pm

FYI, Should any other users encounter this problem:

I determined that the nature of the problem was that the memory_limit variable in the /etc/php.ini file was set to low. Changing the value to memory_limit = 12M solved the problem. It is interesting though that the original value of memory_limit = 8M was insufficent as this was a fresh installation with only a single user to render. Not sure if this points to a code issue somewhere or not.
mhayes
Advanced user
 
Posts: 15
Joined: Sun Apr 20, 2008 6:09 pm

do not get management/admin interface when logged as admin

Postby chuck » Thu Aug 21, 2008 6:47 pm

I have changed my /etc/php.ini memory_limit to 12M and then to 16M, but that has not resolved the problem.
I have deleted the testlink database and reloaded it using the sql scripts to recreate the database and reload the default data.
chuck
TestLink user
 
Posts: 5
Joined: Thu Aug 21, 2008 6:00 pm


Return to TestLink 1.7 (Closed)



Who is online

Users browsing this forum: No registered users and 3 guests