main.js error with Demo on new site

  • Posted in : Empathy
  • martin_ng
    Participant

    Hi there!

    I’m having an issue with running the Demo on new WP installation.
    I’ve tried all possible ways to import with fresh DB every time: https://themes.pixelwars.org/doc/empathy/#sample-data

    Here’s a screenshot of the browser error:
    https://ibb.co/GsF024H
    themes/empathy/js/main.js , line 727

    “path = firstPage.slice(2,firstPage.length);”

    The site is completely new and with no additional plugins enabled except the ones needed from the theme.

    Any help is appreciated.
    Thanks!

    serkan
    Moderator

    Hi, I checked your source code and you are having a mixed content issue.
    Please check out this related topic for fixing the issue;
    https://developers.google.com/web/fundamentals/security/prevent-mixed-content/fixing-mixed-content
    Thanks

    martin_ng
    Participant

    Hi Serkan,

    This is most definitely not a mixed content issue. The site is perfectly SSL secured with no http links anywhere. The browser console also doesn’t have any errors except the one I’ve described in my initial post and nothing mixed content related.
    In addition, there are 0 http:// links when checking from the source, so not sure how you concluded that was the issue.

    This can be also confirmed with various online checkers:

    https://www.missingpadlock.com/
    https://www.crawlcenter.com/mixed-content-checker

    Could you please advise on the JS error in question and what might be causing the Demo to break ?

    serkan
    Moderator

    Hi,
    I will forward this topic to our developer and I will keep you updated.
    Thanks

    martin_ng
    Participant

    Thanks.
    Looking forward for an update.

    martin_ng
    Participant

    Hi there,

    Can I please have an update on this ?

    It’s been 1 week with no progress and I really need to get the demo working and start building the site.

    serkan
    Moderator

    Hi,
    I think that you change the username or password for the wp admin. We tried to login your website but it says wrong password or username.
    Could you please provide me the new details?
    Thanks

    martin_ng
    Participant

    Resent, along with FTP logins as well.

    serkan
    Moderator

    Hi,
    Could you please check out your related website again?
    I just saw that you didn’t import the widgets. I just fixed the issue.
    Thanks

    martin_ng
    Participant

    Hi Serkan,

    Thanks! Looking better now.
    Could you advise on how should the widgets should be imported, are they separate from the Demo import ?

    One thing I noticed is that the Porfolio page isn’t showing the different types of content once you hover on them. And some of the not loading properly.

    Appreciate the work so far!

    serkan
    Moderator

    Hi,
    I just fixed the issues for you. You can start to customize your website now.
    Thanks

    martin_ng
    Participant

    Hi Serkan,

    Thanks! All working properly now.

    Could you just get back to me on the widgets issue, so I know how to sort for potential future sites ?

    Appreciated the support.

    serkan
    Moderator

    Hi,
    I just watched these steps according to the documentation.
    https://themes.pixelwars.org/doc/empathy/#widgets
    https://themes.pixelwars.org/doc/empathy/#portfolio
    Thanks

    martin_ng
    Participant

    Thanks, feel free to close the topic.

    serkan
    Moderator

    You are welcome :) We’d be very happy if you can spare a minute to rate the theme on ThemeForest. Your feedback will boost our motivation and help us to work harder on future updates.

    https://themeforest.net/downloads

    Thank you for your support.

Viewing 15 posts - 1 through 15 (of 15 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register