Report this

What is the reason for this report?

jQuery issue with website after migration to digital ocean

Posted on December 3, 2020

Hello,

So after migrating to digital ocean I have some issues with my website that was not present before, my website is e-commerce the problem is that whenever I try to list a new product it gets created but it’s not showing up in the homepage I tried inspect with chrome and I got a bunch of errors, some of them are jquery errors that was not present before, did I miss something that I need to install on the droplet?

you can see screenshot of the inspect errors here



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello srrefha.

The message ‘$ is not defined’ makes me think that maybe the jQuery library is not loading correctly.

You can use the “View page source” option of the browser to access the ‘script’ tag that the jQuery library loads and thus verify if the link in that tag is valid and the jQuery JavaScript code is displayed.

Do you have a public link to your website that I can access to better analyze it?

Greetings.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.