wesleyw Posted June 4, 2009 Posted June 4, 2009 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
wesleyw Posted June 4, 2009 Author Posted June 4, 2009 I get the following: Message: Object expected Line: 494 Char: 1 Code: 0 URI: http://www.-------------.sch.uk/administrator/index.php?option=com_content What is going on? Wes
wesleyw Posted June 4, 2009 Author Posted June 4, 2009 (edited) Sorry, website is now live but these issues are a bit of a nightmare. Edited June 4, 2009 by wesleyw
mossj Posted June 4, 2009 Posted June 4, 2009 No bump, have you edited the config file to reflect the change?
wesleyw Posted June 4, 2009 Author Posted June 4, 2009 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
mossj Posted June 4, 2009 Posted June 4, 2009 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?
wesleyw Posted June 4, 2009 Author Posted June 4, 2009 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
farmeunit Posted June 4, 2009 Posted June 4, 2009 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.
wesleyw Posted June 4, 2009 Author Posted June 4, 2009 Right most of it is now put right thankfully! Wes
mossj Posted June 4, 2009 Posted June 4, 2009 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..
beeswax Posted June 4, 2009 Posted June 4, 2009 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.
daboroe Posted June 4, 2009 Posted June 4, 2009 Hey guys...I am on the JP Team. I was just reading though this and going to recommentd joomla pack for ur issues.
mossj Posted June 4, 2009 Posted June 4, 2009 (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 June 4, 2009 by mossj
farmeunit Posted June 4, 2009 Posted June 4, 2009 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.
mossj Posted June 5, 2009 Posted June 5, 2009 (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 June 5, 2009 by mossj
daboroe Posted June 5, 2009 Posted June 5, 2009 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now