A method to repair a crippled Joomla! installation


Today, i encountered a problem with a Joomla! 1.0.15 installation: everything seemed to be OK, BUT! the wysiwyg editors’ (i installed more) plugins, and dialogs did not work at all, i could’nt work with them at all. That should’nt be a proble, but my client knows nuts about how to update a web page. The wysiwyg was for him.

Be careful, this is a quiet complicated procedure, always use it as a LAST RESORT. AND BACKUP YOUR DB AND SITE DIRECTORY FIRST!

So, let’s get into the middle of the thing

Very first: Leave your old Joomla! installation as is

  1. create a subfolder in your main site dir and name it “jxcms”. Copy a fresh Joomla! 1.0.15 installation in this new folder.
  2. start the installation of the new Joomla!.
  3. install it into the same DB, but with different table prefix.
  4. when the installation is complete, delete the “/installation” folder.
  5. Log in into the newly installed Joomla! backend, go to Site > Global Configuration – Database tab, and replace the MySQL Database Prefix field value with your old Joomla’s table prefix.
  6. compare all directories between the old and new joomla! installation and copy all extra files from your old joomla! installation to the new. DO NOT OVERWRITE ANYTHING!
  7. When finished, back up your old joomla! installation, but leave files there.
  8. Copy all the files from your new joomla! instrallation to the old one and NOW OVERWRITE EVERYTHING.
  9. Open your configuration.php and update the following:
    a:)
    $mosConfig_absolute_path = ‘yoursitemaindir/jxcms’
    to
    $mosConfig_absolute_path = ‘yoursitemaindir’;
    b:)
    $mosConfig_cachepath = ‘yoursitemaindir/jxcms/cache’;
    to
    $mosConfig_cachepath = ‘yoursitemaindir/cache’;
    c:)
    $mosConfig_live_site = ‘http://yoursitename/jxcms‘;
    to
    $mosConfig_live_site = ‘http://yoursitename‘;
  10. If you wish, delete the new installation directory and the extra db tables.

And that’s it, now everything must work fine with your site.

15 thoughts on “A method to repair a crippled Joomla! installation

  1. I have found a webhost review site with top 5 ratings. I wonder if they provide good hosting?
    If anyone has heard anything negative about these host please let me know. Here is the site.
    [url=http://forums.cnet.com/5208-6616_102-0.html?threadID=343397&tag=forums06;forum-threads]webhosting[/url]

    • To: Bodyc

      Thanks for your suggestion. Here it is: you can now bookmark it almost anywhere you wish. Just click the Bookmark it link and you’ll get a big stack of social bookmark site links.

Leave a Reply

Your email address will not be published. Required fields are marked *

Meet the challenge * Time limit is exhausted. Please reload CAPTCHA.