manual update 1.7.0 -> 1.7.1

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
sdm
Advanced user
Posts: 16
Joined: Mon Nov 12, 2007 8:04 am

manual update 1.7.0 -> 1.7.1

Post by sdm »

Is there a .sql-script available, so that I can manually update TL 1.7.0 -> 1.7.1?

Due to some other apps running on the same webserver, I can't change the php.ini (register globals), so I would like to manually update the database.
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Post by fman »

sdm
Advanced user
Posts: 16
Joined: Mon Nov 12, 2007 8:04 am

Post by sdm »

@fman

that is not the answer to my question.

I want to update the database manually (i.e. through PHPMyAdmin), because I can't change the php.ini (register globals), and therefore I can't update through the install-folder.

I just want a .sql-script which I can run manually in the database!
havlatm
Member of TestLink Community
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Post by havlatm »

You can do it but it's a lot of work. We made significant changes in core tables (for example nodes). It's not only run sql scripts.
I suggest to try set required php settings in script or directory (if allowed by server configuration). Otherwise disable this blocking checking to go ahead in automatic installation.
sdm
Advanced user
Posts: 16
Joined: Mon Nov 12, 2007 8:04 am

Post by sdm »

I disabled the check on 'register_globals' and performed the upgrade.


thnx
fbab
TestLink user
Posts: 1
Joined: Sat Dec 22, 2007 9:54 pm

Post by fbab »

Dear sdm,

I wondered what you meant by 'disabled the check'
Here is the tip to do it (is it what you meant ?)
With Testlink 1.7.0 (cf [1])
edit the file testlink_170/install/newInstallStart_TL.php
and change line 104
before change
if($errors>0)
after change
if($errors>1)

Then, the script allows you to continue the installation even if there is one error.

Hope it can help !

Reference :
[1] : http://downloads.sourceforge.net/testli ... g_mirror=0
sdm
Advanced user
Posts: 16
Joined: Mon Nov 12, 2007 8:04 am

Post by sdm »

I did it in the way you described
Post Reply