errors in 1.8 installation scripts & how to resolve them

1.8 related questions and discussions.
Please upgrade to LATEST 1.9.x.
No more fixes for 1.8.

Moderators: Amaradana, TurboPT, TL Developers

errors in 1.8 installation scripts & how to resolve them

Postby upuaut » Thu May 08, 2008 9:26 pm

I attempted to upgrade from 1.7.4 to 1.8 beta, but bumped into errors

I dug in the installation code and found the errors in the installation scripts. I was able to fix the errors and finish the upgrade successfully. I recommend fixing those error mentioned below before you start the upgrade process.

What to do

1- locate the file migration_start.php script, which is under [YOUR_NEW_TESTLINK_DIR]/install/migration/migrate_17. Locate line ~ 266, which reads:

$dirs_to_check=array('../../../gui/templates_c,../../../logs');

change it into

$dirs_to_check=array('../../../gui/templates_c','../../../logs');

note the red single quotes added.

2- locate the file db_schema_update.sql which is under [YOUR_NEW_TESTLINK_DIR]/install/sql/alter_tables/1.8/mysql/DB.1.2 directory.

Now, locate line ~ 104, which reads:

ALTER TABLE `requirements` CHANGE COLUMN `id` int(10) unsigned NOT NULL;

and change it to

ALTER TABLE `requirements` CHANGE COLUMN `id` `id` int(10) unsigned NOT NULL;

Then, locate line ~ 107, which reads

ALTER TABLE `req_specs` CHANGE COLUMN `id` int(10) unsigned NOT NULL;

change it to

ALTER TABLE `req_specs` CHANGE COLUMN `id` `id` int(10) unsigned NOT NULL;


Now run the upgrade process.
hope this helps.
thanks.
upuaut
TestLink user
 
Posts: 6
Joined: Fri Dec 21, 2007 7:34 pm

Postby Nogem » Mon Aug 18, 2008 7:11 pm

Looking in the noted documents currently these same entries remain as upuaut noted incorrect. Have these been officially looked into? Are they going to be changed and are upuaut's changes officially recommended at this point?
Nogem
Advanced user
 
Posts: 21
Joined: Tue Nov 13, 2007 10:53 pm

Postby fman » Wed Aug 20, 2008 4:48 pm

I will check and do changes if needed
fman
Member of TestLink Community
 
Posts: 3069
Joined: Tue Nov 15, 2005 7:19 am


Return to TestLink 1.8 (OBSOLETE => EOL)[LOCKED]



Who is online

Users browsing this forum: No registered users and 1 guest

cron