Update [SOLVED]

Questions & Problems about Installing or Upgrading with Version 3 phpList.
Forum rules
Please help the volunteers to help you by supplying the version of phpList you are using, browser & version and if possible, a link to your phpList installation.

Update [SOLVED]

Postby kklo » 7:29pm, Wed 17 Sep, 2014

Hi,

How do I know which files were aletardos in the new version 3.0.8?

There is only one path with the changes to the new version?

I'm afraid to update the phplist and the new version delete the changes I made. Imagine having to buy one for one of the files to see what has changed.

Can anyone help me how to solve this problem?

thanks
kklo
Last edited by kklo on 1:06pm, Mon 22 Sep, 2014, edited 1 time in total.
kklo
PL Nut
 
Posts: 44
Joined: 12:50am, Sat 15 Sep, 2012

Re: Update

Postby kklo » 12:42pm, Fri 19 Sep, 2014

To see the updates made in the new version I have to compare line by line of 2,127 Files, 251 Folders ??

There must be some simpler way. Does anyone know?
kklo
PL Nut
 
Posts: 44
Joined: 12:50am, Sat 15 Sep, 2012

Re: Update

Postby duncanc » 2:15pm, Fri 19 Sep, 2014

You need to approach it in a different way.

List the files that you have altered in the previous release, and then compare only those with the same files in release 3.0.8. You will then see whether they have altered. If a file has not altered then you can simply copy your modified file, otherwise you will need to re-apply your changes.
duncanc
Moderator
 
Posts: 2440
Joined: 6:34am, Sat 08 May, 2010
Location: London

Re: Update

Postby kklo » 2:37pm, Fri 19 Sep, 2014

the problem is that I do not know which files I changed.
changed some, went back to the original, others kept the change, is really difficult.

I think phplist should launch every update with a version update patch and another full
kklo
PL Nut
 
Posts: 44
Joined: 12:50am, Sat 15 Sep, 2012

Re: Update

Postby danwaterloo » 2:52pm, Sat 20 Sep, 2014

one way to figure out what you changed is to use the 'diff' command

let's say your modified version of phplist is in a /lists folder
install a clean version of the phplist into /lists7 folder

to get the lists of files that have been changed, here's the command:

Code: Select all
diff -rcq   ./lists7/  ./lists/ | grep Files > diffoutfiles307.txt


it will list the names of the files that are modified into a file called diffout307.txt
There is also a way to compare two files, where it shows the lines that changed... just look that up using:

Code: Select all
man diff


on your unix computer.
danwaterloo
PL Master
 
Posts: 276
Joined: 3:51am, Wed 30 Oct, 2013
Location: http://www.phplistsupport.com

Re: Update

Postby kklo » 3:06pm, Sat 20 Sep, 2014

Linux does not use, can be used on the server?
kklo
PL Nut
 
Posts: 44
Joined: 12:50am, Sat 15 Sep, 2012

Re: Update

Postby danwaterloo » 3:10pm, Sat 20 Sep, 2014

??

I'm not sure what you are asking, but that I use the diff command on centos computers (linux). Most unix computers have the command installed, or you can add the command via yum or apt-get, etc.
Basically, you can figure out what changed using that command. You'll need to do this on a computer that will provide the diff command.
danwaterloo
PL Master
 
Posts: 276
Joined: 3:51am, Wed 30 Oct, 2013
Location: http://www.phplistsupport.com

Re: Update

Postby kklo » 6:03pm, Sat 20 Sep, 2014

I use it on my computer win, so I'm not using this command.
I want to know if I can use this command on the server that is hosted on the internet via phplist cPanel
kklo
PL Nut
 
Posts: 44
Joined: 12:50am, Sat 15 Sep, 2012

Re: Update

Postby danwaterloo » 10:20pm, Sat 20 Sep, 2014

You would need to login to the command line to use it... I don't think you can do this in cpanel, it depends on your hosting provider, and what kind of account you have, this is probably outside of the scope of phpList support...

Maybe you have a friend that can help you?
danwaterloo
PL Master
 
Posts: 276
Joined: 3:51am, Wed 30 Oct, 2013
Location: http://www.phplistsupport.com

Re: Update

Postby kklo » 2:59am, Sun 21 Sep, 2014

ok
I will see how I can do this

Thanks
kklo
kklo
PL Nut
 
Posts: 44
Joined: 12:50am, Sat 15 Sep, 2012


Return to Installing and Upgrading

Who is online

Users browsing this forum: No registered users and 1 guest