LINK UP GOLD Update From Version 3.x to Version 4.0
1. Intro
2. Step 1 Approve or reject
3. Step 2 Create a database backup by using phpMyAdmin.
4. Step 3
5. Step 4
6. Step 5
7. Step 6 Upload files like when you were install it as a first time installation
8. Step 7 file update.php
9. Step 8 Once all steps have been done
10. Step 9 go to administration => configuration
11. Step 10 Go to reset/rebuild to run these functions
12. Step 11 Now all should be working
13. Step 12 If all works fine, you can
14. IF SOMETHING GOES WRONG

1. Intro
1.1 Before Starting
1.1.1 This update will work only if you already have version 3.0, 3.05, 3.1 or 3.11.
1.1.2 If you use an older version, update to the version 3.X first.
1.1.3 Read this info very carefully, you may loss data if you'll not do it.
1.1.4 This version of Link Up Gold needs mysql database version 4.0 or higher.
1.2 Impact
1.2.1 This update removes all admins but admins for individual categories.
1.2.2 It also creates a new admin with all rights, username/password admin1/admin1.
1.2.3 The records of advertisers and normal users are spliced to a single table.It's unfortunately impossible to keep passwords of advertisers. For this reason it uses the first 15 characters from their emails as their new passwords.

2. Step 1 Approve or reject
2.1 unapproved links
2.2 unapproved articles
2.3 unapproved advertising links

3. Step 2 Create a database backup by using phpMyAdmin.
3.1 Save structures of all tables as well as data. Click on the little icon on the right!
See related topics and documents
3.2 Download the backup file to your home/office computer.

4. Step 3
4.1 Download complete folder "data" from your server.

5. Step 4
5.1 If you modified templates, download also folder "styles".

6. Step 5
6.1 Delete all PHP files in main and administration directories.

7. Step 6 Upload files like when you were install it as a first time installation
7.1 Do Not Upload
7.1.1 Do not upload file data/data_forms.php.
7.1.2 Do not upload setup.php.
7.2 Set permissions for directories and files
7.2.1 CHMOD 777
- messages directory (it's inside "styles/_common" directory)
- e-mail_templates directory (it's inside "styles/_common" directory)
folder articles inside "images directory"
all directories "templates" (some may be found in subfolders of folder "styles")
7.2.2 CMOD 755
- images directory
7.2.3 CHMOD 666
- all files in the "messages" directory (it's inside "styles/_common" directory)
- all files in "email_templates" directory (it's inside "styles/_common" directory)
- all files in "templates" directories (these may be found in some sub folders of folder "styles")

8. Step 7 file update.php
8.1 Upload it to your main directory
8.2 Run It!

9. Step 8 Once all steps have been done
9.1 delete file update.php from the server

10. Step 9 go to administration => configuration
10.1 Check out and enter values in empty fields
10.2 Hit submit button below the form (even if you did not change any value)
10.3 Go to configuration of submit forms, there are some new options.
10.4 If you use the rewrite option of the HTML Plugin, take new commands and use them in your .htaccess file.

11. Step 10 Go to reset/rebuild to run these functions
11.1 - Repair path for links in category - all categories
11.2 Repair path for articles in category - all categories
11.3 Recount all links in category - all categories
11.4 Recount all articles in category - all categories
11.5 Daily job

12. Step 11 Now all should be working
12.1 check out your public
12.2 check out admin pages.

13. Step 12 If all works fine, you can
13.1 delete the backup files

14. IF SOMETHING GOES WRONG
14.1 Create a screenshot of the error you received when running the update script or copy the error message to a text file. Save this image or text to a file
14.2 Delete update.php
14.3 Go to phpMyAdmin,
14.3.1 delete all tables
14.3.2 restore the old data from the backup you created before the update
14.4 Send us
14.4.1 the file where we can see the error you received
14.4.2 the database backup file you have
14.5 We will
14.5.1 advice you
14.5.2 or update the database for you on our server.