• Resolved artandpiano

    (@artandpiano)


    When I create a local copy of the website to run it on localhost, Simple Lightbox is not working (in further times it worked). I created the copy with Duplicator, and I have the newest Xampp version running (with PHP 7.4.2). I also tried different browsers with no success. Is there a solution to run the lightbox on localhost too?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Archetyped

    (@archetyped)

    Hi, SLB should function normally on a local development environment. Unfortunately, as it is a local site, I cannot evaluate the issue you’re experiencing directly, but here are a few things you can look into:

    • Confirm the site & local server meet SLB’s minimum requirements – If the SLB worked on the live site, then it should be compatible, but it’s always a good idea to confirm this as a first step when troubleshooting.
    • Test with fresh site – Creating a fresh WordPress test site on your local server will confirm whether the server is correctly configured for SLB. Also, site duplicator/migration plugins can sometimes cause issues with plugins due to incomplete URL migration, etc., so if SLB works on the "clean" site, then the issue may be related to the migration.
    • Check for conflicts – Have you made any changes to the local version of the site (even just installing/activating another plugin)? If so, then follow these steps to identify conflicts with other plugins/themes.
    • Reinstall SLB – It may be worth uninstalling and reinstalling SLB directly on the local version of the site following a migration just in case there were any hiccups in the migration process.
    • Check for JavaScript errors – JS errors (even those by other themes/plugins) can stop other scripts (including SLB) on the site from running. Open the Console in your browser’s developer tools and load a page on your local site where SLB should be active and click an image link. Let me know if you see any error messages displayed in the console output.
    • Check for PHP/Server errors – Check the server and PHP error logs of your local server to see if there are any errors related to SLB. Also keep an eye out for any errors that may be stopping the page from fully loading, as SLB’s functionality could be affected if its code is not fully loaded on the page.

    Let me know what you find from the above steps, especially any error messages related to SLB, and I would be glad to take a look.

    Thanks.

    Thread Starter artandpiano

    (@artandpiano)

    Thank you very much for these suggestions. I tested it with a fresh site, and after that I reinstalled once more the original site with the duplicator files – and now it workes (mysteriously?) too.

    Plugin Author Archetyped

    (@archetyped)

    Glad to hear your issue has been resolved ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Simple Lightbox not anymore working on localhost’ is closed to new replies.