+ Reply to Thread
Page 1 of 9 123 ... LastLast
Results 1 to 10 of 85

Thread: Version Upgrade

  1. #1

    Post Version Upgrade

    Hi there,

    Even though you have the ability to update your site yourself using patches provided by Flynax, updating is not an easy task because in case of a failure you might lose or break your site, and if you're not sure you can update your site without any problems we recommend asking Flynax to help with updating.

    NOTE: we also recommend reading through all new features in an update to make sure you really need them. If you have a heavily customized site we advise against updating your site because you might lose more time and money on updating than on supporting your site.

    If you made up your mind to update the site yourself then please follow every point of the guide below:

    IMPORTANT! Make a full back-up of your site and database before updating so you could quickly and easily restore your site in case of a failure. We don't assume any responsibility for updating issues arising from poor updating procedures.

    1. Go to www.flynax.com site and log in to your Customer Area.
    2. Go to the Download page and click on the Patches tab.
    3. Select a patch and click the Download link.
    4. After downloading the patch archive to your MAC/PC make sure it looks like FLXXXXXXXXXX_vX.X.X_to_vX.X.X.zip or with Escort prefix if you're updating an escort site. The patch is made up of files and SQL file for updating the database (sql_update.sql).
    5. Go to the Admin Panel > Database and click the "Import" button (top left corner) > select the SQL file from the patch main folder: sql_update.sql, and click the GO button.
    You also can apply the SQL update through a database manager like phpmyadmin by replacing {sql_prefix} with the correct SQL prefix used in your database.
    6. Unzip all files and copy each file to a corresponding directory on your server. Remember! You should copy files of your template only from /templates/ directory in the patch.
    You can upload files to your site using an FTP manager or cPanel File Manager; whatever you choose please make sure that files from the patch will overwrite existing site files. All changes made to these files will be lost after rewriting them with patch files.

    NOTE: If your site was customized you'll have to compare and merge new files with custom files (located on the server) before uploading new files to the server. The same procedures must be applied to customized template files.

    NOTE: If your admin directory is not 'admin' please rename the admin directory in the patch to your custom name before uploading the patch.
    NOTE: If your language code is not 'en' please open sql_update.sql and replace 'en' with the proper language code.
    NOTE: If you have more than one language you will have to compare languages and copy newly added phrases to other languages after applying the patch.
    NOTE: If you want to update your site to the latest version and your current version is a few updates behind, then you'll need to apply every update consequently from older to newer version until you update your site to the latest version, for instance: from 4.1 to 4.2 then from 4.2 to 4.3 etc.


    Special Note for upgrading from 4.5.1 to 4.5.2: You have to do the following change when updating your site to make it work (you can also find it in README FILE)
    Open the README file and find the code that looks like this:
    define('RL_SETUP', 'ARANDOMSETOFNUMBERSANDCHARACTERS=');
    Paste it to the includes/config.inc.php to the bottom of the file.


    Updating is over! You can open your site and test its functionality.
    If you get any problems after or during updating feel free to contact us.
    Last edited by David; June 25, 2021 at 08:33 AM.

  2. #2
    Guru
    Join Date
    Jan 2013
    Location
    Australia
    Posts
    2,028
    Thank you Mike for the guide, It Would be nice to see a you tube video of this process, also what procedure would you take if you wanted to just do a complete fresh install and start from scratch ?

    thanks
    Pete

  3. #3
    Junior Member
    Join Date
    Feb 2016
    Posts
    27
    What a patch I see nothing with me

  4. #4
    Hi Mike, I have successfully updated to v4.5, but I found some menu is missing. For example: the membership plan under monetarization in admincp? I checked on the demo is it there but not on my site. How do I fix it?

  5. #5
    Quote Originally Posted by Pete Young View Post
    Thank you Mike for the guide, It Would be nice to see a you tube video of this process, also what procedure would you take if you wanted to just do a complete fresh install and start from scratch ?

    thanks
    Pete
    OK, we will record a video soon, however process may be different on different servers.

  6. #6
    Quote Originally Posted by Heiko Senska View Post
    What a patch I see nothing with me
    Patches are in your flynax.com account area -> downloads -> patches.

  7. #7
    Quote Originally Posted by Wei Hong View Post
    Hi Mike, I have successfully updated to v4.5, but I found some menu is missing. For example: the membership plan under monetarization in admincp? I checked on the demo is it there but not on my site. How do I fix it?
    Please note patch contains phrases only for English language. If you have more than one language you have to Compare Languages in Admin Panel>Languages; It will copy newly added phrases to other languages.
    Maybe this is your issue.

    If your language code is not 'en' (sometimes after translation code still 'en' but languages is different) you have to replace 'en' with the right language code before applying patch, or after applying patch in the database->lang_keys table.

  8. #8
    Quote Originally Posted by Mike F. View Post
    Please note patch contains phrases only for English language. If you have more than one language you have to Compare Languages in Admin Panel>Languages; It will copy newly added phrases to other languages.
    Maybe this is your issue.

    If your language code is not 'en' (sometimes after translation code still 'en' but languages is different) you have to replace 'en' with the right language code before applying patch, or after applying patch in the database->lang_keys table.
    Oh I have English language, but the code is 'us' not 'en', is that the reason why I have blank phrase? So you recommend me to redownload the sql patch and change the 'en' to 'us' then import it again? And similarly to another language? But how about the options membership plan missing from monetization section? Is it because of the language key as well?
    Thanks for enlightening me

  9. #9
    Quote Originally Posted by Wei Hong View Post
    Oh I have English language, but the code is 'us' not 'en', is that the reason why I have blank phrase? So you recommend me to redownload the sql patch and change the 'en' to 'us' then import it again? And similarly to another language? But how about the options membership plan missing from monetization section? Is it because of the language key as well?
    Thanks for enlightening me
    Yes you have to download patch and replace lang code with us, but import only language related data.

    Please don't run other sql queries, only those that related to lang_keys table.

  10. #10
    For those who have sql problem during upgrading to 4.5 version

    Code:
    Only registered members can view the code.
    you can use attached file to complete database patching.
    Attached Files Attached Files
    Last edited by Mike; April 28, 2016 at 09:10 AM.

+ Reply to Thread