Talk

Difference between revisions of "Copying a Joomla website"

From Joomla! Documentation

m (Answer)
 
(6 intermediate revisions by 2 users not shown)
Line 43: Line 43:
  
 
Improvements to this, or any, page are welcome.  It's a wiki; everyone has write access. :)  [[User:Chris Davenport|Chris Davenport]] 07:35, 29 June 2009 (UTC)
 
Improvements to this, or any, page are welcome.  It's a wiki; everyone has write access. :)  [[User:Chris Davenport|Chris Davenport]] 07:35, 29 June 2009 (UTC)
 +
 +
== FTP Info In configuration.php ==
 +
 +
This article doesn't include the fact that you will need to chang FTP info in the configuration.php file along with the log and tmp paths. I know that this is simple, but for newbs like myself I thought I would include that in here. You need to go into the configuration.php file and edit
 +
       
 +
        <font color="blue">var</font> <font color="#2B3856">$ftp_host</font> <font color="purple">=</font> '123.0.0.4'<font color="purple">;</font>
 +
        <font color="blue">var</font> <font color="#2B3856">$ftp_port</font> <font color="purple">=</font> '21'<font color="purple">;</font>
 +
        <font color="blue">var</font> <font color="#2B3856">$ftp_user</font> <font color="purple">=</font> 'example'<font color="purple">;</font>
 +
        <font color="blue">var</font> <font color="#2B3856">$ftp_pass</font> <font color="purple">=</font> 'abc123'<font color="purple">;</font>
 +
        <font color="blue">var</font> <font color="#2B3856">$ftp_root</font> <font color="purple">=</font> '/public_html'<font color="purple">;</font>
 +
 +
to include your information under ftp_host, ftp_user, and ftp_pass, and possibly the other variables depending upon your particular situation.
 +
 +
Cody Ham
 +
 +
== Changing configuration.php writable directories ==
 +
 +
Page heading says tutorial is for 2.5 and 3, but 'writable directory' information was for 1.5, so I updated it.
 +
 +
Both 'Help' and the large capital 'B' say to use three quotes (&apos;&apos;&apos;) for bold text, but this did not work on that page, but it does on this one!<br />
 +
I also tried &lt;strong&gt;, &lt;b&gt;, and [b] but to no avail.
 +
 +
The descriptions in parentheses (eg Cache Directory) should be bold.
 +
 +
:Thank you for the corrections! The methods to bold or style text is suppressed when code falls between tags.
 +
:<pre>'''This bolding will not work''' because it falls between pre tags. Same would occur between source tags.</pre>
 +
:'''But this is bolded'''. Thanks again for edits. [[User:Tom Hutchison|Tom Hutchison]] ([[User talk:Tom Hutchison|talk]]) 22:59, 30 December 2014 (CST)

Latest revision as of 23:59, 30 December 2014

its very important to note that when you run the tar command you are NOT in the directory you are backing up or you will create an endless loop as it will continously sit there and try to backup the backup file.

Thanks. I can see you have already made the change. Chris Davenport 12:28, 25 March 2008 (EDT)

configuration.php vars[edit]

Hi,

in configuration.php vars $log_path and $tmp_path should be edited to point to the correct paths. Or does J! 1.5 do this automatically after first backend login?

Greets

afaik it does and they're set by the installer. If unedited, both default to JPATH_ROOT + "tmp" and "log" respectively. --CirTap (talkcontribs) 05:51, 23 July 2008 (EDT)

Format of mysqldump statement ?[edit]

In this article the mysqldump statement is noted like:

mysqldump -u user -p db-name > db-name.out

Shouldn't it be

mysqldump --user=username --password=password database > dumbfile.sql

instead (so with double "--" ) see: http://dev.mysql.com/doc/refman/5.0/en/mysqldump.html

Both forms should work. Chris Davenport 08:58, 26 August 2008 (EDT)


Format of mysqldump statement (again)[edit]

I realize that I'm probably the first person person to actually try to copy a Joomla site, but it would be really helpful if this page gave a working mysqldump statement for reference. I'd suggest including the

-h [servername]

part for those of us that don't run our own dedicated database servers. Oskay 04:57, 31 August 2008 (EDT)

This site is undiscoverable[edit]

Hi, while being in a state of support frenzy in the Joomla forums I recently made a google search for comprehensible and complete info on how to migrate a Joomla installation to a new server/domain. This wiki page didn't come up. I think this page needs more keywords like these: moving, migrating, migration, new server, new domain. I think PageRang shouldn't be an issue with this wiki, you just need broader headlines/keywords/tags. Stroganoff 00:36, 29 June 2009 (UTC)

Improvements to this, or any, page are welcome. It's a wiki; everyone has write access. :) Chris Davenport 07:35, 29 June 2009 (UTC)

FTP Info In configuration.php[edit]

This article doesn't include the fact that you will need to chang FTP info in the configuration.php file along with the log and tmp paths. I know that this is simple, but for newbs like myself I thought I would include that in here. You need to go into the configuration.php file and edit

       var $ftp_host = '123.0.0.4';
       var $ftp_port = '21';
       var $ftp_user = 'example';
       var $ftp_pass = 'abc123';
       var $ftp_root = '/public_html';

to include your information under ftp_host, ftp_user, and ftp_pass, and possibly the other variables depending upon your particular situation.

Cody Ham

Changing configuration.php writable directories[edit]

Page heading says tutorial is for 2.5 and 3, but 'writable directory' information was for 1.5, so I updated it.

Both 'Help' and the large capital 'B' say to use three quotes (''') for bold text, but this did not work on that page, but it does on this one!
I also tried <strong>, <b>, and [b] but to no avail.

The descriptions in parentheses (eg Cache Directory) should be bold.

Thank you for the corrections! The methods to bold or style text is suppressed when code falls between tags.
'''This bolding will not work''' because it falls between pre tags. Same would occur between source tags.
But this is bolded. Thanks again for edits. Tom Hutchison (talk) 22:59, 30 December 2014 (CST)