Okay
  Public Ticket #2911044
Unable to update Amelia from WP dashboard on localhost
Closed

Comments

  •  2
    Richard started the conversation

    Hello,

    I'm wondering why I'm no longer able to update Amelia from WP dashboard on a local server (it's only possible on a live server). Can you try to replicate the issue?

    Thank you,

    Richard

  • [deleted] replied

    Hi Richard!

    Thank you for reaching out to us!

    Which error is coming up?

    Please download the full version from the email you received when you purchased the plugin (some hostings treat it as Spam, so please check your Spam folder as well). Also, you received an email with credentials for our store https://store.tms-plugins.com/login where you can download the full version from.

    My suggestion is to update the plugin manually by following these steps:

    1.) Download zip from our store or from the email you received when you purchased the plugin

    2.) Use FTP to open /yourwordpressfolder/wp-content/plugins

    3.) Delete existing ameliabooking folder.

    4.) Upload the previously downloaded ameliabooking folder through FTP into "plugins" folder (unzip it)

    5.)  Go to WP-admin panel, open Plugins section.

    6.) Deactivate Amelia Plugin, and then activate it again.

    7.) Clear server and browser cache

    ____________________________________________________________________________________________

    If you are on hosting where you are not allowed to access your FTP, then follow these instructions:

    Please note that after you delete the plugin from your Plugins section, you WILL NOT lose your data.

    1.) Download zip from our store or from the email you received when you purchased the plugin

    2.) Delete Amelia plugin from WordPress' Plugins page

    3) Click on Add new in top left of your Plugins page

    4) Click on Upload plugin in top left of your Plugins page

    5.) Choose the previously downloaded ameliabooking.zip file

    6.) When uploading is done, please Activate Amelia plugin

    7.) Clear server and browser cache.

    Please note that our plugin is around 8 MB in size, so if you are not able to upload it through WordPress plugins page, you will need to increase the following:

    upload_max_file size, 

    post_max_size,

    max_execution_time

    You should be able to find these values in your php.ini file or on your hosting panel. If you can't find it yourself please ask your hosting provider to provide it.


  •  2
    Richard replied

    Hi Ivana,

    I think you misunderstood my query. When I go to "Updates" on a live site, the plugin is available for update. But on a localhost, there's no such option - Amelia is not showing up under "Plugins" to be updated.

    Regards,

    Richard

  • [deleted] replied

    Hi Richard

    Can you please check if Amelia is activated on your localhost? If the licence is not activated it wouldn't pick up that there is a new update available.

    7960613082.png


  •  2
    Richard replied

    Hi Blazenka,

    Yes, the licence code is in and saved.

    Cheers,

    Richard

  • [deleted] replied

    Hi Richard,

    thank you for letting us know.

    In that case please provide me a temporary WP-admin (administrator) user for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue. 

    We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course, we do not provide login data to third parties. 

    You can write credentials here just check PRIVATE Reply so nobody can see them except us.

  •  2
    Richard replied

    Hi Ivana,

    It's happening on a localhost.

  • [deleted] replied

    Hi Richard,

    My bad, I apologize; can you clone your website instead?

    If yes - I'll ask you to install the Duplicator plugin. It will generate a couple of files that you can send me (along with the log-in credentials), and then I can create an exact copy of your website, see what the issue is and try to resolve it.

    The Duplicator plugin can export only up to 500MB of data, so if your site is bigger than that, please use the All-in-One WP Migration plugin.

    Please note that the files will be too large to attach to the ticket, so you can upload them via wetransfer.com and just send me the link.

  •  2
    Richard replied

    Hi Ivana,

    Is it OK to send you a copy of the website even though Amelia has already been manually updated to the latest version? Would you be able to investigate?

    Thanks,

    Richard

  •  2,572
    Aleksandar replied

    Hey Richard

    Sorry for the late response. Our team is cut in half due to Covid-19 infections, so our response times are longer than usual. Thank you for your patience!

    We wouldn't be able to replicate the issue locally. When I activate a purchase code locally, I am able to see the update being offered, but on some installations, WordPress requires the plugin to be deactivated first in order to see the update. Did you try that?

    When we release a new version please try that, and let me know if it works.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •  2
    Richard replied

    Hi Aleksandar,

    Will try that, thanks.

    Richard

  •  2,572
    Aleksandar replied

    You're welcome, Richard, thank you!

    If you have any further questions or issues, please feel free to open a new ticket, and we'll gladly help.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •  2
    Richard replied

    Hi Aleksandar,

    I can see the new Amelia version available to be updated now but I can't do it. I installed a fresh WP site, installed and activated the plugin in a usual way and tried to activate it under "Activation Settings" but the system tells me the purchase code is invalid or has expired. It's weird because I bought a lifetime licence. I'll send you a screenshot in a separate private message.

    Cheers,

    Richard

  •   Richard replied privately
  •  2,572
    Aleksandar replied

    Hey Richard

    This could be an issue with the SSL certificate.

    Are you maybe using Let's Encrypt for an SSL certificate? If you are, please update it because their certificate expired on the 1st of October, 2021.

    Reach out to your hosting provider, and ask them to update the certificate. Even though the certificate could say that it's valid until 2022, or 2023, please check Let's Encrypt's official notice about this change.

    To bypass this, you can go to file ../wp-content/ameliabooking/src/Application/Commands/Activation/ActivatePluginCommandHandler.php and on line 51 you'll see this:

    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

    Below that line, add this:

    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
    

    And it will bypass the SSL issue, and activate the license. 

    Please note, though, that if you migrate the site in the future, and the SSL certificate is not updated, you'll need to add this line again.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •  2
    Richard replied

    Hi Aleksandar,

    No, I'm not using Let's Encrypt but it happened on localhost without an SSL cert. The line of code you had provided has helped - thanks Aleksandar.

    Best regards,

    Richard

  •  2,572
    Aleksandar replied

    You're welcome, Richard

    I'm glad to hear the issue has been resolved.

    This is a known issue, and our developers are working on resolving it for one of our future updates.

    Please let us know if you have any further questions.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables