Transferring your Pligg site from a local computer to a web server isn't that difficult if you have a guide. Here are some steps to get your site transferred onto a
web host.
- Copy your files over to your web server.
- Make sure that you have the correct CHMOD settings on your web server. You can use /install/troubleshooter.php to quickly check for any CHMOD or other problems.
- Remove the /install directory from your server.
- Edit settings.php lines 2 and 3 to match the location of your site. You will need to change these settings again later in Admin > Configure > Location Installed
- Log in to your localhost phpMyAdmin panel. Usually this is something like http://localhost/phpmyadmin
- Click on your Pligg database table on the left side of phpmyadmin.
- Click on the export tab on the right
- At the bottom of the page click on the zipped option where it says "Compression" then press the "Go" button to generate a zipped archive of your mysql data. Save the file to your desktop.
- Generate a new MySQL database through your hosting provider. See their documents on directions on how to do this, directions differ between hosts.
- Open up /libs/dbconnect.php and edit the database connection details to match the newly generated MySQL database on your web host.
- Open up your hosting providers phpmyadmin area.
- Click on the Import tag on the right. Browse for the zipped file that you downloaded to your desktop. Then click the "Go" button to upload it.
- Navigate to your website. You should see it working at this point. Log in to the Admin panel like you would on your localhost server.
- Go to Admin > Configure > Location Installed and edit the details to match the new location for your site.
This may seem a little overwhelming, but if you follow those directions step-by-step you shouldn't have a problem.