upgrade testlink-1.9.3 to 1.9.12

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
pg75
TestLink user
Posts: 13
Joined: Sat Sep 15, 2012 10:07 am

upgrade testlink-1.9.3 to 1.9.12

Post by pg75 »

Hi,

my current version is 1.9.3
I installed testlink-1.9.12 on a new machine
I imported the testlink-1.9.3 database to testlink-1.9.12

Result
================================================== ============================

Access DB Error - debug_print_backtrace () OUTPUT START

================================================== ============================

# 0 database-> exec_query () called Expired at [/produit/httpd-testlink-2.2/docroot/testlink/lib/functions/database.class.php:550]
# 1 database-> fetchFirstRow () called Expired at [/produit/httpd-testlink-2.2/docroot/testlink/lib/functions/tlUser.class.php:280]
# 2 tlUser-> readFromDB () called Expired at [/produit/httpd-testlink-2.2/docroot/testlink/lib/functions/configCheck.php:227]
# 3 checkForAdminDefaultPwd () called Expired at [/produit/httpd-testlink-2.2/docroot/testlink/lib/functions/configCheck.php:275]
# 4 getSecurityNotes () called Expired at [/produit/httpd-testlink-2.2/docroot/testlink/login.php:132]
# 5 init_gui () called Expired at [/produit/httpd-testlink-2.2/docroot/testlink/login.php:31]

================================================== ============================

I execute /testlink/install/sql/alter_tables/1.9/mysql/DB.1.3/step1/db_schema_update.sql

Result

/testlink/install/sql/alter_tables/1.9/mysql/DB.1.3/step1/db_schema_update.sql: line 1: /bin: is a directory
/testlink/install/sql/alter_tables/1.9/mysql/DB.1.3/step1/db_schema_update.sql: line 2: db_schema_update.sql: command not found
testlink/install/sql/alter_tables/1.9/mysql/DB.1.3/step1/db_schema_update.sql: line 3: db_schema_update.sql: command not found
...
...



then I executed
/testlink/install/sql/alter_tables/1.9.12/mysql/DB.1.9.12/step1/db_schema_update.sql

Result
/produit/httpd-testlink-2.2/docroot/testlink/install/sql/alter_tables/1.9.12/mysql/DB.1.9.12/step1/db_schema_update.sql: line 1: syntax error near unexpected token `('
/produit/httpd-testlink-2.2/docroot/testlink/install/sql/alter_tables/1.9.12/mysql/DB.1.9.12/step1/db_schema_update.sql: line 1: `CREATE TABLE /*prefix*/testcase_relations ('

can you help me, please

Thanks
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: upgrade testlink-1.9.3 to 1.9.12

Post by fman »

you need to follow the procedure described on README file provided with Testlink installation.
pg75
TestLink user
Posts: 13
Joined: Sat Sep 15, 2012 10:07 am

Re: upgrade testlink-1.9.3 to 1.9.12

Post by pg75 »

Thanks.
I resolved my problem
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: upgrade testlink-1.9.3 to 1.9.12

Post by fman »

Good to know, but ... What about providing info about the solution? this is the way to work when you use a forum, in order to help others that may be have faced or will face similar problems
Post Reply