Joomla! Discussion Forums



It is currently Wed Nov 25, 2009 4:43 am (All times are UTC )

 


Forum rules

Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 20 posts ] 
Author Message
Posted: Sun Sep 02, 2007 10:55 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11676
Location: **Translation Matters**
Upgrade is compulsory as some vulnerabilities are corrected.

Please note:

1. Overwrite existing files through ftp or if on server through CPanel by decompressing the archive.

2. 141 files presents in RC1 are no more in RC2.
10 only could be concerned by vulnerabilities (does not mean they are) :

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


Better delete them by ftp than be sorry.  ;)

3. Do not forget to import in your database the diff.sql as there are some changes in the database.
../installation/sql/mysql/diff.sql

_________________
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 4:33 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Sat Oct 28, 2006 9:10 pm
Posts: 845
Location: Lisbon, Portugal
infograf768 wrote:
3. Do not forget to import in your database the diff.sql as there are some changes in the database.
../installation/sql/mysql/diff.sql


Hi, I will import my database from RC1 to RC2 yes. But this diff.sql must be a different thing... (?)
Could you give me more details?

_________________
Start hosting on http://www.myhostshop.com/


Top
  E-mail  
 
Posted: Sun Sep 02, 2007 4:48 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11676
Location: **Translation Matters**
If you keep your old database —which is what one is supposed to do when the RC1 Joomla site is operational and the reason of this sticky—, you have to import through PHPMyadmin the diff.sql as these are new in RC2.
If you install a brand new RC2 and thus create a new db in which you import some of your old db, the precautions above are unnecessary and the diff.sql too.

_________________
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 10:52 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Wed Aug 29, 2007 8:00 am
Posts: 104
Location: Charlotte, NC
During installation we are given the option of installing test data or running a migration script - could not the diff.sql be added as an option at this point?

The code which detects no configuration.php and runs the install system could check a file to see what the schema version number is (do we have a schema version #...) and then offer to apply diff.sql...

- Daniel

_________________
Ya' gotta get over this sometime... How about now... - L. W.


Top
  E-mail  
 
Posted: Mon Sep 03, 2007 3:08 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Jul 24, 2007 2:45 pm
Posts: 47
Location: Denmark
Be aware that the diff.sql needs to be modified if you are using other prefixes than the standard jos_
Simply replace the 2 places with red below with your prefix.

CREATE TABLE  `jos_core_acl_aro_map` (
  `acl_id` int(11) NOT NULL default '0',
  `section_value` varchar(230) NOT NULL default '0',
  `value` varchar(100) NOT NULL,
  PRIMARY KEY  (`acl_id`,`section_value`,`value`)
) TYPE=MyISAM CHARACTER SET `utf8`;

-- 29-July-2007 --
-- Fixes large object in session data

ALTER TABLE `jos_session`
  MODIFY COLUMN `data` LONGTEXT;


Top
  E-mail  
 
Posted: Wed Sep 05, 2007 7:59 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Aug 07, 2007 9:55 pm
Posts: 19
would it work to rename current joomla directory. Upload new RC2 files to the original directory name.  Copy the config file from old install to the new RC2 directory and then go from there?  This would eliminate all the unnecessary files.

Sorry if this is a stupid question.

Thanks


Top
  E-mail  
 
Posted: Thu Sep 06, 2007 1:50 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Wed Aug 29, 2007 8:00 am
Posts: 104
Location: Charlotte, NC
1) Backup...
    a) rename current joomla dir (effectively backing up all code)
        i) some may say this is overkill - other forum articles state that files can be left behind which are now security holes..
    b) login to MySQL and backup the database with whatever manner you enjoy
        i) JoomlaPack or one of the SQL backup extensions do this nicely from the admin page
2) upload latest nightly build of RC2(3,4,...N[Infinity-1])
3) Copy the config file from old
4) Delete the installation directory in the new
5) Check the changelog.php to see if schema has changed since last time you installed/updated
    i) if it did then *** Login to your MySQL database and apply diff.sql ***

That seems to be the way to go... (anyone looking over my shoulder - please correct me - cause this is what i do..)

_________________
Ya' gotta get over this sometime... How about now... - L. W.


Top
  E-mail  
 
Posted: Thu Sep 06, 2007 5:19 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Jun 01, 2007 3:01 pm
Posts: 30
You might want to add:

Copy custom templates


Top
   
 
Posted: Sat Sep 08, 2007 10:22 am 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Sat Sep 08, 2007 10:20 am
Posts: 1
Also copying /images directory from your "old joomla" is preferrable.


Top
  E-mail  
 
Posted: Sun Sep 09, 2007 6:43 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sun Feb 18, 2007 9:11 am
Posts: 14
infograf768 wrote:

1. Overwrite existing files through ftp or if on server through CPanel by decompressing the archive.

3. Do not forget to import in your database the diff.sql as there are some changes in the database.
../installation/sql/mysql/diff.sql


Hello,

This is what I have done. Uploaded Joomla1.5RC2 by FTP and used cPanel decompression. I've run dif.sql with phpMyAdmin.

When I try to access the website or admin I receive the following error:

Fatal error: Cannot redeclare class jtext in /home/rainbow/public_html/libraries/joomla/i18n/language.php on line 27

Anybody knows what could have caused this?
Thanks


Top
  E-mail  
 
Posted: Mon Sep 10, 2007 6:49 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Wed Aug 29, 2007 8:00 am
Posts: 104
Location: Charlotte, NC
k2aho & ohc: I get the DeeDeeDee award.. thanks for pointing those out... I feel like an idiot....

wildorchid: try to follow the instructions for removing all joomla code first... as listed above... as for your language.php problem - check your logs to see if you have permissions to overwrite the libraries directory... and as always - get the latest nightly build - check changelog.php to see if this problem with i18n has been addressed...  Daniel

_________________
Ya' gotta get over this sometime... How about now... - L. W.


Top
  E-mail  
 
Posted: Wed Sep 12, 2007 10:46 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat Mar 10, 2007 3:24 am
Posts: 17
Let me understand

I am using Cpanel. I have to go to Mysql database. At the end of this page, I click on phpMyAdmin. After,  I click on import option and I browse on my pc (1.5 RC2) for diff.sql and that is it?

If so, do I have after overwrite the new files?

It would be nice if anybody (an expert) can write a process for upgrade.

What about with new versions: 1.5 stable... would it be the same procedure?

Thanks for help... this is a black hole for me.

Andy


Top
  E-mail  
 
Posted: Thu Sep 13, 2007 6:39 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11676
Location: **Translation Matters**
andybezara wrote:
I am using Cpanel. I have to go to Mysql database. At the end of this page, I click on phpMyAdmin. After,  I click on import option and I browse on my pc (1.5 RC2) for diff.sql and that is it?

Yes.

Quote:
If so, do I have after overwrite the new files?

Files can be overwritten before or after

Quote:
What about with new versions: 1.5 stable... would it be the same procedure?

It is not expected at this stage that the database would have to be updated, but if it is, yes.

_________________
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: Thu Sep 13, 2007 9:26 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Wed Sep 12, 2007 8:26 pm
Posts: 3
Hello Joomla Friends,

What is the procedure for importing diff.sql directly from the Unix or Linux prompt when web access through phpMyAdmin is not an option?

Best Regards,
PrairieHome


Top
  E-mail  
 
Posted: Sun Sep 16, 2007 12:28 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Wed Aug 29, 2007 8:00 am
Posts: 104
Location: Charlotte, NC
If your shell is running on the same linux host with the mySQL server then you should be able to run the admin program "mysql" directly... do not confuse this with "mysqld" which is the actual database daemon process.

go to http://www.mysql.org/doc/refman/4.1/en/invoking-programs.html learn more about mysql administration.  Be sure to check which version you are running so that you can use the appropriate documentation.

Daniel

_________________
Ya' gotta get over this sometime... How about now... - L. W.


Top
  E-mail  
 
Posted: Sun Sep 16, 2007 12:36 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Wed Aug 29, 2007 8:00 am
Posts: 104
Location: Charlotte, NC
infrograf:  With talk of versioning and access control lists being in the future of J!... do you know who should this should be suggested to?

By making diff.sql as part of the install/upgrade process automatically, it closes a loophole in the process.  I offer my services to do the coding but I do not have an SVN login nor am I part of a development team... I would like to be though.  Any advice you can give would be appreciated. Daniel.

_________________
Ya' gotta get over this sometime... How about now... - L. W.


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

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11676
Location: **Translation Matters**
@dchapiesky

http://forum.joomla.org/index.php/board ... html&nbsp; :)

_________________
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: Mon Sep 17, 2007 4:24 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed Jul 11, 2007 2:52 pm
Posts: 36
edit: Going for a fresh install


Last edited by harner on Mon Sep 17, 2007 6:45 pm, edited 1 time in total.

Top
   
 
Posted: Mon Sep 17, 2007 4:59 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Mon Sep 17, 2007 4:57 pm
Posts: 6
Does this table exist?


Top
  E-mail  
 
Posted: Mon Sep 17, 2007 5:06 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed Jul 11, 2007 2:52 pm
Posts: 36
edit: Nevermind, going for a fresh install.


Last edited by harner on Mon Sep 17, 2007 6:45 pm, edited 1 time in total.

Top
   
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ] 

Quick reply

 



Who is online

Users browsing this forum: chris2699, NFP Publisher and 21 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