How to Upgrade to FeedSync 3.0
Getting Started
FeedSync 3.0 now includes an update system so this should be the last time you need to manually update FeedSync when you have a valid and active license key set.
Upgrading FeedSync should only take you a couple minutes. During this upgrade we are going to do the following:
- Download the latest version of FeedSync and unzip it on your computer.
- Pause your WP All Imports.
- Backup your current version.
- Transfer the new core directory and index.php file.
- Create upgrades folder.
- Open FeedSync so it can load settings from the previous version and test your output URL.
- Update the config file with your username and password.
- Re enable your the WP All Imports.
Pause your imports
If you are using WP All Import Pro to import your listings into WordPress you can quickly disable all your imports from running by changing your secret key from WordPress by adding DISABLED- to the key which we will later remove. No need to log into the server and edit your cron jobs.
Visit Dashboard > All Import > Settings and insert DISABLED- before the secret key.
Backup FeedSync
Login to your cPanel or hosting system file manager and navigate to your XML directory. and select the feedsync folder and press Compress to generate a zip file of your current version.
Export all your listings
Its a good idea to backup the database by exporting all the listings to a REAXML file. Do this by visiting FeedSync > Export
Prepare the Upload the new files
On your computer open the feedsync directory and rename the index.php to index-new.php also rename the core directory to core-new and Zip/Compress that directory ready for upload.
Note: its much faster to upload a single zip file and uncompress it on the server then using FTP as there are a lot of new files.
Upload your files
From the hosting/cPanel file manager enter the feedsync directory and press upload. Upload the index-new.php, config-sample.php and the core-new.zip file into the feedsync directory.
Once uploaded reload the page and you'll see the new files. Now Extract the core-new.zip file and Reload the page.
Rename files and folder
Rename the core directory to core-old and index.php to index-old.php
Then rename core-new to core and index-new.php to index.php
Now you can visit your FeedSync installation from your browser and you will be greeted with the login username password page.
IMPORTANT: Create a upgrades folder
In order to be able to use the nifty automatic update feature in 3.0 you need to create a folder called upgrades in the feedsync directory.
Configure your username and password
When you open FeedSync for the first time after performing the upgrade it will copy all the settings from your config.php file and store them in the options database so you no longer need to edit the config.php for most settings. The new config-sample.php file is a lot simpler now and you can either use the new one, be sure to copy the database settings before you do.
In this example we are just going to add the username and password settings to your existing config.php file.
Edit your config.php file in the Hosting/cPanel file manager and insert the following lines.
/** username to access feedsync */ define('FEEDSYNC_ADMIN', 'your_new_username' ); /** username to access feedsync */ define('FEEDSYNC_PASS', 'your_new_password' ); /** Set to true to enable listing database reset and selecting and deleting entries */ define('FEEDSYNC_RESET', false );
Set the username and password.
If you forget what they are in the future, open the config.php file and you will see. The default is admin/password.
Confirm that your output url is working
Next visit the FeedSync > Help page and copy the output url and paste into your browser so check that the data is there. Using Google Chrome displays a nicely formatted XML file.
http://your_url.com.au/feedsync/?action=do_output&type=residential
Enable your Imports
Last step is to remove the DISABLED- from the Dashboard > All Import > Settings in WordPress.
If you have any issues with your upgrade, let us know at support.