Jump to content

Recommended Posts

Posted

Just moving my site over from the testing folder to the root however when I do so none of the apply, save, close buttons work in administrator mode?

 

 

Wes

Posted

Yes new db name,passwd and user but the site itself works okay there are a few absolute paths for some reason but thats okay really its the fact I can't add delete or change articles, modules or components settings and details that is proving to be a step too far. Worst case scenario I recreate the entire site and copy the articles, components, modules and plugins manually.

 

 

Wes

Posted
Yes new db name,passwd and user but the site itself works okay there are a few absolute paths for some reason but thats okay really its the fact I can't add delete or change articles, modules or components settings and details that is proving to be a step too far. Worst case scenario I recreate the entire site and copy the articles, components, modules and plugins manually.

 

 

Wes

 

So you changed the absolutepaths in the config file?

Posted

Yep then changed it back when it didn't work? I've just removed the entire site and copied back whilst removing everythign else in the folder and now it seems to be working at the administrators side but I'll get back with word either way. Certain areas still have absolute paths but I'll see what happens now.

 

Wes

Posted

I use JoomlaPack when moving Joomla installs. It basically ZIP's your install into a file you download and upload to new site, then run through install just like it's new. Take care of the config for you.

 

Welcome to JoomlaPack

 

Maybe a few files didn't get transferred the first time you copied. I used to have a problem with SmartFTP dropping files every time I FTP'd a lot of information. Maybe something similar. Hope you got your problem fixed.

Posted
Right most of it is now put right thankfully!

 

Wes

 

What do you mean most of it? its easy as pie to move to root from a directory and it shouldn't break anything (as long as you didn't manually link using the full path)

 

You can use Joompack or do it manually... but either way..

Posted
I use JoomlaPack when moving Joomla installs. It basically ZIP's your install into a file you download and upload to new site, then run through install just like it's new. Take care of the config for you.

 

Welcome to JoomlaPack

 

Maybe a few files didn't get transferred the first time you copied. I used to have a problem with SmartFTP dropping files every time I FTP'd a lot of information. Maybe something similar. Hope you got your problem fixed.

 

another vote for JoomlaPack here, couldn't have been easier to transfer a site without paying someone else to do it for me.

Posted (edited)

daboroe, why are you recommending Joompack. It is very good but if he is not moving servers/Databases it could be very simple to do manually.

 

1) Delete all files on root, except your test folder

 

2) Cut all files from the test folder and paste into root (as it is a cut operation it takes 10 seconds or less)

 

3) Open config file in favorite text editor and edit the things needed (base URL, and paths)

 

4) Test and sit back. Takes less time and provides a better understanding of how Joomla and its file structure works.

 

This is the way I have done it on all my sites....

Edited by mossj
Posted
Recommending something isn't the same as saying you HAVE to use it. It's just an option and he might not have known about it. I like it because you don't have to edit any files. Just install like you would a fresh install of Joomla. No databases to worry about either. All in one package. In this case, might not need it. In another, you might.
Posted (edited)

It would only be removing the /example from the places in red.

<?php

class JConfig {

var $offline = '0';

var $editor = 'tinymce';

var $list_limit = '20';

var $helpurl = 'http://help.joomla.org';

var $debug = '0';

var $debug_lang = '0';

var $sef = '1';

var $sef_rewrite = '1';

var $sef_suffix = '0';

var $feed_limit = '10';

var $feed_email = 'author';

var $secret = '4gbQSovy9x9geiFA';

var $gzip = '0';

var $error_reporting = '-1';

var $xmlrpc_server = '1';

var $log_path = '/var/www/vhosts/*SCHOOL*/httpdocs/example/log/';

var $tmp_path = '/var/www/vhosts/*SCHOOL*/httpdocs/example/tmp/';

var $live_site = 'http://www.*domain*.org.uk/example';

var $force_ssl = '0';

var $offset = '0';

var $caching = '0';

var $cachetime = '15';

var $cache_handler = 'file';

var $memcache_settings = array();

var $ftp_enable = '1';

var $ftp_host = '*FTPHOST*';

var $ftp_port = '21';

var $ftp_user = '*username*';

var $ftp_pass = '*password*';

var $ftp_root = '/httpdocs/example/';

var $dbtype = 'mysql';

var $host = 'MYSQLDB';

var $user = '*user*';

var $db = '*Database*';

var $dbprefix = 'jos_';

var $mailer = 'smtp';

var $mailfrom = '*email*';

var $fromname = '*fromname*';

var $sendmail = '/usr/sbin/sendmail';

var $smtpauth = '1';

var $smtpuser = '*smtpuser*';

var $smtppass = '*smtppass*';

var $smtphost = 'IP';

var $MetaAuthor = '1';

var $MetaTitle = '1';

var $lifetime = '30';

var $session_handler = 'database';

var $password = '*Password*';

var $sitename = '*sitename*';

var $MetaDesc = '*MetaDesc*';

var $MetaKeys = '*MetaKeys*';

var $offline_message = 'This site is down for maintenance. Please check back again soon.';

}

?>

If it doesn't work make sure you paths are correct by using a path.php.....

 

Path.php

  echo getcwd();
?>

 

Just Place it in the root and go visit that page and it will give you the full path to the root.

Edited by mossj
Posted
daboroe, why are you recommending Joompack. It is very good but if he is not moving servers/Databases it could be very simple to do manually.

 

1) Delete all files on root, except your test folder

 

2) Cut all files from the test folder and paste into root (as it is a cut operation it takes 10 seconds or less)

 

3) Open config file in favorite text editor and edit the things needed (base URL, and paths)

 

4) Test and sit back. Takes less time and provides a better understanding of how Joomla and its file structure works.

 

This is the way I have done it on all my sites....

 

 

sorry i was tired when i made that post. joomla pack is good for moving anything. if you are just moving directories it is still nice.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...