Joomla! Discussion Forums



It is currently Sun Nov 08, 2009 7:35 am (All times are UTC )

 





Post new topic Reply to topic  [ 18 posts ] 
Author Message
Posted: Sat Sep 01, 2007 9:37 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11542
Location: **Translation Matters**
On a local testing site, one can live with extraneous files not overwritten by RC2.
But on a live site?
As some vulnerabilities have been solved in RC2, it is useful to let users know if any of these extraneous files are vulnerable, and if any, list them for users to delete by ftp.

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Qui vult dare parva non debet magna rogare.
---------------------------------
Joomla! Translation Coordination Team


Top
  E-mail  
 
Posted: Sat Sep 01, 2007 10:29 am 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Thu Aug 18, 2005 8:57 am
Posts: 1244
Location: Shrewsbury, Shropshire, United Kingdom
It would be trivially easy to remove those files that have a last modified date prior to the upgrade date (except configuration.php, .htaccess, etc., of course).  That would be much more certain than any statement from the developers (which might even be wrong!).

Regards,
Chris.

_________________
Joomla Leadership Team - Production Working Group
Joomla Documentation Coordinator

Davenport Technology Services (http://davenporttechnology.com)


Top
  E-mail  
 
Posted: Sat Sep 01, 2007 10:41 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Thu Aug 18, 2005 7:13 am
Posts: 13187
Trivially easy? Not a fun thing to do on shared hosting where most people are. I would personally do a reinstall, copy over template and configuration.php, and point to old database.

_________________
Antonie de Wilde - Forum admin
All Joomla! release dates and days between releases: http://jfoobar.org/blog/189-days-betwee ... a-releases.test


Top
   
 
Posted: Sat Sep 01, 2007 4:26 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11542
Location: **Translation Matters**
I was asking the question because I already was asked about this matter and the Announcement suggested to forget about this until final release.

I do think indeed that it is easier and safer to reinstall and point to the old db, after importing the dif.sql
Easier but not easy for all though as some users have also installed legacy or 1.5 extensions.

A user would not only have to keep configuration.php and custom templates but also keep a copy of all 3pd extensions files installed when in RC1 and then ftp them back. As some extensions have files in various folders, that may become a painful task.

Is it possible though that someone makes a diff between RC1 and RC2 to get a list of files who do not exist in the later?
I suppose we would get the path too in the diff. It would then be easy for all to delete these through ftp.
I would be happy to do that if someone tells me what soft I could use on Mac.

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Qui vult dare parva non debet magna rogare.
---------------------------------
Joomla! Translation Coordination Team


Top
  E-mail  
 
Posted: Sat Sep 01, 2007 4:37 pm 
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Wed Sep 27, 2006 11:55 pm
Posts: 344
It is always bad to have old files in the directorys. In 98% of all cases this ist not really a security problem. But it is possible. Hence it is a wise decision to remove this files.

I will tell you the way I do this. I am using a synchronizer. You can synchronize your local folder with the remote host. There are tools which deletes all files on the server which do not exist locally. Of course you have to be careful. Some folders, like images contains uploaded stuff. So you have to update it local or leave it out. This is no problem.

FTP synchronizing is a little bit difficult because the file dates may be different. A better way is to use WebDAV. With Directory Opus you can synchronize all files within 15 minutes. Just klick one button and the program will do the rest.  ;)


Top
  E-mail  
 
Posted: Sat Sep 01, 2007 5:08 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11542
Location: **Translation Matters**
I know how do to this personally as I use CaptainFTP on the Mac and Sync is a very useful feature.  ;)

Problem is that most users would not have/know how to do that.
Therefore a file list posted here could do the trick IMO.

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Qui vult dare parva non debet magna rogare.
---------------------------------
Joomla! Translation Coordination Team


Top
  E-mail  
 
Posted: Sat Sep 01, 2007 5:16 pm 
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Wed Sep 27, 2006 11:55 pm
Posts: 344
infograf768 wrote:
Problem is that most users would not have/know how to do that.
Therefore a file list posted here could do the trick IMO.


Take RC1 and RC2, use Beyond Compare and create a file list with two mouse clicks.  ;)


Top
  E-mail  
 
Posted: Sun Sep 02, 2007 7:35 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11542
Location: **Translation Matters**
As I said, I am on Mac...
Beyond compare is windows only.

Found an app for Mac.

There are 302 141 files to delete...  :'(
(Thanks for correction, Chris)
List attached underneath.


You do not have the required permissions to view the files attached to this post.

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Qui vult dare parva non debet magna rogare.
---------------------------------
Joomla! Translation Coordination Team


Last edited by infograf768 on Sun Sep 02, 2007 9:05 am, edited 1 time in total.

Top
  E-mail  
 
Posted: Sun Sep 02, 2007 8:46 am 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Thu Aug 18, 2005 8:57 am
Posts: 1244
Location: Shrewsbury, Shropshire, United Kingdom
Your file lists only 141 files of which:-

88 are in the installer which should be deleted after use anyway.
5 are folder names which appear to have been listed redundantly.
5 are empty index.html files which merely act to prevent directory listings.
15 are images
6 are CSS files
12 are JavaScript files

That leaves just 10 files.  You might like to check your list though if you think that were 302 files to delete.

Regards,
Chris.

_________________
Joomla Leadership Team - Production Working Group
Joomla Documentation Coordinator

Davenport Technology Services (http://davenporttechnology.com)


Top
  E-mail  
 
Posted: Sun Sep 02, 2007 8:52 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11542
Location: **Translation Matters**
Thanks Chris, for checking...
Obviously my shareware demo diff program did not present things correctly.

Maybe you could help all by just listing the 10 files?

EDIT: I figured the 302 figure. It was counting unique items in both folders, i.e. 141 in RC1 and 181 in RC2.  ;)

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Qui vult dare parva non debet magna rogare.
---------------------------------
Joomla! Translation Coordination Team


Last edited by infograf768 on Sun Sep 02, 2007 8:55 am, edited 1 time in total.

Top
  E-mail  
 
Posted: Sun Sep 02, 2007 9:04 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11542
Location: **Translation Matters**
Is that list correct then?
Quote:
administrator/components/com_media/admin.media.html.php
administrator/components/com_media/admin.media.popup.php
administrator/components/com_media/controller.php
administrator/components/com_media/toolbar.media.html.php
administrator/components/com_media/toolbar.media.php
administrator/modules/templates/modules.php
components/com_search/views/search/view.php
libraries/joomla/application/search.php
modules/templates/modules.php
templates/beez/html/com_user/lostpass/default.php

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Qui vult dare parva non debet magna rogare.
---------------------------------
Joomla! Translation Coordination Team


Top
  E-mail  
 
Posted: Sun Sep 02, 2007 9:17 am 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Thu Aug 18, 2005 8:57 am
Posts: 1244
Location: Shrewsbury, Shropshire, United Kingdom
Err, I didn't keep the list as I figured it was probably wrong given that you started with 302.  :-[

However, from memory it looks right.

Regards,
Chris.

_________________
Joomla Leadership Team - Production Working Group
Joomla Documentation Coordinator

Davenport Technology Services (http://davenporttechnology.com)


Top
  E-mail  
 
Posted: Sun Sep 02, 2007 10:59 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11542
Location: **Translation Matters**
http://forum.joomla.org/index.php/topic,208210.0.html

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Qui vult dare parva non debet magna rogare.
---------------------------------
Joomla! Translation Coordination Team


Top
  E-mail  
 
Posted: Sun Sep 02, 2007 12:45 pm 
User avatar
Joomla! Champion
Joomla! Champion
Offline

Joined: Fri Aug 12, 2005 12:47 am
Posts: 6431
Can this one be closed down ?

_________________
Johan Janssens - Joomla Co-Founder, Lead Developer of Joomla 1.5

http://www.nooku.org - multi-lingual content manager and rapid extension development framework for Joomla 1.5
http://www.joomlatools.eu - training, consulting and extension development


Top
   
 
Posted: Sun Sep 02, 2007 4:21 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11542
Location: **Translation Matters**
I don't mind locking it but don't you think it would be useful to let users know in a more proeminent place than "1.5 upgrading" about this possible issue and quite easy solution?
Adding a link to the Upgrading post in the main site announcement for example.

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Qui vult dare parva non debet magna rogare.
---------------------------------
Joomla! Translation Coordination Team


Top
  E-mail  
 
Posted: Sun Sep 09, 2007 10:09 pm 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso
Offline

Joined: Fri Sep 16, 2005 8:41 pm
Posts: 3651
Location: NRW - Germany
Bumping and moving to documentation forum.

_________________
god doesn't play dice with the universe. not after that drunken night with the devil where he lost classical mechanics in a game of craps.

Since the creation of the Internet, the Earth's rotation has been fueled, primarily, by the collective spinning of English teachers in their graves.


Top
   
 
Posted: Tue Dec 04, 2007 5:17 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat May 19, 2007 9:05 pm
Posts: 37
Tonie wrote:
Trivially easy? Not a fun thing to do on shared hosting where most people are. I would personally do a reinstall, copy over template and configuration.php, and point to old database.


Are you saying that every time you update with a nightly build you REINSTALL?!
Isn't that time consuming?  But probably much cleaner and the install doesn't require that much extra time, right?

Everything I will need is in these three:
  Database
  Templates folder
  configuration.php file
?

This sounds a lot more like what I would prefer to do... but I am nervous about making a mistake.


So, here are the steps I think I should follow, would someone inform me if I am accurate?
  1) download the most recent release candidate for Joomla 1.5
  2) upload
  3) run the install, inputting all the necessary data related to the database
  4) replace Templates folder and configuration.php on the newly installed version

Is there any danger in two joomla configurations pointing to the SAME database?  I mean can I simultaneously run two configurations for the same database before abandoning one?




Please advise,
bam


Last edited by bmccall17 on Tue Dec 04, 2007 5:43 am, edited 1 time in total.

Top
  E-mail  
 
Posted: Tue Dec 04, 2007 7:13 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat May 19, 2007 9:05 pm
Posts: 37
bmccall17 wrote:
Tonie wrote:
Trivially easy? Not a fun thing to do on shared hosting where most people are. I would personally do a reinstall, copy over template and configuration.php, and point to old database.


Are you saying that every time you update with a nightly build you REINSTALL?!
Isn't that time consuming?  But probably much cleaner and the install doesn't require that much extra time, right?

Everything I will need is in these three:
  Database
  Templates folder
  configuration.php file
?

This sounds a lot more like what I would prefer to do... but I am nervous about making a mistake.


So, here are the steps I think I should follow, would someone inform me if I am accurate?
  1) download the most recent release candidate for Joomla 1.5
  2) upload
  3) run the install, inputting all the necessary data related to the database
  4) replace Templates folder and configuration.php on the newly installed version

Is there any danger in two joomla configurations pointing to the SAME database?  I mean can I simultaneously run two configurations for the same database before abandoning one?




Please advise,
bam


Ok, I was able to get this fully uploaded.  But I am still getting an error when any user attempts to upload a new image through the Article Submission interface.  I get this error: Upload failed (403) :: as mentioned here: http://forum.joomla.org/index.php/topic ... msg1095811

Additionally, I still have a text wrapping issue with some of the articles that are submitted.  I have been unable to locate any difference in the code of each article, here is the page in question: http://www.sourceforwellbeing.com/sandb ... 9429017660
:: again mentioned here: http://forum.joomla.org/index.php/topic ... msg1095799


It would be lovely if I could get answers to these issues.  Thank you.


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group