A couple tips for administrators of Contribute 3 content management systems:
- If you lose your site administrator password, Macromedia/Adobe tells you some lies about having to wipe out all the Contribute settings on your server. This is not at all true. Do this to reset the password without wiping out your settings:
- in the document root of your server, there will be a _mm directory. In that directory, find a file called something like cthub[a bunch of numbers].csi. This is the file that stores your Contribute site settings.
- Make a copy of the cthub[…].csi file, so you can restore it if you mess something up.
- Edit the file with a text editor (it’s just an XML file), and change the admin_password and admin_password_salt values to empty strings, like so:
<admin_password value=” />
<admin_password_salt value=” />
Now you can make a new connection to the site and make yourself part of the Administrator role without having to enter a password. You’ll want to set up a new password under Administer Website » Administration, though, and Contribute will complain if you don’t, so listen to it.
Is Contribute not accepting your SFTP username and password, even though it works fine in other programs? It might be a weird issue with sshd that I only recently came across, and solved thanks to a blog post at altbit.org. It seems that Contribute will not work if PasswordAuthentication no is set in the sshd_config file on your server, even if UsePAM yes is enabled. So, you must enable PasswordAuthentication for Contribute to connect. Fruity.